[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make cannot find file



Danny writes:

> Hi guys,
>
> I am having trouble with make. It complains about a missing header file
> "asm/socket.h".
>
> I did a search for each package that contains this file and installed them but
> the error still persists.
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> root@fever:~/git/svxlink/src/build# make
> [  0%] Building CXX object
> async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o
> In file included from /usr/include/i386-linux-gnu/sys/socket.h:38:0,
>                  from /root/git/svxlink/src/async/core/AsyncIpAddress.cpp:40:
> /usr/include/i386-linux-gnu/bits/socket.h:345:24: fatal error: asm/socket.h: No
> such file or directory
>  #include <asm/socket.h>
>                         ^
> compilation terminated.
> async/core/CMakeFiles/asynccore.dir/build.make:123: recipe for target
> 'async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o' failed
> make[2]: *** [async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o] Error 1
> CMakeFiles/Makefile2:102: recipe for target
> 'async/core/CMakeFiles/asynccore.dir/all' failed
> make[1]: *** [async/core/CMakeFiles/asynccore.dir/all] Error 2
> Makefile:117: recipe for target 'all' failed
> make: *** [all] Error 2
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Any pointers?

Yes.  Do a

make VERBOSE=1

to see the compilation flags.

-- 
Alberto


Reply to: