linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] fatal error: 'libudev.h' file not found


From: Сергей Жигарь
Subject: [Linphone-developers] fatal error: 'libudev.h' file not found
Date: Mon, 11 Dec 2017 00:07:52 +0400

Debian 9.
The command "make" in the directory of android-linphone produces an error:
 
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /home/serj/android-ndk/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ 
Build flags: 
Id flags: 
 
The output was:
1
/usr/bin/ld: cannot find -lstdc++
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
 
Determining if files libudev.h exist failed with the following output:
Change Dir: /home/serj/linphone-android/WORK/android-arm64/Build/linphone/CMakeFiles/CMakeTmp
 
Run Build Command:"/usr/bin/make" "cmTC_cc03e/fast"
make[4]: вход в каталог «/home/serj/linphone-android/WORK/android-arm64/Build/linphone/CMakeFiles/CMakeTmp»
/usr/bin/make -f CMakeFiles/cmTC_cc03e.dir/build.make CMakeFiles/cmTC_cc03e.dir/build
make[5]: вход в каталог «/home/serj/linphone-android/WORK/android-arm64/Build/linphone/CMakeFiles/CMakeTmp»
Building C object CMakeFiles/cmTC_cc03e.dir/CheckIncludeFiles.c.o
/home/serj/android-ndk/android-ndk-r15c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang  --target=aarch64-none-linux-android --gcc-toolchain=/home/serj/android-ndk/android-ndk-r15c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 --sysroot=/home/serj/android-ndk/android-ndk-r15c/platforms/android-21/arch-arm64   -funwind-tables -no-canonical-prefixes -fexceptions  -g -fPIE   -o CMakeFiles/cmTC_cc03e.dir/CheckIncludeFiles.c.o   -c /home/serj/linphone-android/WORK/android-arm64/Build/linphone/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
/home/serj/linphone-android/WORK/android-arm64/Build/linphone/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:10: fatal error: 'libudev.h' file not found
#include <libudev.h>
         ^~~~~~~~~~~
1 error generated.
CMakeFiles/cmTC_cc03e.dir/build.make:65: ошибка выполнения рецепта для цели «CMakeFiles/cmTC_cc03e.dir/CheckIncludeFiles.c.o»
make[5]: *** [CMakeFiles/cmTC_cc03e.dir/CheckIncludeFiles.c.o] Ошибка 1
make[5]: выход из каталога «/home/serj/linphone-android/WORK/android-arm64/Build/linphone/CMakeFiles/CMakeTmp»
Makefile:126: ошибка выполнения рецепта для цели «cmTC_cc03e/fast»
make[4]: *** [cmTC_cc03e/fast] Ошибка 2
make[4]: выход из каталога «/home/serj/linphone-android/WORK/android-arm64/Build/linphone/CMakeFiles/CMakeTmp»
 
Source:
/* */
#include <libudev.h>
 
int main(void){return 0;}
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]