[OpenWrt-Devel] package libcoap for OpenWRT, Makefile

Baptiste Clenet bapclenet at gmail.com
Wed Aug 5 07:43:17 EDT 2015


2015-08-05 12:57 GMT+02:00 Dirk Neukirchen <dirkneukirchen at web.de>:
> On 05.08.2015 10:09, Baptiste Clenet wrote:
>> Hi,
>>
>> I'm trying to add a package for libcoap and then compile it with my
>> target Ralink MT7628.
>>
>> Here is the Makefile:
>> #
>
>>
>> coap_address_t is defined in address.h inside some #ifdef (#ifdef
>> WITH_LWIP or #ifdef WITH_CONTIKI or #ifdef WITH_POSIX)
>>
>> I don't know if WITH_POSIX is defined.
>>
>> Regards,
>>
>
> - You can check for WITH_POSIX (or other CFLAGS etc. in config.log
Check it and it is defined.
> - configure always sets -DWITH_POSIX in CPPFLAGS (see configure.in)
Yes, it is set also.

Don't know where the problem comes from. It works well with older
version of libcoap.
Other ideas?

> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



-- 
Baptiste
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list