OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: gab74 on July 14, 2004, 07:04:17 am

Title: lib math not found
Post by: gab74 on July 14, 2004, 07:04:17 am
Im'm using on my zaurus gcc from cramfs dev_1.3

but probably it lacks libmath

thi is the error :

/home/gcc/bin/ld: cannot find -lm


anyone can help me in finding libmath ???

Thanks
Title: lib math not found
Post by: aplanas on July 14, 2004, 07:35:19 am
You can use dev_1.5 (download from http://www.zaurususergroup.com/modules.php...ownload&sid=66) (http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=66))
Title: lib math not found
Post by: gab74 on July 14, 2004, 07:47:01 am
ok,
thankyou very much ...i will download it
Title: lib math not found
Post by: gab74 on July 14, 2004, 02:32:16 pm
i've installed new version but problem still remains...

/home/zaurus/develop/bin/ld: cannot find -lm
collect2: ld returned 1 exit status

On the web i find this
>if you have linking errors like "ld: cannot find -lm" when you compile e.g. the >examples contained in the smartease-drivers, this means that the static version >of the math library is not installed on your system.

so what is the solution for ZAURUS ?

it is important for me solving this problem...thanks !
Title: lib math not found
Post by: cmisip on July 14, 2004, 10:19:22 pm
Have you tried zgcc?  That's what I use on the zaurus for native compile.
Title: lib math not found
Post by: gab74 on July 15, 2004, 04:30:53 am
yes, i have tryed zgcc but il compile mplayer in a wrong mode...

i've recompiled mplayer with zgcc but when i play a video all audio is broken with strange sounds...
probably it compiles bad mp3 codec....

i don't know if zgcc has static libmath,

Can you send me only this library, i try to put it into ma lib dir....

i know zgcc is based on gcc 2.95.2 so i don't know it works....thanks
Title: lib math not found
Post by: gab74 on July 15, 2004, 01:14:01 pm
OK i find libm.a for arm !