Problem compiling libnl 1.1
Karl Hiramoto
karl at hiramoto.org
Sat Mar 27 16:52:27 EDT 2010
On 03/27/2010 06:47 PM, pierre42d at 9online.fr wrote:
> # make
> Entering lib
> MAKE libnl.so.1.1
> CC addr.c
> In file included from addr.c:28:
> ../include/netlink-local.h: In function '__str2type':
> ../include/netlink-local.h:218: error: 'ULONG_MAX' undeclared (first
> use in this function)
> ../include/netlink-local.h:218: error: (Each undeclared identifier is
> reported only once
> ../include/netlink-local.h:218: error: for each function it appears in.)
> ../include/netlink-local.h: In function '__list_str2type':
> ../include/netlink-local.h:239: error: 'ULONG_MAX' undeclared (first
> use in this function)
> make[2]: *** [addr.o] Error 1
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
You should tell us things like, gcc version, libc version, linux distro
and version. ULONG_MAX should normally be defined in limits.h
--
Karl
More information about the libnl
mailing list