On Sat, May 12, 2007 at 16:25:45 +0200, Kurt Roeckx wrote: > Package: pimd > Version: 2.1.0-alpha29.17-7 > Severity: serious > > Hi, > > Your package is failing to build with the following error: > In file included from include/linux/netinet/in-my.h:25, > from include/linux/netinet/mroute.h:5, > from defs.h:88, > from igmp.c:44: > /usr/include/arpa/inet.h:35: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'inet_addr' > /usr/include/arpa/inet.h:38: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'inet_lnaof' > /usr/include/arpa/inet.h:42: error: expected ')' before '__net' > [...] > The latest changelog entry includes: * included patch from Prasanna Krishnamoorthy, Closes #422591 removed include/linux/netinet/in.h removed include/linux/netinet/in-slackware.h
goal is to fix missing reference to ntohl() But this doesn't work, because standard header files include <netinet/in.h> and in particular <arpa/inet.h> needs the in_addr_t typedef. By deleting include/linux/netinet/in.h from the source tree, I've gotten the package to build (no idea whether it works, though). If you need to delete files which are in the upstream tarball, you have to do that explicitly in debian/rules clean. Cheers, Julien
signature.asc
Description: Digital signature