[TriLUG] problem compiling 2.4.13 with ext3 patch

rpjday rpjday at mindspring.com
Thu Nov 1 12:04:49 EST 2001


  i'm hoping there's a few kernel experts here who might identify
what went wrong with the following.

  * unloaded clean 2.4.13 kernel source
  * added ext3 patch
  * copied i686 config from original red hat source to .config
  * ran "make oldconfig", said no to everything new
  * make dep clean bzImage

that worked fine, got me a new bzImage, then ...

  * make modules

...
make -C scsi modules
make[2]: Entering directory `/usr/src/linux/drivers/scsi'
ld -m elf_i386 -r -o scsi_mod.o scsi.o hosts.o scsi_ioctl.o constants.o scsicam.o scsi_proc.o scsi_error.o scsi_obsolete.o scsi_queue.o scsi_lib.o scsi_merge.o scsi_dma.o scsi_scan.o scsi_syms.o
ld -m elf_i386 -r -o initio.o ini9100u.o i91uscsi.o
ld -m elf_i386 -r -o a100u2w.o inia100.o i60uscsi.o
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h   -c -o cpqfcTSinit.o cpqfcTSinit.c
cpqfcTSinit.c: In function `cpqfcTS_ioctl':
cpqfcTSinit.c:663: `SCSI_IOCTL_FC_TARGET_ADDRESS' undeclared (first use in this function)
cpqfcTSinit.c:663: (Each undeclared identifier is reported only once
cpqfcTSinit.c:663: for each function it appears in.)
cpqfcTSinit.c:681: `SCSI_IOCTL_FC_TDR' undeclared (first use in this function)
make[2]: *** [cpqfcTSinit.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2


  all of this is on a dell inspiron 8100, for which there is little need
for SCSI support, naturally, but i wanted to do an initial build just to
make sure it worked before starting to tweak.

  anyone know what's happening in the above?  if not, i'll go farther
afield in the red hat mailing lists.  thanks.


rday




More information about the TriLUG mailing list