http://qa.mandrakesoft.com/show_bug.cgi?id=4095
------- Additional Comments From [EMAIL PROTECTED] 2003-28-06 19:38 -------
I am having similar problems wiht vanila 2.4.21-0.13mdk and 2.4.21-0.18mdk
using gcc (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) - which I think is
latest update of GCC from mandrake update.
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-0.18mdk/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.21-0.18mdk/include/linux/modversions.h -nostdinc
-iwithprefix include -DKBUILD_BASENAME=zftape_compress -c -o
zftape-compress.o zftape-compress.c
In file included from /usr/src/linux-2.4.21-0.18mdk/include/linux/mm.h:4,
from zftape-compress.c:35:
/usr/src/linux-2.4.21-0.18mdk/include/linux/sched.h:6: invalid suffix on integer
constant
/usr/src/linux-2.4.21-0.18mdk/include/linux/sched.h:6: parse error before
numeric constant
/usr/src/linux-2.4.21-0.18mdk/include/linux/sched.h:6: warning: function
declaration isn't a prototype
make[4]: *** [zftape-compress.o] Error 1
make[4]: Leaving directory
`/usr/src/linux-2.4.21-0.18mdk/drivers/char/ftape/compressor'
make[3]: *** [_modsubdir_compressor] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.21-0.18mdk/drivers/char/ftape'
make[2]: *** [_modsubdir_ftape] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-0.18mdk/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-0.18mdk/drivers'
make: *** [_mod_drivers] Error 2
I want to be able to complie vanila kernel as precursor to building one with the
hptraid patches from Wilfried Weissmann. I just need a working kernel to use
with 9.1, (I'll share raid compatible version of both runtime kernel and BOOT
config with anyone interested, but need to get them working first !!). Can you tell
me what I need to get - ? new or old version of GCC ? new kernel source ? or
do I just need to change Makefile options ?
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date:
description:
Hello,
just compiling kernel 2.4.21-0.18mdk and I experienced this problem with latest
Cooker gcc-3.3-1mdk:
...
make[2]: Entering directory `/usr/src/linux-2.4.21-0.18mdk/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-0.18mdk/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o
sched.o sched.c
sched.c: In function `schedule':
sched.c:714: internal compiler error: in merge_assigned_reloads, at reload1.c:6134
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21-0.18mdk/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-0.18mdk/kernel'
make: *** [_dir_kernel] Error 2
Patch should be applied because this gcc is unusable.
Thanks,
Vlasta