darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.54k stars 445 forks source link

darling/src/bsdln/ln.c:44:10: fatal error: 'bsd/string.h' file not found #461

Closed PhilipDeegan closed 5 years ago

PhilipDeegan commented 5 years ago

Master on debian with Clang 6 - any ideas?

make -j5
Scanning dependencies of target ext
Scanning dependencies of target elfloader_dummy32
Scanning dependencies of target ninja
Scanning dependencies of target bsdln
Scanning dependencies of target elfloader_dummy64
[  0%] Building CXX object src/external/xcbuild/Libraries/ext/CMakeFiles/ext.dir/Sources/optional.cpp.o
[  0%] Building C object src/libelfloader/native/CMakeFiles/elfloader_dummy32.dir/elfcalls.o
[  0%] Building CXX object src/external/xcbuild/Libraries/ninja/CMakeFiles/ninja.dir/Sources/Writer.cpp.o
[  0%] Building C object src/libelfloader/native/CMakeFiles/elfloader_dummy64.dir/elfcalls.o
[  0%] Building C object src/bsdln/CMakeFiles/bsdln.dir/ln.o
/git/darling/src/bsdln/ln.c:44:10: fatal error: 'bsd/string.h' file not found
#include <bsd/string.h>
         ^~~~~~~~~~~~~~
[  0%] Building C object src/libelfloader/native/CMakeFiles/elfloader_dummy32.dir/threads.o
1 error generated.
src/bsdln/CMakeFiles/bsdln.dir/build.make:62: recipe for target 'src/bsdln/CMakeFiles/bsdln.dir/ln.o' failed
make[2]: *** [src/bsdln/CMakeFiles/bsdln.dir/ln.o] Error 1
CMakeFiles/Makefile2:3386: recipe for target 'src/bsdln/CMakeFiles/bsdln.dir/all' failed
make[1]: *** [src/bsdln/CMakeFiles/bsdln.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
bugaevc commented 5 years ago

You likely don't have libbsd-dev installed

PhilipDeegan commented 5 years ago

makes sense!