[Olsr-dev] olsrd on debian/kfreebsd
Holger Levsen
(spam-protected)
Mon Nov 19 21:33:54 CET 2007
Hi,
On Monday 19 November 2007 15:36, Bernd Petrovitsch wrote:
> So you should add "-D__FreeBSD__" also explicitly to CPPFLAGS in some
> way (if only for testing/trying) and see it it works.
With that, it fails with:
WARNINGS="-Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -Waggregate-return -Wmissing-noreturn -Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations -Wnested-externs -Winline -Wdisabled-optimization -finline-functions-called-once -fearly-inlining -finline-limit=50" -C
src/cfgparser
make[1]: Entering directory `/home/holger/src/olsrd-0.5.4/src/cfgparser'
gcc -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wsign-compare -Waggregate-return -Wmissing-noreturn -Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations -Wnested-externs -Winline -Wdisabled-optimization -finline-functions-called-once -fearly-inlining -finline-limit=50 -O2 -Isrc -I../../src -pthread -DSUPPORT_OLD_PLUGIN_VERSIONS=1 -DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -D__FreeBSD__ -DMAKELIB -c -o
olsrd_conf.o olsrd_conf.c
In file included from /usr/include/stdio.h:34,
from olsrd_conf.c:43:
/usr/lib/gcc/i486-kfreebsd-gnu/4.1.3/include/stddef.h:58:26: error:
machine/ansi.h: No such file or directory
make[1]: *** [olsrd_conf.o] Fehler 1
make[1]: Leaving directory `/home/holger/src/olsrd-0.5.4/src/cfgparser'
make: *** [cfgparser] Fehler 2
regards,
Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20071119/6920abd4/attachment.sig>
More information about the Olsr-dev
mailing list