Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#34 zlib in configure script

open
nobody
None
5
2006-03-01
2006-03-01
Anonymous
No

In 0.1.11 the configure script claims to not find
uncompress in -lz. Investigating configure.log, I
noticed that there was an undefined refernce to pow()
that caused that error to be reported. Simply including
-lm in $LIBS
(in file configure on line 3647 on my system) takes
care of that issue.
The line now looks like this: LIBS="-lz -lm $LIBS"

Could be worth checking out.

--
Erik Ljungström
erik@ibiblio[dot]org

Discussion

  • Logged In: NO

    What's your system?

    Unfortunetly no tinkering with the configure-file itself is
    possible - the changes have to be added to configure.in
    (probably)...

    Btw, I can't see why an undefined reference to an -lm
    function can cause a zlib problem?

    Anyway, if -lm isn't anywhere to be found in configure.in,
    it's a bug and I'll try to fix it :)

    Thanks for the bug report

     
  • Logged In: NO

    This bug is still there in 0.2.2, i'm running a slackware 10.2.

    I hope this will get fixed some day. Up to now for every
    release i had (and still have) to dig this bug report to be
    able to compile xmoto :(

    If more info is needed just ask (albeu(at)free(dot)fr).

    Albeu