[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope
Subject:    [Zope] [Zope]Compiling ZOracleDA?
From:       martin.sonntag () nokia ! com martin ! sonntag () nokia ! com
Date:       1999-05-31 10:02:05
[Download RAW message or body]

> Maybe you're not explicitly linking against 'libm', the standard math
> library; it defines that log10l function; so your linker 
> flags should read
> something like this:
> 	... ..../libcore3.a -lm

My standard libm.a (Solaris 2.7) does _not_ define this symbol.
But I was on the right way...

I did another brute-force 'nm' on all libraries and found
out that the SUNWspro compiler seems to use a different
math library, libsunmath.a.
Since I was compiling with gcc, the library wasn't used at all.

Now I added -L/applic/opt/V3_N2/SUNWspro/SC3.0.1/lib -lsunmath
to the Makefile and it works!
(Your SUNWspro compiler directory may be in /opt/SUNWspro/lib)

I hope this helps other people compiling the stuff.

Martin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic