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

John Hay (spam-protected)
Tue Aug 18 19:04:55 CEST 2009


On Tue, Aug 18, 2009 at 05:29:30PM +0200, Henning Rogge wrote:
> Am Dienstag 18 August 2009 11:39:16 schrieb Holger Levsen:
> > Hi,
> >
> > On Dienstag, 18. August 2009, Henning Rogge wrote:
> > > Okay, that is another problem... the freebsd makefile does not set a
> > > necessary enviroment variable. Please test this additional patch:
> >
> > done, now I get:
> >
> > 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\" -D__FreeBSD__
> > -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/common/avl.c:43:
> > /usr/lib/gcc/i486-kfreebsd-gnu/4.3.4/include/stddef.h:58:26: error:
> > machine/ansi.h: No such file or directory
> > make[1]: *** [src/common/avl.o] Fehler 1
> > make[1]: Leaving directory `/home/holger/olsrd-0.5.6-r5'
> > make: *** [build-stamp] Fehler 2
> Hmm... that's strange. It sounds like some enviroment variable is still 
> missing, or some symbolic link is not set up. Any idea ? (I have no experience 
> with BSD).

I do not think BSD experience will help. From what I understand gnu/kfreebsd
use a FreeBSD kernel with a Gnu user level, but exactly what the include
files look like and what will get defined by the compiler and include files
only someone with a gnu/kfreebsd machine or experience will know.


John
-- 
John Hay -- (spam-protected) / (spam-protected)




More information about the Olsr-dev mailing list