Skip to contentSkip to conversation

Kernel 2.4.15-pre4 compile error (gcc 2.95.3 and 3.0[12])

DISCUSSION Adam Schrotenboer 2 participants 2 messages Nov 13, 2001

lore
Share & tools
lore
#0 lore raw

Please forgive me if this is already in the archives, my usual archive is down (www.lib.uaa.alaska.edu) and I find MARC a bit hard to follow

When compiling 2.4.15-pre4 I get the following error

gcc -D__KERNEL__ -I/mnt/hda3/kernel/2.4.15-pre4/linux/include -Wall- Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4 -c -o setup.o setup.c
setup.c: In function `c_start':
setup.c:2791: subscripted value is neither array nor pointer setup.c:2792: warning: control reaches end of non-void function make[1]: *** [setup.o] Error 1

Ideas?

TIA
tabris

#1 lore raw
Quoted 9 lines · * Adam Schrotenboer ([email protected]) wrote:

Please forgive me if this is already in the archives, my usual archive is down (www.lib.uaa.alaska.edu) and I find MARC a bit hard to follow

When compiling 2.4.15-pre4 I get the following error

gcc -D__KERNEL__ -I/mnt/hda3/kernel/2.4.15-pre4/linux/include -Wall- Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer

(quoted diff) +0 -2
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
-march=i686 -malign-functions=4     -c -o setup.o setup.c
Quoted 4 lines

setup.c: In function `c_start':
setup.c:2791: subscripted value is neither array nor pointer setup.c:2792: warning: control reaches end of non-void function make[1]: *** [setup.o] Error 1

this is in the archives. you'll find a patch here:

http://marc.theaimsgroup.com/?l=linux-kernel&m=100559812101821&w=2

cheers,
-chris