<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body>
    Hi Oleg,<br>
    <br>
    this helped instantly :D<br>
    thx.<br>
    <br>
    Best Regards,<br>
    Martin<br>
    <br>
    <div class="moz-cite-prefix">On 13.04.2015 13:40, Oleg Hahm wrote:<br>
    </div>
    <blockquote cite="mid:20150413114036.GI1975@hobbykeller.org"
      type="cite">
      <pre wrap="">Hi Martin,

</pre>
      <blockquote type="cite">
        <pre wrap="">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?
</pre>
      </blockquote>
      <pre wrap="">
Michael and me had the same problem. I figured out that one has to define an
(undocumented) macro called RIOT.

See <a class="moz-txt-link-freetext" href="https://github.com/RIOT-OS/RIOT/issues/2772">https://github.com/RIOT-OS/RIOT/issues/2772</a>

Cheers,
Oleg
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:devel@riot-os.org">devel@riot-os.org</a>
<a class="moz-txt-link-freetext" href="https://lists.riot-os.org/mailman/listinfo/devel">https://lists.riot-os.org/mailman/listinfo/devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>