Package: dhcp
Version: 2.0pl5-19.5
Severity: normal
Tag: patch
User: [email protected]
Usertags: eabi

cc -g -D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" 
-D_PATH_DHCLIENT_DB=\"/var/lib/dhcp/dhclient.leases\" -I.. -I../includes 
-DLINUX_MAJOR=2 -DLINUX_MINOR=6   -c -o tr.o tr.c
tr.c:34: error: expected specifier-qualifier-list before '__u16'
tr.c: In function 'insert_source_routing':
tr.c:191: error: 'struct routing_entry' has no member named 'rcf'
tr.c:192: error: '__u16' undeclared (first use in this function)

This occurs when building with libc6-dev from experimental. I've usertagged
this bug eabi since the arm eabi port is building with that version of libc.

asm/types.h is no longer included from netinet/if_tr.h with this version
of the glibc headers.

The fix is simple:

--- tr.c.orig   2007-02-07 21:36:12.000000000 +0000
+++ tr.c        2007-02-07 21:36:26.000000000 +0000
@@ -11,6 +11,7 @@
 #include "includes/netinet/udp.h"
 #include "includes/netinet/if_ether.h"
 #include "netinet/if_tr.h"
+#include "asm/types.h"
 #include <sys/time.h>
 
 /*

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to