Modify

Opened 9 years ago

Closed 9 years ago

#86 closed defect (fixed)

libnl will not compile

Reported by: k.szczesny@… Owned by: stappers
Priority: major Milestone: milestone:
Component: debian/packages Version: 2.0
Severity: Keywords:
Cc:

Description

During 'make' libnl compilation throws an error and will stop 'make' of debwrt.
This bug in libnl is 2 year old!

--- rules	2011-02-18 10:59:22.210243001 +0100
+++ ../../../../../debwrt_old/debian/package/libnl/debian/rules	2011-02-18 02:35:10.632918996 +0100
@@ -53,6 +53,7 @@
 	dh_testdir
 	#dpatch apply-all
 	-patch -f -p1 <debian/patches/120-add_if_vlan.h.patch
+	-patch -f -p1 <debian/patches/libnl-1.1-ULONG_MAX.patch
 	touch configure-stamp
 
 build: build-stamp

and the patch itself:

libnl-1.1-ULONG_MAX.patch 
--- b/include/netlink-local.h.orig      2008-06-08 19:09:20.000000000
+0200
+++ b/include/netlink-local.h   2008-06-08 19:09:33.000000000 +0200
@@ -26,6 +26,7 @@
 #include <sys/socket.h>
 #include <inttypes.h>
 #include <assert.h>
+#include <limits.h>

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

Error found on Ubuntu 10.10 amd64.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by stappers

  • Component changed from debian to packages
  • Owner changed from amain to stappers
  • Priority changed from blocker to major
  • Status changed from new to accepted

Debwrt has work in progress on compiling libnl in ticket #80

In #80 is same patch proposed as here is proposed.

The patch from this ticket takes away my doubt that I expressed with

Where I had before a clean compile, I have still a clean compile with patch

comment:2 Changed 9 years ago by amain

  • Resolution set to fixed
  • Status changed from accepted to closed

Closing ticket. Patch from ticket #80 committed to main SVN.

Add Comment

Modify Ticket

Action
as closed The owner will remain stappers.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.