2.3.99-pre3-8 -- Compile error in init/main.c (`CONFIG_X86_L1_CACHE_BYTES' undeclared)

From: Miles Lane (miles@speakeasy.org)
Date: Fri Mar 24 2000 - 00:37:49 EST


gcc -D__KERNEL__ -I/usr/src/linux-2.3.99-pre3/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.3.99-pre3/include/net/ip.h:29,
                 from
/usr/src/linux-2.3.99-pre3/include/net/checksum.h:31,
                 from
/usr/src/linux-2.3.99-pre3/include/linux/raid/md.h:36,
                 from init/main.c:24:
/usr/src/linux-2.3.99-pre3/include/linux/netdevice.h:150: requested
alignment is not a constant
In file included from
/usr/src/linux-2.3.99-pre3/include/asm/hardirq.h:5,
                 from
/usr/src/linux-2.3.99-pre3/include/linux/interrupt.h:44,
                 from
/usr/src/linux-2.3.99-pre3/include/linux/netdevice.h:387,
                 from /usr/src/linux-2.3.99-pre3/include/net/ip.h:29,
                 from
/usr/src/linux-2.3.99-pre3/include/net/checksum.h:31,
                 from
/usr/src/linux-2.3.99-pre3/include/linux/raid/md.h:36,
                 from init/main.c:24:
/usr/src/linux-2.3.99-pre3/include/linux/irq.h:52: requested alignment
is not a constant
In file included from
/usr/src/linux-2.3.99-pre3/include/linux/interrupt.h:44,
                 from
/usr/src/linux-2.3.99-pre3/include/linux/netdevice.h:387,
                 from /usr/src/linux-2.3.99-pre3/include/net/ip.h:29,
                 from
/usr/src/linux-2.3.99-pre3/include/net/checksum.h:31,
                 from
/usr/src/linux-2.3.99-pre3/include/linux/raid/md.h:36,
                 from init/main.c:24:
/usr/src/linux-2.3.99-pre3/include/asm/hardirq.h:12: requested alignment
is not a constant
In file included from
/usr/src/linux-2.3.99-pre3/include/linux/netdevice.h:387,
                 from /usr/src/linux-2.3.99-pre3/include/net/ip.h:29,
                 from
/usr/src/linux-2.3.99-pre3/include/net/checksum.h:31,
                 from
/usr/src/linux-2.3.99-pre3/include/linux/raid/md.h:36,
                 from init/main.c:24:
/usr/src/linux-2.3.99-pre3/include/linux/interrupt.h:152: requested
alignment is not a constant
In file included from /usr/src/linux-2.3.99-pre3/include/net/ip.h:29,
                 from
/usr/src/linux-2.3.99-pre3/include/net/checksum.h:31,
                 from
/usr/src/linux-2.3.99-pre3/include/linux/raid/md.h:36,
                 from init/main.c:24:
/usr/src/linux-2.3.99-pre3/include/linux/netdevice.h:433: requested
alignment is not a constant
In file included from /usr/src/linux-2.3.99-pre3/include/net/ip.h:39,
                 from
/usr/src/linux-2.3.99-pre3/include/net/checksum.h:31,
                 from
/usr/src/linux-2.3.99-pre3/include/linux/raid/md.h:36,
                 from init/main.c:24:
/usr/src/linux-2.3.99-pre3/include/net/sock.h:676:
`CONFIG_X86_L1_CACHE_BYTES' undeclared here (not in a function)
/usr/src/linux-2.3.99-pre3/include/net/sock.h:676: size of array `__pad'
has non-integer type
init/main.c: In function `start_kernel':
init/main.c:507: `CONFIG_X86_L1_CACHE_BYTES' undeclared (first use in
this function)
init/main.c:507: (Each undeclared identifier is reported only once
init/main.c:507: for each function it appears in.)
make: *** [init/main.o] Error 1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:12 EST