Re: libnl- 1.1-1 -build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Baho Utot schrieb:
This is the error when built with gcc-4.3

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
==> ERROR: Build Failed.
   Aborting...

Here is a fix:

gcc-4.3.patch follows

--- include/netlink-local.h~    2008-01-14 10:48:45.000000000 -0500
+++ include/netlink-local.h    2009-04-25 08:16:28.981393890 -0400
@@ -27,6 +27,8 @@
#include <inttypes.h>
#include <assert.h>

+#include <limits.h>
+
#include <arpa/inet.h>
#include <netdb.h>

PKGBUILD changes:

# $Id: PKGBUILD 930 2008-04-24 22:14:40Z jgc $

Hmm, looks like this hasn't been rebuilt in over a year. Thanks for the hint.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux