Messages in this thread | | | From | Keith Owens <> | Subject | Re: scsi_lib.c undefined symbol | Date | Mon, 03 Sep 2001 14:49:26 +1000 |
| |
On Mon, 03 Sep 2001 00:19:17 -0400, Adam Schrotenboer <ajschrotenboer@lycosmail.com> wrote: >I have gotten this a couple times w/ other versions of the kernel, but >this is 2.4.9-ac6. (2.4.8-ac12 worked, but that may be a fluke) > >gcc -D__KERNEL__ -I/mnt/hda3/kernel/2.4.9-ac6/linux/include -Wall >-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer >-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 >-march=athlon -DMODULE -DMODVERSIONS -include >/mnt/hda3/kernel/2.4.9-ac6/linux/include/linux/modversions.h -c -o >scsi_lib.o scsi_lib.c >scsi_lib.c: In function `__scsi_end_request': >scsi_lib.c:379: `queued_sectors_Rc37b18c1' undeclared (first use in this >function)
It works for me on 2.4.9-ac6 using your .config. I am using egcs-2.91.66 which does not support -march=athlon so I get different compiler flags, which compiler are you using? There is no obvious reason for this error, genksyms should pick up the same cflags as the compile.
I need 'fgrep queued_sectors include/linux/modules/*'. Also cd drivers/scsi gcc -D__KERNEL__ -I/mnt/hda3/kernel/2.4.9-ac6/linux/include -Wall \ -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer \ -fno-strict-aliasing -fno-common -pipe \ -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS \ -include /mnt/hda3/kernel/2.4.9-ac6/linux/include/linux/modversions.h \ -c -E -o scsi_lib.i scsi_lib.c Send me scsi_lib.i.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |