[Quagga-bugs] [Bug 306] /usr/include/linux/rtnetlink.h doesn't
compile on Slackware 10.2
bugzilla-daemon at allevil.dishone.st
bugzilla-daemon at allevil.dishone.st
Mon Oct 16 01:45:38 IST 2006
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.
http://bugzilla.quagga.net/show_bug.cgi?id=306
paul at dishone.st changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
------- Additional Comments From dawg256 at lycos.com 2006-10-11 15:29 -------
used a straight ./configure which gave this warning:
checking ucontext.h usability... no
checking ucontext.h presence... yes
configure: WARNING: ucontext.h: present but cannot be compiled
configure: WARNING: ucontext.h: check for missing prerequisite headers?
configure: WARNING: ucontext.h: see the Autoconf documentation
configure: WARNING: ucontext.h: section "Present But Cannot Be Compiled"
configure: WARNING: ucontext.h: proceeding with the preprocessor's result
configure: WARNING: ucontext.h: in the future, the compiler will take precedence
configure: WARNING: ## ----------------------------------------- ##
configure: WARNING: ## Report this to http://bugzilla.quagga.net ##
configure: WARNING: ## ----------------------------------------- ##
> make clean && make
..
make[2]: Entering directory `/home/jewert/quagdev/quagga-0.99.5/lib'
make all-am
make[3]: Entering directory `/home/jewert/quagdev/quagga-0.99.5/lib'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -Os
-fno-omit-frame-pointer -g -std=c99 -Wall -Wsign-compare -Wpointer-arith
-Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations
-Wchar-subscripts -Wcast-qual -MT network.lo -MD -MP -MF ".deps/network.Tpo" -c
-o network.lo network.c; \
then mv -f ".deps/network.Tpo" ".deps/network.Plo"; else rm -f
".deps/network.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I..
-I../lib -Os -fno-omit-frame-pointer -g -std=c99 -Wall -Wsign-compare
-Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wchar-subscripts -Wcast-qual -MT network.lo -MD -MP -MF
.deps/network.Tpo -c network.c -fPIC -DPIC -o .libs/network.o
In file included from zebra.h:165,
from network.c:23:
/usr/include/linux/rtnetlink.h:533: error: syntax error before "__u64"
/usr/include/linux/rtnetlink.h:535: error: syntax error before "ndts_hash_grows"
/usr/include/linux/rtnetlink.h:536: error: syntax error before "ndts_res_failed"
/usr/include/linux/rtnetlink.h:537: error: syntax error before "ndts_lookups"
/usr/include/linux/rtnetlink.h:538: error: syntax error before "ndts_hits"
/usr/include/linux/rtnetlink.h:539: error: syntax error before
"ndts_rcv_probes_mcast"
/usr/include/linux/rtnetlink.h:540: error: syntax error before
"ndts_rcv_probes_ucast"
/usr/include/linux/rtnetlink.h:541: error: syntax error before
"ndts_periodic_gc_runs"
/usr/include/linux/rtnetlink.h:542: error: syntax error before "ndts_forced_gc_runs"
/usr/include/linux/rtnetlink.h:702: error: syntax error before "__u64"
/usr/include/linux/rtnetlink.h:704: error: syntax error before "base_addr"
/usr/include/linux/rtnetlink.h:708: error: syntax error before '}' token
make[3]: *** [network.lo] Error 1
make[3]: Leaving directory `/home/jewert/quagdev/quagga-0.99.5/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jewert/quagdev/quagga-0.99.5/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jewert/quagdev/quagga-0.99.5'
make: *** [all] Error 2
------- Additional Comments From paul at dishone.st 2006-10-16 00:45 -------
I see this with FC6test too. It seems to be the !defined(__STRICT_ANSI_) in
asm/types.h.
No idea why this is happening.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Quagga-bugs
mailing list