GLBasic forum

Main forum => GLBasic - en => Topic started by: kfcws on 2011-Mar-21

Title: Missing Libs for Pandora compiling
Post by: kfcws on 2011-Mar-21
I've just tried a quick cross compile for Pandora and I got the below output:

Quote
_______________________________________
*** Configuration: PANDORA ***
precompiling:
GPC - GLBasic Precompiler V.7.861 SN:e108497f - 3D, NET
Wordcount:600 commands
compile+link:
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libts-1.0.so.0, needed by Q:\Compiler\platform\pandora\lib/libSDL.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libmad.so.0, needed by Q:\Compiler\platform\pandora\lib/libSDL_mixer.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libIMGegl.so, needed by Q:\Compiler\platform\pandora\lib/libGLES_CM.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libsrv_um.so, needed by Q:\Compiler\platform\pandora\lib/libGLES_CM.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libXau.so.6, needed by Q:\Compiler\platform\pandora\lib/libX11.so, not found (try using -rpath or -rpath-link)
Q:/Compiler/platform/Pandora/bin/ld.exe: warning: libXdmcp.so.6, needed by Q:\Compiler\platform\pandora\lib/libX11.so, not found (try using -rpath or -rpath-link)
success
_______________________________________
*** Finished ***

I looked through the pandora and other platforms but couldn't see any of the missing files.... any ideas?

Thanks,

KFCWS
Title: Re: Missing Libs for Pandora compiling
Post by: MrTAToad on 2011-Mar-21
You can ignore warnings
Title: Re: Missing Libs for Pandora compiling
Post by: LineOf7s on 2011-Mar-21
If you'd rather get rid of the warnings than just ignore them, you could check THIS POST (http://www.glbasic.com/forum/index.php?topic=5874.msg46406#msg46406), specifically this section:

Quote from: WizardStanThose warnings are not strictly a problem but they are annoying.  I took the liberty of pulling the respective files off my Pandora and bundling them up here (see below)Just drop them into the arm-none-linux-gnueabi\libc\lib directory and the warnings disappear.

The files mentioned are hosted HERE (http://www.rebirthofxeen.com/files/pandora/libs.rar).

Hope that helps.

(Perhaps these files could be incorporated into GLBasic... or hosted on the GLBasic site and stickied... or something?  I know one can just ignore warnings, but it's not really a good look, is it?)
Title: Re: Missing Libs for Pandora compiling
Post by: MrTAToad on 2011-Mar-22
Indeed - its always best not to see or have to deal with them...
Title: Re: Missing Libs for Pandora compiling
Post by: kfcws on 2011-Mar-22
Thanks,  I followed the guide to add them.  Warnings generally only cause me headaches further down the line.

On a related note,

I'm finding that code that runs fine on the Wiz slows down significantly on the Pandora after a minute.  Is this normal?
Title: Re: Missing Libs for Pandora compiling
Post by: Kitty Hello on 2011-Mar-22
uh-oh. Let it run further - will it crash after some time?
Can you view the memory usage (maybe in the background). Slowing down usually means "hog memory".