-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi,
I'm trying to build this on FreeBSD current (d8819d88af52) and it fails with following error:
[...]
cp -f /usr/src/sys/../lib/libc/string/strlcpy.c strlcpy.c
sed -e 's|<sys/sysctl\.h>|"sysctl.h"|' -e 's|<sys/param\.h>|"param.h"|' /usr/src/sys/../lib/libc/gen/sysctlbyname.c > sysctlbyname.c
sed -e 's|<sys/sysctl\.h>|"sysctl.h"|' -e 's|<sys/param\.h>|"param.h"|' /usr/src/sys/../lib/libc/gen/sysctlnametomib.c > sysctlnametomib.c
Warning: Object directory not changed from original /root/linux-libbsd/lib
/compat/linux/usr/bin/gcc -O2 -pipe -m32 --sysroot /compat/linux -I/root/linux-libbsd/lib/../include -include bsd.h -g -MD -MF.depend.kevent.o -MTkevent.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wno-return-type -c kevent.c -o kevent.o
/compat/linux/usr/bin/gcc -O2 -pipe -m32 --sysroot /compat/linux -I/root/linux-libbsd/lib/../include -include bsd.h -g -MD -MF.depend.kqueue.o -MTkqueue.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wno-return-type -c kqueue.c -o kqueue.o
/compat/linux/usr/bin/gcc -O2 -pipe -m32 --sysroot /compat/linux -I/root/linux-libbsd/lib/../include -include bsd.h -g -MD -MF.depend.devname.o -MTdevname.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wno-return-type -c devname.c -o devname.o
In file included from devname.c:37:0:
sysctl.h:1178:24: fatal error: sys/_types.h: No such file or directory
#include <sys/_types.h>
^
compilation terminated.
*** Error code 1
Stop.
make[1]: stopped in /root/linux-libbsd/lib
*** Error code 1
Stop.
make: stopped in /root/linux-libbsd
Metadata
Metadata
Assignees
Labels
No labels