Jump to content

Game compiling errors


Recommended Posts

Hello this is my first post here and i`m sorry that is one about some errors i have encountered i will post some console output :

All goes well until here:

output/libFColladaSR.a
cp output/libFColladaSD.a ../lib/libFColladaSD.a
cp output/libFColladaSR.a ../lib/libFColladaSR.a
./build.sh: line 24: nspr-config: command not found
./build.sh: line 24: nspr-config: command not found
cat: ../../dist/Linux_All_DBG.OBJ/nspr/Version: No such file or directory

....

...
In file included from jsatom.h:53,
from jsapi.c:57:
jslock.h:45:20: error: pratom.h: No such file or directory
jslock.h:46:20: error: prlock.h: No such file or directory
jslock.h:47:20: error: prcvar.h: No such file or directory
In file included from jsatom.h:53,
from jsapi.c:57:
jslock.h:60: error: expected specifier-qualifier-list before ‘PRLock’
jslock.h:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘JSLock’
In file included from jsapi.c:59:
jscntxt.h:181: error: expected specifier-qualifier-list before ‘PRLock’
jsapi.c: In function ‘JS_Init’:
jsapi.c:681: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:681: warning: implicit declaration of function ‘PR_NewLock’
jsapi.c:682: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:684: error: ‘JSRuntime’ has no member named ‘gcDone’
jsapi.c:684: warning: implicit declaration of function ‘PR_NewCondVar’
jsapi.c:684: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:685: error: ‘JSRuntime’ has no member named ‘gcDone’
jsapi.c:687: error: ‘JSRuntime’ has no member named ‘requestDone’
jsapi.c:687: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:688: error: ‘JSRuntime’ has no member named ‘requestDone’
jsapi.c:693: error: ‘JSRuntime’ has no member named ‘rtLock’
jsapi.c:694: error: ‘JSRuntime’ has no member named ‘rtLock’
jsapi.c:696: error: ‘JSRuntime’ has no member named ‘stateChange’
jsapi.c:696: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:697: error: ‘JSRuntime’ has no member named ‘stateChange’
jsapi.c:699: error: ‘JSRuntime’ has no member named ‘setSlotLock’
jsapi.c:700: error: ‘JSRuntime’ has no member named ‘setSlotLock’
jsapi.c:702: error: ‘JSRuntime’ has no member named ‘setSlotDone’
jsapi.c:702: error: ‘JSRuntime’ has no member named ‘setSlotLock’
jsapi.c:703: error: ‘JSRuntime’ has no member named ‘setSlotDone’
jsapi.c:705: error: ‘JSRuntime’ has no member named ‘scopeSharingDone’
jsapi.c:705: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:706: error: ‘JSRuntime’ has no member named ‘scopeSharingDone’
jsapi.c:708: error: ‘JSRuntime’ has no member named ‘scopeSharingTodo’
jsapi.c: In function ‘JS_Finish’:
jsapi.c:740: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:741: warning: implicit declaration of function ‘PR_DestroyLock’
jsapi.c:741: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:742: error: ‘JSRuntime’ has no member named ‘gcDone’
jsapi.c:743: warning: implicit declaration of function ‘PR_DestroyCondVar’
jsapi.c:743: error: ‘JSRuntime’ has no member named ‘gcDone’
jsapi.c:744: error: ‘JSRuntime’ has no member named ‘requestDone’
jsapi.c:745: error: ‘JSRuntime’ has no member named ‘requestDone’
jsapi.c:746: error: ‘JSRuntime’ has no member named ‘rtLock’
jsapi.c:747: error: ‘JSRuntime’ has no member named ‘rtLock’
jsapi.c:748: error: ‘JSRuntime’ has no member named ‘stateChange’
jsapi.c:749: error: ‘JSRuntime’ has no member named ‘stateChange’
jsapi.c:750: error: ‘JSRuntime’ has no member named ‘setSlotLock’
jsapi.c:751: error: ‘JSRuntime’ has no member named ‘setSlotLock’
jsapi.c:752: error: ‘JSRuntime’ has no member named ‘setSlotDone’
jsapi.c:753: error: ‘JSRuntime’ has no member named ‘setSlotDone’
jsapi.c:754: error: ‘JSRuntime’ has no member named ‘scopeSharingDone’
jsapi.c:755: error: ‘JSRuntime’ has no member named ‘scopeSharingDone’
jsapi.c: In function ‘JS_BeginRequest’:
jsapi.c:795: warning: implicit declaration of function ‘PR_Lock’
jsapi.c:795: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:798: error: ‘JSRuntime’ has no member named ‘gcThread’
jsapi.c:800: warning: implicit declaration of function ‘PR_WaitCondVar’
jsapi.c:800: error: ‘JSRuntime’ has no member named ‘gcDone’
jsapi.c:800: error: ‘PR_INTERVAL_NO_TIMEOUT’ undeclared (first use in this function)
jsapi.c:800: error: (Each undeclared identifier is reported only once
jsapi.c:800: error: for each function it appears in.)
jsapi.c:804: error: ‘JSRuntime’ has no member named ‘requestCount’
jsapi.c:806: warning: implicit declaration of function ‘PR_Unlock’
jsapi.c:806: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c: In function ‘JS_EndRequest’:
jsapi.c:824: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:828: error: ‘JSRuntime’ has no member named ‘scopeSharingTodo’
jsapi.c:853: warning: implicit declaration of function ‘PR_NotifyAllCondVar’
jsapi.c:853: error: ‘JSRuntime’ has no member named ‘scopeSharingDone’
jsapi.c:856: error: ‘JSRuntime’ has no member named ‘requestCount’
jsapi.c:857: error: ‘JSRuntime’ has no member named ‘requestCount’
jsapi.c:858: error: ‘JSRuntime’ has no member named ‘requestCount’
jsapi.c:859: warning: implicit declaration of function ‘PR_NotifyCondVar’
jsapi.c:859: error: ‘JSRuntime’ has no member named ‘requestDone’
jsapi.c:861: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c: In function ‘JS_YieldRequest’:
jsapi.c:878: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:879: error: ‘JSRuntime’ has no member named ‘requestCount’
jsapi.c:880: error: ‘JSRuntime’ has no member named ‘requestCount’
jsapi.c:881: error: ‘JSRuntime’ has no member named ‘requestCount’
jsapi.c:882: error: ‘JSRuntime’ has no member named ‘requestDone’
jsapi.c:883: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:886: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:887: error: ‘JSRuntime’ has no member named ‘requestCount’
jsapi.c:888: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c: In function ‘JS_MapGCRoots’:
jsapi.c:1769: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c:1771: error: ‘JSRuntime’ has no member named ‘gcLock’
jsapi.c: In function ‘JS_MarkGCThing’:
jsapi.c:1816: error: ‘JSRuntime’ has no member named ‘gcThread’
jsapi.c: In function ‘JS_GetClass’:
jsapi.c:2112: error: ‘JSRuntime’ has no member named ‘gcThread’
jsapi.c:2113: warning: control reaches end of non-void function
jsapi.c: In function ‘JS_GetPrivate’:
jsapi.c:2154: error: ‘JSRuntime’ has no member named ‘gcThread’
jsapi.c: In function ‘JS_GetPrototype’:
jsapi.c:2183: error: ‘JSRuntime’ has no member named ‘gcThread’
jsapi.c: In function ‘JS_GetParent’:
jsapi.c:2204: error: ‘JSRuntime’ has no member named ‘gcThread’
jsapi.c: In function ‘prop_iter_finalize’:
jsapi.c:3141: error: ‘JSRuntime’ has no member named ‘gcThread’
jsapi.c: In function ‘prop_iter_mark’:
jsapi.c:3163: error: ‘JSRuntime’ has no member named ‘gcThread’
jsapi.c: In function ‘JS_SetCheckObjectAccessCallback’:
jsapi.c:3310: error: ‘JSRuntime’ has no member named ‘checkObjectAccess’
jsapi.c:3311: error: ‘JSRuntime’ has no member named ‘checkObjectAccess’
jsapi.c: In function ‘JS_HoldPrincipals’:
jsapi.c:3365: warning: implicit declaration of function ‘PR_AtomicIncrement’
jsapi.c:3365: error: ‘PRInt32’ undeclared (first use in this function)
jsapi.c:3365: error: expected expression before ‘)’ token
jsapi.c: In function ‘JS_DropPrincipals’:
jsapi.c:3371: warning: implicit declaration of function ‘PR_AtomicDecrement’
jsapi.c:3371: error: ‘PRInt32’ undeclared (first use in this function)
jsapi.c:3371: error: expected expression before ‘)’ token
jsapi.c: In function ‘JS_SetPrincipalsTranscoder’:
jsapi.c:3383: error: ‘JSRuntime’ has no member named ‘principalsTranscoder’
jsapi.c:3384: error: ‘JSRuntime’ has no member named ‘principalsTranscoder’
jsapi.c: In function ‘JS_SetObjectPrincipalsFinder’:
jsapi.c:3393: error: ‘JSRuntime’ has no member named ‘findObjectPrincipals’
jsapi.c:3394: error: ‘JSRuntime’ has no member named ‘findObjectPrincipals’
make[1]: *** [Linux_All_DBG.OBJ/jsapi.o] Error 1
make[1]: Leaving directory `/usr/local/games/trunk/libraries/spidermonkey/src/js/src'
make: *** [all] Error 2
make: Leaving directory `/usr/local/games/trunk/libraries/spidermonkey/src/js/src'
/libjs.a out of date, copying from /usr/local/games/trunk/libraries/spidermonkey/src/dist/lib/libjs.a
cp: cannot stat `/usr/local/games/trunk/libraries/spidermonkey/src/dist/lib/libjs.a': No such file or directory
../include/js/jsautocfg.h out of date, copying from /usr/local/games/trunk/libraries/spidermonkey/src/dist/include/jsautocfg.h
cp: cannot stat `/usr/local/games/trunk/libraries/spidermonkey/src/dist/include/jsautocfg.h': No such file or directory
ERROR: SpiderMonkey build failed

I belive the second part of the out put is a java error, but i have java already installed on my system. What about the first part of the out put? I followed the instructions from here http://trac.wildfiregames.com/wiki/BuildInstructions and i have all the packages required in order for me to start the compile job.

Has anyone came across this issue? And of course how can i solve this?

System spec`s: Intel Core 2 Duo at 2Ghz with 2Gb of RAM, Nvidia GeForce 7300 GS, OS: OpenSuse 11.0

Link to comment
Share on other sites

I did install nspr and after that i have re-downloaded the sources.

This time i got the following error :

==== Building pyrogenesis ====
main.cpp
Linking pyrogenesis
../../../binaries/system/liblowlevel_dbg.a(file_system.o): In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
file_system.cpp:(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x4e): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
../../../binaries/system/liblowlevel_dbg.a(file_system.o): In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
file_system.cpp:(.text._ZN5boost10filesystem12is_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x4e): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
collect2: ld returned 1 exit status
make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1
make: *** [pyrogenesis] Error 2

I run make instead of make -j3 just to be sure i don`t get any errors . But still i get an error. What seems to be the issue now idle ?

PS: Is there a need for root access ?

Edited by creation
Link to comment
Share on other sites

I did install nspr and after that i have re-downloaded the sources.

This time i got the following error :

==== Building pyrogenesis ====
main.cpp
Linking pyrogenesis
../../../binaries/system/liblowlevel_dbg.a(file_system.o): In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
file_system.cpp:(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x4e): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
../../../binaries/system/liblowlevel_dbg.a(file_system.o): In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
file_system.cpp:(.text._ZN5boost10filesystem12is_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x4e): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
collect2: ld returned 1 exit status
make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1
make: *** [pyrogenesis] Error 2

I run make instead of make -j3 just to be sure i don`t get any errors . But still i get an error. What seems to be the issue now idle ?

Please go into build/workspace and run:

./update-workspace.sh --verbose

cd gcc

make

PS: Is there a need for root access ?

No!

Link to comment
Share on other sites

./update-workspace.sh --verbose

bash: ./update-workspace.sh: No such file or directory

./update-workspace.sh -verbose

bash: ./update-workspace.sh: No such file or directory

./update-workspace.sh -help

bash: ./update-workspace.sh: No such file or directory

It does not work . Have any ideas idle ?

Link to comment
Share on other sites

Are you sure the SVN checkout were ok? I mean there seems to be a lot of "No such file or directory" and similar. I'm no programmer though so perhaps there might be other reasons, but have you double-checked that the files are there and that you're in the right folder when trying to execute update-workspace.sh?

Link to comment
Share on other sites

Are you sure the SVN checkout were ok? I mean there seems to be a lot of "No such file or directory" and similar. I'm no programmer though so perhaps there might be other reasons, but have you double-checked that the files are there and that you're in the right folder when trying to execute update-workspace.sh?

Again i have deleted the folder trunk and downloaded yet again the files using svn and after the download was complete this message apparead : Checked out revision 7113. If there is a way to check for files issues (if i may say so) please tell me how to do that.

When i execute ./update-workspace.sh(from the right folder) i get the same error as stated in the post from Aug 12 2009, 09:47 AM(3rd post)

