Built: Command not found?
Added by TomH about 8 years ago
root@server1 [/home/source/ryzom/code/nel/build]# make -j3 [ 0%] [ 1%] [ 1%] Built target nel_drv_opengl_pch_dephelp Built target nelmisc_pch_dephelp Built target nel3d_pch_dephelp [ 1%] Built target nelnet_pch_dephelp [ 1%] [ 1%] Built target nelsound_pch_dephelp Built target nelgeorges_pch_dephelp [ 1%] [ 1%] Built target nel_drv_openal_pch_dephelp Built target nelpacs_pch_dephelp [ 1%] Built target get_neighbors [ 1%] Built target pch_Generate_nelmisc [ 1%] [ 1%] Built target pch_Generate_nel3d Built target pch_Generate_nel_drv_opengl [ 1%] Built target pch_Generate_nelgeorges [ 1%] Built target pch_Generate_nelsound [ 1%] Built target pch_Generate_nelnet [ 1%] Built target pch_Generate_nel_drv_openal [ 1%] Built target pch_Generate_nelpacs [ 19%] Built target nelmisc [ 20%] Built target nelgeorges [ 22%] Built target nelligo [ 26%] Built target nelpacs [ 32%] Built target nelnet Scanning dependencies of target nl_sample_configfile Linking CXX executable ../../../bin/nl_sample_command ../../../lib/libnelmisc.so.0.7.0: undefined reference to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status make[2]: *** [bin/nl_sample_command] Error 1 make[1]: *** [samples/misc/command/CMakeFiles/nl_sample_command.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 32%] Building CXX object samples/misc/configfile/CMakeFiles/nl_sample_configfile.dir/main.cpp.o [ 78%] Built target nel3d Linking CXX executable ../../../bin/nl_sample_configfile ../../../lib/libnelmisc.so.0.7.0: undefined reference to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status make[2]: *** [bin/nl_sample_configfile] Error 1 make[1]: *** [samples/misc/configfile/CMakeFiles/nl_sample_configfile.dir/all] Error 2 make: *** [all] Error 2 root@server1 [/home/source/ryzom/code/nel/build]# Built target nel3d -bash: Built: command not found
I must be missing something here.
I can't find any other post with information on Built.
Replies (8)
RE: Built: Command not found? - Added by TomH about 8 years ago
I installed lua-devel for centos but now another problem comes up:
root@server1 [/home/source/ryzom/code/nel/build]# make -j3 [ 0%] [ 0%] Built target nel3d_pch_dephelp Built target nelmisc_pch_dephelp [ 1%] Built target nel_drv_opengl_pch_dephelp [ 1%] [ 1%] Built target nelgeorges_pch_dephelp Built target nelnet_pch_dephelp [ 1%] Built target nelsound_pch_dephelp [ 1%] [ 1%] Built target nel_drv_openal_pch_dephelp Built target nelpacs_pch_dephelp [ 1%] Built target get_neighbors [ 1%] [ 1%] Built target pch_Generate_nelmisc Built target pch_Generate_nel3d [ 1%] Built target pch_Generate_nel_drv_opengl [ 1%] [ 1%] Built target pch_Generate_nelnet Built target pch_Generate_nelgeorges [ 1%] Built target pch_Generate_nelsound [ 1%] [ 1%] Built target pch_Generate_nel_drv_openal Built target pch_Generate_nelpacs [ 19%] Built target nelmisc [ 20%] Built target nelgeorges [ 22%] Built target nelligo [ 26%] Built target nelpacs [ 32%] Built target nelnet Linking CXX executable ../../../bin/nl_sample_command Linking CXX executable ../../../bin/nl_sample_configfile ../../../lib/libnelmisc.so.0.7.0: undefined reference to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status make[2]: *** [bin/nl_sample_command] Error 1 make[1]: *** [samples/misc/command/CMakeFiles/nl_sample_command.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... ../../../lib/libnelmisc.so.0.7.0: undefined reference to `__sync_bool_compare_and_swap_4' collect2: ld returned 1 exit status make[2]: *** [bin/nl_sample_configfile] Error 1 make[1]: *** [samples/misc/configfile/CMakeFiles/nl_sample_configfile.dir/all] Error 2 [ 78%] Built target nel3d make: *** [all] Error 2
RE: Built: Command not found? - Added by rti about 8 years ago
This is a known problem described here http://dev.ryzom.com/issues/899
In short: make sure you are compiling at least with -march=i486
RE: Built: Command not found? - Added by TomH about 8 years ago
root@server1 [~]# gcc/g++ -m32 -march=i486 ... -bash: gcc/g++: No such file or directory
Where do I change it or what do I execute?
RE: Built: Command not found? - Added by rti about 8 years ago
A very unclean and only temporary solution might be to update CMakeModues/nel.cmake
.
There you could change line 118 from
SET(PLATFORM_CFLAGS "-ftemplate-depth-24 -D_REENTRANT -Wall -ansi -W -Wpointer-arith -Wsign-compare -Wno-deprecated-declarations -Wno-multichar -Wno-long-long -Wno-unused")
to
SET(PLATFORM_CFLAGS "-march=i486 -ftemplate-depth-24 -D_REENTRANT -Wall -ansi -W -Wpointer-arith -Wsign-compare -Wno-deprecated-declarations -Wno-multichar -Wno-long-long -Wno-unused")
But beware, this is only a dirty hack! Might solve your problem for now though.
RE: Built: Command not found? - Added by TomH about 8 years ago
That solved the previous error.
Now theres another one telling me it can't find the cmake install file.
root@server1 [/home/source/ryzom/code/nel/build]# cpack -G RPM -D CPACK_PACKAGE_CONTACT="[email protected]" CPack: Create package using RPM CPack: Install projects CPack: - Run preinstall target for: NeL CPack: - Install project: NeL CMake Error at src/misc/cmake_install.cmake:36 (FILE): file INSTALL cannot find file "/home/source/ryzom/code/nel/build/src/misc/nel-misc.pc" to install. Call Stack (most recent call first): src/cmake_install.cmake:37 (INCLUDE) cmake_install.cmake:41 (INCLUDE) CMake Error at src/3d/cmake_install.cmake:36 (FILE): file INSTALL cannot find file "/home/source/ryzom/code/nel/build/src/3d/nel-3d.pc" to install. Call Stack (most recent call first): src/cmake_install.cmake:38 (INCLUDE) cmake_install.cmake:41 (INCLUDE) CMake Error at src/georges/cmake_install.cmake:36 (FILE): file INSTALL cannot find file "/home/source/ryzom/code/nel/build/src/georges/nel-georges.pc" to install. Call Stack (most recent call first): src/cmake_install.cmake:39 (INCLUDE) cmake_install.cmake:41 (INCLUDE) CMake Error at src/ligo/cmake_install.cmake:36 (FILE): file INSTALL cannot find file "/home/source/ryzom/code/nel/build/src/ligo/nel-ligo.pc" to install. Call Stack (most recent call first): src/cmake_install.cmake:40 (INCLUDE) cmake_install.cmake:41 (INCLUDE) CMake Error at src/net/cmake_install.cmake:36 (FILE): file INSTALL cannot find file "/home/source/ryzom/code/nel/build/src/net/nel-net.pc" to install. Call Stack (most recent call first): src/cmake_install.cmake:42 (INCLUDE) cmake_install.cmake:41 (INCLUDE) CMake Error at src/sound/cmake_install.cmake:36 (FILE): file INSTALL cannot find file "/home/source/ryzom/code/nel/build/src/sound/nel-sound.pc" to install. Call Stack (most recent call first): src/cmake_install.cmake:43 (INCLUDE) cmake_install.cmake:41 (INCLUDE) CMake Error at src/pacs/cmake_install.cmake:36 (FILE): file INSTALL cannot find file "/home/source/ryzom/code/nel/build/src/pacs/nel-pacs.pc" to install. Call Stack (most recent call first): src/cmake_install.cmake:44 (INCLUDE) cmake_install.cmake:41 (INCLUDE) CPack Error: Error when generating package: NeL root@server1 [/home/source/ryzom/code/nel/build]#
RE: Built: Command not found? - Added by piotter about 8 years ago
See bug report for details
http://dev.ryzom.com/issues/1021
PI
RE: Built: Command not found? - Added by TomH about 8 years ago
I think that fixed part of the problem because it goes further.
But I'm still having some errors.
/usr/bin/ld: cannot find -lnelnet collect2: ld returned 1 exit status make[2]: *** [logger_service] Error 1 make[2]: Target `all' not remade because of errors. make[1]: *** [logger_service-all] Error 2 make[1]: Target `night' not remade because of errors. make: *** [night] Error 2 *************************************************** *************************************************** *********************** BUILD RYZOM FAILED *************************************************** *************************************************** No email to send the error mail
RE: Built: Command not found? - Added by molator about 8 years ago
NeL is not properly built or not install.
(1-8/8)