On 17 Oct 2001, Mahesh Gharat wrote:
make[2]: *** [dummy.o] Error 1
make[2]: Leaving directory '/usr/src/linux-2.4.2/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory '/usr/src/linux-2.4.2/drivers'
make: *** [_mod_drivers] Error 2
The error might come from the C compiler. Try to build the dummy
module with gcc, something like (lenght of lines adjusted):
gcc -D__KERNEL__ -I/usr/src/linux-2.4.10/include -Wall \
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer \
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 \
-march=i686 -DMODULE -c -o dummy.o dummy.c
from /usr/src/linux and see what errors you get.
Pablo.
----------------------------------------------------------------------
Pablo Ares Gastesi. School of Mathematics, TIFR,
Mumbai 400 005, INDIA i Phone: 2152971, ext 2666
pablo(a)math.tifr.res.in
http://www.math.tifr.res.in/~pablo/
Key fingerprint = 1A 7C 0A 22 5A 75 A4 78 62 6F 64 09 C1 A0 F7 E6
----------------------------------------------------------------------