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

Re: make cannot find file



Here is the VERBOSE=1 output:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
root@fever:~/git/svxlink/src/build# make VERBOSE=1
/usr/bin/cmake -H/root/git/svxlink/src -B/root/git/svxlink/src/build
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /root/git/svxlink/src/build/CMakeFiles
/root/git/svxlink/src/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/root/git/svxlink/src/build'
make -f async/core/CMakeFiles/asynccore.dir/build.make
async/core/CMakeFiles/asynccore.dir/depend
make[2]: Entering directory '/root/git/svxlink/src/build'
cd /root/git/svxlink/src/build && /usr/bin/cmake -E cmake_depends "Unix
Makefiles" /root/git/svxlink/src /root/git/svxlink/src/async/core
/root/git/svxlink/src/build /root/git/svxlink/src/build/async/core
/root/git/svxlink/src/build/async/core/CMakeFiles/asynccore.dir/DependInfo.cmake
--color=
make[2]: Leaving directory '/root/git/svxlink/src/build'
make -f async/core/CMakeFiles/asynccore.dir/build.make
async/core/CMakeFiles/asynccore.dir/build
make[2]: Entering directory '/root/git/svxlink/src/build'
/usr/bin/cmake -E cmake_progress_report /root/git/svxlink/src/build/CMakeFiles 
[  0%] Building CXX object
async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o
cd /root/git/svxlink/src/build/async/core && /usr/bin/c++
-DINTERNAL_SAMPLE_RATE=16000 -D_REENTRANT -Dasynccore_EXPORTS -Wall
-Wpointer-arith  -O3 -fPIC -I/root/git/svxlink/src/build/include
-I/root/git/svxlink/src/build -I/usr/lib/i386-linux-gnu/sigc++-2.0/include
-I/usr/include/sigc++-2.0    -o CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o -c
/root/git/svxlink/src/async/core/AsyncIpAddress.cpp
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
make[2]: Leaving directory '/root/git/svxlink/src/build'
CMakeFiles/Makefile2:102: recipe for target
'async/core/CMakeFiles/asynccore.dir/all' failed
make[1]: *** [async/core/CMakeFiles/asynccore.dir/all] Error 2
make[1]: Leaving directory '/root/git/svxlink/src/build'
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

On Jul 05 16, Alberto Luaces :
> To: debian-user@lists.debian.org
> Date: Tue, 05 Jul 2016 09:41:56 +0200
> From: Alberto Luaces <aluaces@udc.es>
> Subject: Re: make cannot find file
> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
> X-Loop: debian-user@lists.debian.org
> 
> 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: