Jump to content

libAtlasUI_dbg.so: undefined reference to `JS_BeginRequest


Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 = ?

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...