compilation error: 2.4.18-rc2-ac1
I received the following compilation error when building 2.4.18-rc2-ac1 under Red Hat 7.2 on a dead ordinary i686 system (during "make modules") - hope this is useful!
I have previously built 2.4.18-pre9-ac3 successfully, with the same config (ie only doing "make oldconfig").
--------------------------
make -C scsi modules
make[2]: Entering directory `/home/alastair/linux-2.4/drivers/scsi' gcc -D__KERNEL__ -I/home/alastair/linux-2.4/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 /home/alastair/linux-2.4/include/linux/modversions.h -DKBUILD_BASENAME=scsi -c -o scsi.o scsi.c
In file included from /home/alastair/linux-2.4/include/linux/modversions.h:144,
from scsi.c:1:
/home/alastair/linux-2.4/include/linux/modules/journal.ver:33:22: warning:
ISO C requires whitespace after the macro name
gcc -D__KERNEL__ -I/home/alastair/linux-2.4/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 /home/alastair/linux-2.4/include/linux/modversions.h -DKBUILD_BASENAME=hosts -c -o hosts.o hosts.c
In file included from /home/alastair/linux-2.4/include/linux/modversions.h:144,
from hosts.c:1:
/home/alastair/linux-2.4/include/linux/modules/journal.ver:33:22: warning:
ISO C requires whitespace after the macro namehosts.c: In function `scsi_register_R62be6ba8':
hosts.c:267: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. make[2]: *** [hosts.o] Error 1
make[2]: Leaving directory `/home/alastair/linux-2.4/drivers/scsi' make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/home/alastair/linux-2.4/drivers'
make: *** [_mod_drivers] Error 2
------------------------------
Regards
Alastair
Quoted 3 lines
I received the following compilation error when building 2.4.18-rc2-ac1 under Red Hat 7.2 on a dead ordinary i686 system (during "make modules") - hope this is useful!
Strange.. it looks like something mangled your journal.ver file
cp .config ..
make distclean
cp ../.config .config
make oldconfig dep bzImage modules
and let me know what occured
Also before that take a look at journal.ver see what happened to it.