[Olsr-dev] compiling current on FreeBSD failed
(spam-protected)
(spam-protected)
Tue Nov 20 23:20:39 CET 2007
Hi,
gmake failed with
#gmake
./gcc-warnings: 36: Syntax error: Bad substitution
./gcc-warnings: 36: Syntax error: Bad substitution
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/build_msg.o src/build_msg.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/duplicate_set.o src/duplicate_set.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/generate_msg.o src/generate_msg.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/hashing.o src/hashing.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/hna_set.o src/hna_set.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/hysteresis.o src/hysteresis.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/interfaces.o src/interfaces.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/ipc_frontend.o src/ipc_frontend.c
src/ipc_frontend.c:66:1: warning: "MSG_NOSIGNAL" redefined
In file included from src/defs.h:49,
from src/ipc_frontend.h:59,
from src/ipc_frontend.c:49:
/usr/include/sys/socket.h:406:1: warning: this is the location of the
previous definition
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/link_set.o src/link_set.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/local_hna_set.o src/local_hna_set.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/lq_avl.o src/lq_avl.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/lq_list.o src/lq_list.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/lq_mpr.o src/lq_mpr.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/lq_packet.o src/lq_packet.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/lq_route.o src/lq_route.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/main.o src/main.c
src/main.c: In function `main':
src/main.c:155: warning: passing arg 1 of `localtime' from incompatible
pointer type
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/mantissa.o src/mantissa.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/mid_set.o src/mid_set.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/mpr.o src/mpr.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/mpr_selector_set.o src/mpr_selector_set.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/neighbor_table.o src/neighbor_table.c
gcc -O2 -Isrc -pthread
-DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DNDEBUG -c -o
src/net_olsr.o src/net_olsr.c
src/net_olsr.c: In function `olsr_netmask_to_prefix':
src/net_olsr.c:524: error: `USHRT_MAX' undeclared (first use in this
function)
src/net_olsr.c:524: error: (Each undeclared identifier is reported only
once
src/net_olsr.c:524: error: for each function it appears in.)
gmake: *** [src/net_olsr.o] Error 1
#uname -a
FreeBSD evo 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC
2007 (spam-protected):/usr/obj/usr/src/sys/GENERIC i386
Goetz
More information about the Olsr-dev
mailing list