[OLSR-users] olsrd 0.5.0 and FreeBSD 4.11 --- compilation error

Rae Harbird (spam-protected)
Wed Apr 11 17:32:27 CEST 2007


Hi

I have tried compiling olsrd 0.5.0 on FreeBSD 4.11 using the following 
make flags:

    gmake OS=fbsd -ll NO_80211=1

I get the following error:

cc -DVERSION=\"0.5.0\" -DOLSRD_GLOBAL_CONF_FILE=\"/etc/olsrd.conf\" 
-DFBSD_NO_80211=1 -MD -Isrc -I./src   -c -o src/bsd/net.o src/bsd/net.c
src/bsd/net.c: In function `olsr_recvfrom':
src/bsd/net.c:729: storage size of `iov' isn't known

gmake: ***  [src/bsd/net.o] Error 1


This can be cured by inserting <sys/uio.h> in net.c .... although I can 
see that the header file wasn't included in 0.4.10 and everything seemed 
fine.




Regards


Rae

-- 
Rae Harbird






More information about the Olsr-users mailing list