Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15380 - libnl 1.1-1 build problems
Attached to Project:
Arch Linux
Opened by Daniel Ehlers (sargon) - Sunday, 05 July 2009, 14:10 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 05 July 2009, 14:39 GMT
Opened by Daniel Ehlers (sargon) - Sunday, 05 July 2009, 14:10 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 05 July 2009, 14:39 GMT
|
DetailsDescription:
I checkout libnl build files from abs. The first problem was that the provided download url ends in a 404. After searching the web I download source from : http://ftp.de.debian.org/debian/pool/main/libn/libnl/libnl_1.1.orig.tar.gz and rename it to the expected name. After that a build failes with: <error> MAKE libnl.so.1.1 CC addr.c CC attr.c CC cache.c CC cache_mngr.c In file included from attr.c:12: ../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]: *** [attr.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 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) In file included from cache_mngr.c:84: ../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]: *** [cache_mngr.o] Error 1 In file included from cache.c:43: ../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[2]: *** [cache.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 </error> I fix that error with a extra line after change dir to src in the build instrucitons. > sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h Additional info: * libnl 1.1-1 Steps to reproduce: download pkgbuild from abs and run makepkg ;) |
This task depends upon
$ svn co svn://svn.archlinux.org/srv/svn-packages/libnl/trunk libnl