View previous topic :: View next topic |
Author |
Message |
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Fri Sep 12, 2003 11:03 pm Post subject: Problem While emerging gentoo-sources |
|
|
Quote: | 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=pentium3 -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 |
The problem it's on the ip_nat_core.o module.... Anyone else with this?
gcc (GCC) 3.3.1
Tryed both:
CFLAGS="-march=pentium3 -O3 -pipe"
CFLAGS="-march=pentium3"
Tó _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
tinwood n00b
Joined: 05 Oct 2002 Posts: 36 Location: Newcastle upon Tyne, UK
|
Posted: Fri Sep 12, 2003 11:14 pm Post subject: |
|
|
Yes, this looks the same as this thread:
https://forums.gentoo.org/viewtopic.php?p=519029
It seems to be a problem at line 854 in ip_core_nat.c The quoted string is broken over two lines and the macro doesn't like it? (only guessing - I've not tried to build it).
Cheers
tinwood. |
|
Back to top |
|
|
|