Re: [libdnet-devel] Missing net/sock.h?
Status: Abandoned
Brought to you by:
dugsong
|
From: Thamer Al-H. <tm...@wh...> - 2003-10-15 18:19:22
|
On Wed, 15 Oct 2003, Jason L. Nesheim wrote: [ CCing back to dnet list since someone else using a 2.6 Linux kernel might have some insight ] > Should libdnet be built with the standard /usr/include/linux files or my > kernel (2.6.0-test7) includes? If I let it use the /usr/include/linux, > it fails with a missing sock.h file: /usr/include has symlinks to the kernel headers with kernel source > In file included from fw-ipchains.c:17: > /usr/include/linux/udp.h:21:22: net/sock.h: No such file or directory > make[1]: *** [fw-ipchains.o] Error 1 > make[1]: Leaving directory `/home/jason/download/libdnet-1.7/src' > make: *** [all-recursive] Error 1 That's odd. Under Slackware 9 with a 2.4 kernel sock.h is not included in udp.h and no sock.h exists in the header tree. > If I use the includes from 2.6.0-test7 it gives me this: This looks like brokeness in 2.6. Maybe in the Debian packaging of 2.6 is broken. Have you reported this to them? I think the problem exists outside of libdnet since /usr/include/linux/udp.h seems to be including a non existing file. -- Thamer Al-Harbash GPG Key fingerprint: D7F3 1E3B F329 8DD5 FAE3 03B1 A663 E359 D686 AA1F |