[OpenWrt-Devel] package libcoap for OpenWRT, Makefile

Yousong Zhou yszhou4tech at gmail.com
Wed Aug 5 08:50:38 EDT 2015

On 5 August 2015 at 19:43, Baptiste Clenet <bapclenet at gmail.com> wrote:
>> - 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?

The "-DWITH_POSIX" definition within libcoap Makefile is defined as
part of CPPFLAGS variable which will be overridden by the
corresponding make argument.  Try adding the macro definition to

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list