IPB Style© Fisana

Jump to content


libAtlasUI_dbg.so: undefined reference to `JS_BeginRequest


  • Please log in to reply
4 replies to this topic

#1 alfred_b

alfred_b

  • Community Newbie

  • Tiro
    (3 posts)

Posted 17 July 2009 - 09:42 AM

Hi there, so far I have managed to install all dependencies and building went mostly fine. But there rests one error which I can't fix because I don't know what causes that problem.
Do you maybe have an idea?
Linking ArchiveViewer																						   
../../../binaries/system/libAtlasUI_dbg.so: undefined reference to `JS_BeginRequest'
../../../binaries/system/libAtlasUI_dbg.so: undefined reference to `JS_EndRequest'
collect2: ld returned 1 exit status
../../../binaries/system/libAtlasUI_dbg.so: undefined reference to `JS_BeginRequest'
../../../binaries/system/libAtlasUI_dbg.so: undefined reference to `JS_EndRequest'
collect2: ld returned 1 exit status
../../../binaries/system/libAtlasUI_dbg.so: undefined reference to `JS_BeginRequest'
../../../binaries/system/libAtlasUI_dbg.so: undefined reference to `JS_EndRequest'
collect2: ld returned 1 exit status
make[1]: *** [../../../binaries/system/ActorEditor_dbg] Fehler 1
make[1]: *** [../../../binaries/system/ArchiveViewer_dbg] Fehler 1
make: *** [ActorEditor] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
make[1]: *** [../../../binaries/system/ColourTester_dbg] Fehler 1
make: *** [ColourTester] Fehler 2
make: *** [ArchiveViewer] Fehler 2
 

Thanks in advance
Alfred

#2 Ykkrosh

Ykkrosh

  • WFG Programming Team

  • Primus Pilus
    (4,869 posts)

Posted 17 July 2009 - 11:41 AM

You have a non-threadsafe version of SpiderMonkey, and it needs to be recompiled with the threadsafety feature.

What OS/distro are you using? Some come with the right version as standard, but probably not all. Gentoo makes it configurable with USE=threadsafe. It might be necessary to compile it yourself to get the right version.
Philip Taylor [aka Ykkrosh]

Wildfire Games Programmer
Contact me: philip@wildfiregames.com

#3 alfred_b

alfred_b

  • Community Newbie

  • Tiro
    (3 posts)

Posted 17 July 2009 - 11:47 AM

I am using OpenSUSE 11.1 but I thought I had downloaded SpiderMonkey according to your howto ...

#4 alfred_b

alfred_b

  • Community Newbie

  • Tiro
    (3 posts)

Posted 17 July 2009 - 12:27 PM

Strange, I tried it again and now it worked fine.
But anyway, after a short while 0ad crashed:
ERROR: Failed to find matching prop point called "antler" in model "art/meshes/skeletal/deer_mesh.dae" for actor "fauna/deer.xml"
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'fauna_sheep'																			  
ERROR: Failed to load entity template 'iber_dock'																				
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
ERROR: CXeromyces: Failed to find XML file art/actors/props/special/eyecandy/water_waves.xml									 
ERROR: CObjectManager::FindObjectBase(): Cannot find object 'props/special/eyecandy/water_waves.xml'							 
GAME STARTED, ALL INIT COMPLETE																								  
EntityHandles.cpp(116): Assertion failed: "g_EntityManager.m_entities[m_handle].m_refcount"									  
udbg_bfd_init: loading symbols from ./pyrogenesis_dbg.																		   
Assertion failed: "g_EntityManager.m_entities[m_handle].m_refcount"															  
Location: EntityHandles.cpp:116 (operator CEntity*)																			  

Call stack:

(0x084c3500) ldbg.cpp:99 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)
(0x0848c444) debug.cpp:316 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
(0x0848c8f4) debug.cpp:437 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x0848c9d4) debug.cpp:515 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)							   
(0x082b8cd1) EntityHandles.cpp:116 HEntity::operator CEntity*() const																		 
(0x082f6720) Aura.cpp:52 CAura::Update(int)																								   
(0x082a4f29) Entity.cpp:450 CEntity::Update(int)																							  
(0x082c9402) EntityManager.cpp:448 CEntityManager::UpdateAll(int)																			 
(0x08302803) Simulation.cpp:179 CSimulation::Simulate()																					   
(0x08302c27) Simulation.cpp:107 CSimulation::Update(double)																				   
(0x082440b6) Game.cpp:237 CGame::Update(double, bool)																						 
(0x081f39ba) main.cpp:273 Frame																											   
(0x081f3e75) main.cpp:400 RunGameOrAtlas																									  
(0x081f3f0f) main.cpp:416 main																												
(0xb7602705) /lib/libc.so.6:0 __libc_start_main																							   
(0x081f3081) start.S:122 _start																											   

errno = 0 (?)
OS error = ? 


#5 Ykkrosh

Ykkrosh

  • WFG Programming Team

  • Primus Pilus
    (4,869 posts)

Posted 17 July 2009 - 09:07 PM

Hmm, yeah, the entity management and aura code is sometimes a little unreliable. I don't know what the exact problem is, but that area of the code will probably have to be reviewed and fixed at some point in the future, to hopefully stop the random crashes :)
Philip Taylor [aka Ykkrosh]

Wildfire Games Programmer
Contact me: philip@wildfiregames.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users