[Olsr-dev] patches to make olsrd work on 64bit FreeBSD

Holger Levsen (spam-protected)
Tue Aug 18 11:01:23 CEST 2009


Hi,

On Montag, 17. August 2009, Henning Rogge wrote:
> Am Montag 17 August 2009 19:27:02 schrieb Holger Levsen:
> > gnu/kfreebsd
>
> Does the attached patch solve the compilation problem ?

no:

make[1]: Entering directory `/home/holger/olsrd-0.5.6-r5'
In file included from src/unix/misc.c:45:
src/olsr_types.h:51:9: error: #error "Unsupported system"
In file included from src/unix/../olsr_cfg.h:45,
                 from src/unix/log.c:46:
src/unix/../olsr_types.h:51:9: error: #error "Unsupported system"
In file included from src/olsr_cfg.h:45,
                 from src/ifnet.h:55,
                 from src/unix/ifnet.c:46:
src/olsr_types.h:51:9: error: #error "Unsupported system"
In file included from src/bsd/../olsr_protocol.h:50,
                 from src/bsd/../defs.h:57,
                 from src/bsd/net.c:42:
src/bsd/../olsr_types.h:51:9: error: #error "Unsupported system"
In file included from src/olsr_protocol.h:50,
                 from src/defs.h:57,
                 from src/kernel_routes.h:45,
                 from src/bsd/kernel_routes.c:42:
src/olsr_types.h:51:9: error: #error "Unsupported system"
In file included from src/olsr_protocol.h:50,
                 from src/defs.h:57,
                 from src/bsd/apm.c:43:
src/olsr_types.h:51:9: error: #error "Unsupported system"
In file included from src/olsr_protocol.h:50,
                 from src/defs.h:57,
                 from src/two_hop_neighbor_table.h:45,
                 from src/two_hop_neighbor_table.c:42:
src/olsr_types.h:51:9: error: #error "Unsupported system"
In file included from src/olsr_protocol.h:50,
                 from src/defs.h:57,
                 from src/tc_set.h:46,
                 from src/tc_set.c:43:
src/olsr_types.h:51:9: error: #error "Unsupported system"
In file included from src/olsr_protocol.h:50,
                 from src/olsr.h:45,
                 from src/socket_parser.c:44:
src/olsr_types.h:51:9: error: #error "Unsupported system"
In file included from src/olsr_protocol.h:50,
                 from src/defs.h:57,

[... many like this..]

src/olsr_types.h:51:9: error: #error "Unsupported system"
make[1]: Leaving directory `/home/holger/olsrd-0.5.6-r5'
make[1]: Entering directory `/home/holger/olsrd-0.5.6-r5'
/usr/bin/ccache 
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 -Wendif-labels -Wwrite-strings -Wbad-function-cast -Wpointer-arith -Wcast-qual -Wnested-externs -Winline -Wdisabled-optimization -finline-functions-called-once -fearly-inlining -finline-limit=350   -ggdb -Isrc -pthread  -DUSE_FPM -DOLSRD_GLOBAL_CONF_FILE=\"/usr/local/etc/olsrd.conf\" -DDEBUG    -c -o 
src/common/avl.o src/common/avl.c
cc1: warning: -funit-at-a-time is required for inlining of functions that are 
only called once
In file included from src/ipcalc.h:45,
                 from src/common/avl.c:47:
src/olsr_types.h:51:9: error: #error "Unsupported system"
make[1]: *** [src/common/avl.o] Fehler 1
make[1]: Leaving directory `/home/holger/olsrd-0.5.6-r5'


regards,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20090818/e1557eef/attachment.sig>


More information about the Olsr-dev mailing list