Re: how to link orbix 2.0.1mt with oracle oci 7.3.2.2?
Date: 1996/10/04
Message-ID: <dztu3sa7gmj.fsf_at_eng.sun.com>#1/1
Andrew Davidson <aed_at_scruz.net> writes:
> anyone know what the libsunmath_mt.a is? my oci program did not need
> it, but when I linked orbix in with oci the link editor became
> unhappy. I found two version of this lib
>
> /opt/SUNWspro/SC3.0.1/lib/libp/libsunmath_mt.a
> /opt/SUNWspro/SC3.0.1/lib/libsunmath_mt.a
>
> if I used the one in libp I get a unresolved symbol _mcount?
>
>
> thanks in advance
>
> Andy (I am using the sparc works c++ compiler)
The unresolved symbol '_mcount' is a hint that this is a library used for profiling. When profilining an external 'mcount' must be declared my the main program, which is done automagically when compiling '-pg'. Another hint is its location (under lib/libp - probably p=performance or p=profiling).
2 hints means we can vaguely say: use the .../lib/libsunmath_mt.a
-Christian
-- "The solution used to be to ask everyone on the Net. But then he graduated!?!" "Faced with panic & terror, the solution was to `get connected'..." Christian J. Callsen [ Christian.Callsen_at_Eng.Sun.COM ] ---- Sm:^le & Be Happy Sun Microsystems SunSoft/NEO,2550 Garcia Av. MPK 18-209,Mountain View CA 94043Received on Fri Oct 04 1996 - 00:00:00 CEST