If you have any other ideas for me to try please tell me.

Edited by creation
Link to comment
Share on other sites

./update-workspace.sh --verbose

bash: ./update-workspace.sh: No such file or directory

./update-workspace.sh -verbose

bash: ./update-workspace.sh: No such file or directory

./update-workspace.sh -help

bash: ./update-workspace.sh: No such file or directory

the missing S...

Link to comment
Share on other sites

darn... you are right ...

collect2: ld returned 1 exit status
make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1
make: *** [pyrogenesis] Error 2

Here is the final part that i get when i run make inside the gcc folder.

This is what ./update-workspaces.sh --verbose show`s

./update-workspaces.sh --verbose
bash -c 'mkdir -p output/{debug,release,test}/{FCollada/{FCDocument,FMath,FUtils,FColladaTest/{FCTestAssetManagement,FCTestExportImport,FCTestXRef}},FColladaPlugins/FArchiveXML}'
cp output/libFColladaSD.a ../lib/libFColladaSD.a
cp output/libFColladaSR.a ../lib/libFColladaSR.a
cat: ../../dist/Linux_All_DBG.OBJ/nspr/Version: No such file or directory
make: Entering directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src'
cd editline; make -f Makefile.ref all
make[1]: Entering directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src/editline'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src/editline'
cd fdlibm; make -f Makefile.ref all
make[1]: Entering directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src/fdlibm'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src/fdlibm'
make -f Makefile.ref Linux_All_DBG.OBJ/libjs.a Linux_All_DBG.OBJ/libjs.so Linux_All_DBG.OBJ/js Linux_All_DBG.OBJ/jsautocfg.h Linux_All_DBG.OBJ/jscpucfg Linux_All_DBG.OBJ/jscpucfg.o Linux_All_DBG.OBJ/jsmathtemp.o
cat: ../../dist/Linux_All_DBG.OBJ/nspr/Version: No such file or directory
make[1]: Entering directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src'
make[1]: Circular jscpucfg.h <- Linux_All_DBG.OBJ/jsautocfg.h dependency dropped.
make[1]: Circular Linux_All_DBG.OBJ/jsautocfg.h <- Linux_All_DBG.OBJ/jsautocfg.h dependency dropped.
make[1]: `Linux_All_DBG.OBJ/libjs.a' is up to date.
make[1]: `Linux_All_DBG.OBJ/libjs.so' is up to date.
make[1]: `Linux_All_DBG.OBJ/js' is up to date.
make[1]: `Linux_All_DBG.OBJ/jsautocfg.h' is up to date.
make[1]: `Linux_All_DBG.OBJ/jscpucfg' is up to date.
make[1]: `Linux_All_DBG.OBJ/jscpucfg.o' is up to date.
make[1]: Nothing to be done for `Linux_All_DBG.OBJ/jsmathtemp.o'.
make[1]: Leaving directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src'
cd editline; make -f Makefile.ref export
make[1]: Entering directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src/editline'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src/editline'
cd fdlibm; make -f Makefile.ref export
make[1]: Entering directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src/fdlibm'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src/fdlibm'
mkdir -p /home/creatura/trunk/libraries/spidermonkey/src/dist/include /home/creatura/trunk/libraries/spidermonkey/src/dist/lib /home/creatura/trunk/libraries/spidermonkey/src/dist/bin
cp jsarray.h jsatom.h jsbool.h jsconfig.h jscntxt.h jsdate.h jsemit.h jsexn.h jsfun.h jsgc.h jsinterp.h jslibmath.h jslock.h jsmath.h jsnum.h jsobj.h jsopcode.h jsparse.h jsarena.h jsclist.h jsdhash.h jsdtoa.h jshash.h jslong.h jsosdep.h jstypes.h jsprvtd.h jspubtd.h jsregexp.h jsscan.h jsscope.h jsscript.h jsstr.h jsxdrapi.h jsxml.h jsapi.h jsdbgapi.h jsbit.h jscompat.h jscpucfg.h jsotypes.h jsstddef.h prmjtime.h resource.h jsopcode.tbl js.msg jsshell.msg Linux_All_DBG.OBJ/jsautocfg.h /home/creatura/trunk/libraries/spidermonkey/src/dist/include
cp Linux_All_DBG.OBJ/libjs.a /home/creatura/trunk/libraries/spidermonkey/src/dist/lib
cp Linux_All_DBG.OBJ/libjs.so /home/creatura/trunk/libraries/spidermonkey/src/dist/lib
cp Linux_All_DBG.OBJ/js /home/creatura/trunk/libraries/spidermonkey/src/dist/bin
make: Leaving directory `/home/creatura/trunk/libraries/spidermonkey/src/js/src'
../lib/libjs.a already up-to-date
../include/js/jsautocfg.h already up-to-date
make: Entering directory `/home/creatura/trunk/build/premake/src'
==== Building Premake ====
make[1]: `../bin/premake' is up to date.
make: Leaving directory `/home/creatura/trunk/build/premake/src'
Generating GNU makefiles:
...pyrogenesis
...network
...engine
...graphics
...i18n
...atlas
...gui
...lowlevel
...mocks_real
...mocks_test
...AtlasObject
...AtlasScript
...wxJS
...AtlasUI
...ActorEditor
...ColourTester
...Collada
...test_gen
...test

Edited by creation
Link to comment
Share on other sites

Ok, i will do that ;)

Later edit:

Again all goes well until this :

==== Building pyrogenesis ====
mkdir -p obj/pyrogenesis_Debug
g++ -MD -I "/usr/X11R6/include/X11" -I "/usr/X11R6/include" -I "/usr/include/X11" -I "../../../source/pch/pyrogenesis" -I "../../../source/" -I "../../../libraries/spidermonkey/include" -I "../../../libraries/cxxtest/include" -g -Wall -Wno-switch -Wno-reorder -Wno-invalid-offsetof -Wextra -Wno-missing-field-initializers -Wunused-parameter -Wredundant-decls -fstack-protector-all -D_FORTIFY_SOURCE=2 -fstrict-aliasing -fpch-preprocess -msse -ffast-math -fvisibility=hidden `pkg-config sdl --cflags` `pkg-config nspr --cflags` `pkg-config libxml-2.0 --cflags` -MF obj/pyrogenesis_Debug/main.d -o obj/pyrogenesis_Debug/main.o -c ../../../source/main.cpp
mkdir -p ../../../binaries/system
mkdir -p ../../../binaries/system
mkdir -p ../../../binaries/system
g++ -o ../../../binaries/system/pyrogenesis_dbg -L../../../binaries/system -L../../../binaries/system -Wl,--no-undefined -Wl,--as-needed -rdynamic -L"../../../libraries/cxxtest/lib" -L"../../../libraries/spidermonkey/lib" -L"/usr/X11R6/lib" obj/pyrogenesis_Debug/main.o -Xlinker --start-group ../../../binaries/system/libmocks_real_dbg.a ../../../binaries/system/libnetwork_dbg.a ../../../binaries/system/libengine_dbg.a ../../../binaries/system/libgraphics_dbg.a ../../../binaries/system/libi18n_dbg.a ../../../binaries/system/libatlas_dbg.a ../../../binaries/system/libgui_dbg.a ../../../binaries/system/liblowlevel_dbg.a -Xlinker --end-group -lenet -lfam -lpthread -lrt -lbfd -liberty -ldl -lGL -lGLU -lX11 -ljpeg -lpng -lz -ljs -lopenal -lvorbisfile -lboost_signals-mt -lboost_filesystem-mt -lboost_system-mt `pkg-config sdl --libs` `pkg-config nspr --libs` `pkg-config libxml-2.0 --libs`
../../../binaries/system/liblowlevel_dbg.a(file_system.o): In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
file_system.cpp:(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x4e): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
../../../binaries/system/liblowlevel_dbg.a(file_system.o): In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
file_system.cpp:(.text._ZN5boost10filesystem12is_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x4e): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
collect2: ld returned 1 exit status
make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1
make: *** [pyrogenesis] Error 2

If you want i can upload the hole log, but i don`t see the need for that because pyrogenesis seems to be the issues here.

Later edit2: here is the full log :P

log.txt

Edited by creation
Link to comment
Share on other sites

Hm, it looks like there is a problem with how boost::filesystem is being linked in (or not, as it appears).

Searching for the missing reference in question yields this:

http://lists.boost.org/boost-users/2007/11/32237.php

.. so it may just be a matter of your boost_filesystem.* file's extension. Does it help if you copy it from .a to .o or vice versa?

Link to comment
Share on other sites

Did try to uninstall boost 1.34 but there was a problem with depencies so i did install the devel files for boost 1.36 no problem here with depencies . After compiling i get the same error :

==== Building pyrogenesis ====
main.cpp
Linking pyrogenesis
../../../binaries/system/liblowlevel_dbg.a(file_system.o): In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
file_system.cpp:(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x4e): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
../../../binaries/system/liblowlevel_dbg.a(file_system.o): In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
file_system.cpp:(.text._ZN5boost10filesystem12is_directoryINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::is_directory<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x4e): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
collect2: ld returned 1 exit status
make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Error 1
make: *** [pyrogenesis] Error 2

An open suse user with some ideea would help ...

Link to comment
Share on other sites

  • 2 weeks later...

hi there

I'm on Gentoo, using dev-libs/boost-1.39.0, and when I try to compile 0AD I get the following error:

==== Building mocks_real ====

make[1]: `../../../binaries/system/libmocks_real_dbg.a' is up to date.

==== Building network ====

make[1]: *** No rule to make target

`/usr/include/boost/detail/shared_count.hpp', needed by

`obj/network_Debug/precompiled.h.gch'. Stop.

make: *** [network] Error 2

I checked /usr/include/boost/detail, there's no such file

boost-1.37 doesn't contain that file either

does anyone have any suggestions?

I googled the error ("make[1]: ... shared_count.hpp"), the only match I found was about 0AD, unfortunately it was on the Italian Arch Linux forums

Link to comment
Share on other sites

hi there

I'm on Gentoo, using dev-libs/boost-1.39.0, and when I try to compile 0AD I get the following error:

==== Building mocks_real ====

make[1]: `../../../binaries/system/libmocks_real_dbg.a' is up to date.

==== Building network ====

make[1]: *** No rule to make target

`/usr/include/boost/detail/shared_count.hpp', needed by

`obj/network_Debug/precompiled.h.gch'. Stop.

make: *** [network] Error 2

I checked /usr/include/boost/detail, there's no such file

boost-1.37 doesn't contain that file either

does anyone have any suggestions?

I googled the error ("make[1]: ... shared_count.hpp"), the only match I found was about 0AD, unfortunately it was on the Italian Arch Linux forums

At least boost-1.37.0 contains this file and I'm sure 1.39.0 as well.

Did you set your boost profile properly?

Try:

eselect boost list

Pick the most recent version and set your profile.

E.g.:

eselect boost set 2

Link to comment
Share on other sites

I just emerged boost (1.39.0) on my new computer and the file is missing there, too

here's the folder's content:

varg hugin # ls /usr/include/boost/detail/
algorithm.hpp lcast_precision.hpp
allocator_utilities.hpp lightweight_mutex.hpp
atomic_count.hpp lightweight_test.hpp
binary_search.hpp lightweight_thread.hpp
call_traits.hpp limits.hpp
catch_exceptions.hpp named_template_params.hpp
compressed_pair.hpp no_exceptions_support.hpp
container_fwd.hpp none_t.hpp
dynamic_bitset.hpp numeric_traits.hpp
endian.hpp ob_call_traits.hpp
has_default_constructor.hpp ob_compressed_pair.hpp
identifier.hpp quick_allocator.hpp
indirect_traits.hpp reference_content.hpp
interlocked.hpp select_type.hpp
is_function_ref_tester.hpp sp_typeinfo.hpp
is_incrementable.hpp templated_streams.hpp
is_xxx.hpp utf8_codecvt_facet.hpp
iterator.hpp workaround.hpp

EDIT:

I think I found the file... its in a different directory:

varg hugin # slocate -i shared_count.hpp
/usr/include/boost-1_39/boost/interprocess/smart_ptr/detail/shared_count.hpp
/usr/include/boost-1_39/boost/smart_ptr/detail/shared_count.hpp

is this a gentoo-only problem or has the file been moved in newer versions of boost?

Edited by Hugin
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...