-
Notifications
You must be signed in to change notification settings - Fork 747
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
Error Adding Symbols: Bad Value #286
Comments
This is very weird; this is apparently indeed a duplicate of #36, but that shouldn't happen anymore with most recent master. Only thing I can suggest at the moment is to actually remove the symlink for |
Can you post the log of your (Should have |
@xlz Below is the CMake Output log The output was: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is GNU, found in "/home/sebastian/libfreenect2/examples/protonect/CMakeFiles/2.8.12.2/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. The output was: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is GNU, found in "/home/sebastian/libfreenect2/examples/protonect/CMakeFiles/2.8.12.2/CompilerIdCXX/a.out" Determining if the C compiler works passed with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec1360601942/fast" Detecting C compiler ABI info compiled with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec1471148617/fast" Parsed C implicit link information from above output: Determining if the CXX compiler works passed with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec3870665989/fast" Detecting CXX compiler ABI info compiled with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec3149319609/fast" Parsed CXX implicit link information from above output: Performing C SOURCE FILE Test TURBOJPEG_WORKS succeded with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec3088257746/fast" Source file was: Run Build Command:/usr/bin/make "cmTryCompileExec1173971214/fast" Determining if the function gethostbyname exists passed with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec1850147252/fast" Determining if the function connect exists passed with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec18625475/fast" Determining if the function remove exists passed with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec1490151098/fast" Determining if the function shmat exists passed with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec2211630993/fast" Determining if the function IceConnectionNumber exists in the ICE passed with the following output: Run Build Command:/usr/bin/make "cmTryCompileExec2903442051/fast" |
Please provide the console output log of |
@xlz Ok. Here is it is. [ 4%] Built target generate_resources_tool |
No, this is the console output of |
Something really weird just happened. I decided to start over the installation process since I was a little confused and it actually worked. I think the issue could have been that I ran cmake CMakeLists.txt too many times (the first time I tried running it I got an error saying that I didn't have a dependency). Thank you for your help. |
@SebastianVarma @floe I've had the exactly same problem. I tried to debug using cmake-gui and found out surprisingly that project generated by cmake-gui had no problem. This is really weird. |
@floe When setting up the library, once I enter the command "make && sudo make install", an error results. It is as follows:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libturbojpeg.a(libturbojpeg_la-turbojpeg.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libturbojpeg.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libfreenect2.so] Error 1
make[1]: *** [CMakeFiles/freenect2.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: