Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raspberry pi 3 compiling error #582

Open
FuzzyWaffler opened this issue May 3, 2016 · 0 comments
Open

raspberry pi 3 compiling error #582

FuzzyWaffler opened this issue May 3, 2016 · 0 comments

Comments

@FuzzyWaffler
Copy link

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: G++4.7
Build flags:
Id flags:

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: G++4.7
Build flags:
Id flags: -c

The output was:
No such file or directory

Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/pi/EmulationStation/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec3700178160/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3700178160.dir/build.make CMakeFiles/cmTryCompileExec3700178160.dir/build
make[1]: Entering directory '/home/pi/EmulationStation/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/pi/EmulationStation/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3700178160.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec3700178160.dir/CheckSymbolExists.c.o -c /home/pi/EmulationStation/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec3700178160
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3700178160.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTryCompileExec3700178160.dir/CheckSymbolExists.c.o -o cmTryCompileExec3700178160 -rdynamic
CMakeFiles/cmTryCompileExec3700178160.dir/CheckSymbolExists.c.o: In function main': CheckSymbolExists.c:(.text+0x38): undefined reference topthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec3700178160.dir/build.make:88: recipe for target 'cmTryCompileExec3700178160' failed
make[1]: *** [cmTryCompileExec3700178160] Error 1
make[1]: Leaving directory '/home/pi/EmulationStation/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec3700178160/fast' failed
make: *** [cmTryCompileExec3700178160/fast] Error 2

File /home/pi/EmulationStation/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */

include <pthread.h>

int main(int argc, char** argv)
{
(void)argv;

ifndef pthread_create

return ((int*)(&pthread_create))[argc];

else

(void)argc;
return 0;

endif

}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/pi/EmulationStation/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1639975148/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1639975148.dir/build.make CMakeFiles/cmTryCompileExec1639975148.dir/build
make[1]: Entering directory '/home/pi/EmulationStation/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/pi/EmulationStation/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1639975148.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1639975148.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.0/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec1639975148
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1639975148.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1639975148.dir/CheckFunctionExists.c.o -o cmTryCompileExec1639975148 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec1639975148.dir/build.make:88: recipe for target 'cmTryCompileExec1639975148' failed
make[1]: Leaving directory '/home/pi/EmulationStation/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec1639975148] Error 1
Makefile:118: recipe for target 'cmTryCompileExec1639975148/fast' failed
make: *** [cmTryCompileExec1639975148/fast] Error 2

joolswills pushed a commit to joolswills/EmulationStation that referenced this issue Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant