Author Topic: lib math not found  (Read 3006 times)

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
lib math not found
« 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
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

aplanas

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
lib math not found
« Reply #1 on: July 14, 2004, 07:35:19 am »

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
lib math not found
« Reply #2 on: July 14, 2004, 07:47:01 am »
ok,
thankyou very much ...i will download it
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
lib math not found
« Reply #3 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 !
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
lib math not found
« Reply #4 on: July 14, 2004, 10:19:22 pm »
Have you tried zgcc?  That's what I use on the zaurus for native compile.
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
lib math not found
« Reply #5 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
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
lib math not found
« Reply #6 on: July 15, 2004, 01:14:01 pm »
OK i find libm.a for arm !
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307