Skip to contentSkip to conversation

Compile error in kernel 2.2.21-rc2

DISCUSSION Eric H 2 participants 2 messages Mar 28, 2002

lore
Share & tools
lore

Eric H

author
#0 lore raw

I receive the following error while trying to compile kernel 2.2.21-rc2 using gcc 2.96 (RedHat 7.2)
...
drivers/scsi/scsi.a(aic7xxx.o): In function `aic7xxx_load_seeprom':
aic7xxx.o(.text+0x1166f): undefined reference to `memcpy'
make: *** [vmlinux] Error 1

I've attached my .config file

Eric Hokanson

#1 lore raw
Quoted 6 lines

I receive the following error while trying to compile kernel 2.2.21-rc2 using gcc 2.96 (RedHat 7.2)
...
drivers/scsi/scsi.a(aic7xxx.o): In function `aic7xxx_load_seeprom':
aic7xxx.o(.text+0x1166f): undefined reference to `memcpy'
make: *** [vmlinux] Error 1

Please don't use gcc 2.96/gcc 3.0/3.1 snapshots to build 2.2 kernels. The kernel tree contains some assumptions that dont work with the newer compilers