ba747heavy Apprentice
Joined: 11 Aug 2003 Posts: 216 Location: New Mexico, USA
|
Posted: Fri Sep 12, 2003 1:28 pm Post subject: Kernel 2.4.20-r7 Woes |
|
|
Is anyone else having trouble with the -r7 kernel compling? I am using the config from my -r6 kernel(bad?), and when I try to complile the damn thing quits with this error:
Code: | gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r7/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ip_nat_core -c -o ip_nat_core.o ip_nat_core.c
ip_nat_core.c:854:40: missing terminating " character
ip_nat_core.c:855:49: missing terminating " character
ip_nat_core.c:1038:1: unterminated argument list invoking macro "DEBUGP"
ip_nat_core.c: In function `do_bindings':
ip_nat_core.c:1038: error: `DEBUGP' undeclared (first use in this function)
ip_nat_core.c:1038: error: (Each undeclared identifier is reported only once
ip_nat_core.c:1038: error: for each function it appears in.)
ip_nat_core.c:1038: error: syntax error at end of input
ip_nat_core.c:833: warning: unused variable `helper_called'
ip_nat_core.c:832: warning: unused variable `ret'
ip_nat_core.c:786: warning: unused variable `is_tcp'
ip_nat_core.c:70: warning: `ip_nat_cleanup_conntrack' defined but not used
make[3]: *** [ip_nat_core.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r7/net/ipv4/netfilter'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r7/net/ipv4/netfilter'
make[1]: *** [_subdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r7/net'
make: *** [_dir_net] Error 2
|
I am using this command in my /etc/profiles to compile the kernel:
Code: | alias kernel_comp='mount /boot && cd /usr/src/linux/ && cp .config .. && make clean && make mrproper && cp ../.config . && make menuconfig && make dep && make bzImage modules modules_install && cp System.map /boot/kernel-2.4.20-gentoo-r7 && cp etc etc... |
Also, if I don't save my kernel config once I exit the config menu, the compile fails right away saying that it there aren't any rules for some such nonsense...any ideas on what is going on? _________________ Fred Clausen
"leet [speak] is a cry for help from a shallow mind" - Doomwookie Jan 05 |
|