[riot-devel] oonf

Oleg Hahm oliver.hahm at inria.fr
Mon Apr 13 13:40:36 CEST 2015

Hi Martin,

> I want to test some stuff using the oonf pkg[1].
> It is cloned and successfully and  patched with the provided RIOT
> compatibility patches, but then it fails on compile with:
> `./pkg/oonf_api/oonf_api/src-api/common/autobuf.c:84:3: warning: implicit
> declaration of function ‘getpagesize’ [-Wimplicit-function-declaration]`
> and
> `./pkg/oonf_api/oonf_api/src-api/common/netaddr.h:348:16: error:
> ‘sockaddr6_t’ has no member named ‘__in6_a’` for native
> and
> `./pkg/oonf_api/oonf_api/src-api/common/netaddr.h:48:30: fatal error:
> netinet/if_ether.h: No such file or directory` for iot-lab_M3
> Did I missed to configure?

Michael and me had the same problem. I figured out that one has to define an
(undocumented) macro called RIOT.

See https://github.com/RIOT-OS/RIOT/issues/2772

rio_dprintk (RIO_DEBUG_ROUTE, "LIES! DAMN LIES! %d LIES!\n",Lies);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20150413/eb9008d6/attachment.sig>

More information about the devel mailing list