notfixed 656947 kfreebsd-kernel-headers/0.66
thank
This bug was closed with the following changelog:
> kfreebsd-kernel-headers (0.66) unstable; urgency=low
> .
> * Redefine clock_t as signed to match with Glibc type. (Closes: #656947)
> * Cleanup and document type collision fixes, merge them into one patch
> (type_collision.diff), discard unnecessary type removal.
The clock_t error was fixed but unfortunately the sys/soundcard.h file is
still problematic:
Building a trivial C file (like the ones used by configure):
----
#include <sys/soundcard.h>
----
Gives a different error now, but the sys/soundcard.h is still unbuildable. The
error compiling the same trivial file as before is:
In file included from /usr/include/machine/_types.h:8:0,
from /usr/include/sys/_types.h:33,
from /usr/include/machine-i386/endian.h:37,
from /usr/include/machine/endian.h:8,
from /usr/include/sys/soundcard.h:110,
from test.c:2:
/usr/include/machine-i386/_types.h:43:2: error: #error this file needs sys/cdefs.h as a prerequisite
/usr/include/machine-i386/_types.h:96:19: error: conflicting types for ‘__time_t’
/usr/include/i386-kfreebsd-gnu/bits/types.h:149:26: note: previous declaration of ‘__time_t’ was here
If I compile the file with: gcc -I /usr/src/kfreebsd-headers-9.0-1/sys -c test.c
compiles fine.
Just for reference, this ends up in a build error:
https://buildd.debian.org/status/fetch.php?pkg=xawtv&arch=kfreebsd-i386&ver=3.102-1&stamp=1327447884&file=log
As the configure script fails to find a usable soundcard.h.
Thanks,
--
"Seek simplicity, and distrust it." -- Whitehead's Rule
Saludos /\/\ /\ >< `/
Attachment:
signature.asc
Description: Digital signature