Hi Fellows,
I am currently trying to build ulogd. On two arches (s390 and powerpc)
the build fails with an error that net/sock.h is not found. This header
isn't there on the other architectures either but s390 and powerpc
include this file from linux/udp.h which none of the other arches does.
So I have to possible solutions:
1. File a bug againts libc6-dev to request a change of linux/udp.h.
But is this really a bug?
2. Build-Depend on kernel-headers-2.4 that surely includes net/sock.h.
But how to handle this in the package build? When auto-building
the package some kernel-headers-2.4.x-foo get installed and I had to
set CFLAGS to include something like -I/usr/src/kernel-headers-2.4.x-foo.
That would mean to write lots of magic to detect that. Or is it that
way, that /lib/modules/`uname -r`/build/include always points to the
correct files after kernel-headers-2.4 (whichever version) has been
installed? I don't think so....
Thanks in advance,
Joerg
--
Joerg "joergland" Wendland
GPG: 51CF8417 FP: 79C0 7671 AFC7 315E 657A F318 57A3 7FBD 51CF 8417
Attachment:
pgpUSiZZhaHqv.pgp
Description: PGP signature