Bug#402825: rootskel: FTBFS: undefined reference to `__FD_ZERO'
Package: rootskel
Version: 1.47
Severity: serious
Hi,
Your package is failing to build on a few arches with the following
error:
make[3]: Entering directory `/build/buildd/rootskel-1.47/src-bootfloppy/bin'
klcc -c -o cpio.o cpio.c
klcc -c -o timeout_read.o timeout_read.c
klcc -shared -s -o cpio cpio.o
klcc -shared -s -o timeout_read timeout_read.o
timeout_read.o: In function `main':
timeout_read.c:(.text+0x7e): undefined reference to `__FD_ZERO'
timeout_read.c:(.text+0x8a): undefined reference to `__FD_SET'
make[3]: *** [timeout_read] Error 1
It seems that on amd64 those are defined as inline functions in
/usr/lib/klibc/include/asm-x86_64/posix_types.h but only when __KERNEL__
is set.
Kurt
Reply to: