1.3.8 "make modules" error

linuxsys@ssg.com
Mon, 10 Jul 1995 13:47:11 GMT


While doing a build of the 1.3.x tree to 1.3.8 (from linux-1.3.3 plus
patches) I ran into this while doing make modules:
make[2]: Entering directory `/usr/src/linux-1.3.3/drivers/scsi'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486 -DMODULE -c sr.c
sr.c: In function `cleanup_module':
sr.c:1120: warning: unused variable `i'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486 -DMODULE -c sr_ioctl.c
ld -m elf_i386 -r -o sr_mod.o sr.o sr_ioctl.o
ld: No such file or directory for elf_i386
make[2]: *** [sr_mod.o] Error 1
make[2]: Leaving directory `/usr/src/linux-1.3.3/drivers/scsi'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-1.3.3/drivers'
make: *** [modules] Error 2

I'm not using ELF and only enabled ELF support but not the ELF compile
option. I'm using gcc 2.5.8 which may have a bearing on this issue.

Also, looking back through the log I found:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486 -DMODULE -c arcnet.c
arcnet.c: In function `arcnet_rx':
arcnet.c:1531: warning: `skb' may be used uninitialized in this function
arcnet.c:1607: warning: `skb' may be used uninitialized in this function
arcnet.c:1747: warning: `skb' may be used uninitialized in this function
arcnet.c:1798: warning: `skb' may be used uninitialized in this function
arcnet.c:1798: warning: `skb' may be used uninitialized in this function

I don't have arcnet enabled in the config file; why is this compiling?

Rick