-multiply_defined treatment (32-bit only)
Specifies how multiply defined symbols in dynamic libraries when -twolevel_namespace is in effect are to be treated. treatment can be: error, warning, or suppress. Which cause the treatment of multiply defined symbols in dynamic libraries as either, errors, warnings, or suppresses the checking of multiply symbols from dynamic libraries when -twolevel_namespace is in effect. The default is to treat multiply defined symbols in dynamic libraries as warnings when -twolevel_namespace is in effect.

Begin forwarded message:
From: "Alexander K. Hansen" <[EMAIL PROTECTED]>
Date: 18 December 2005 01:21:29 am GMT
To: Murali Vadivelu <[EMAIL PROTECTED]>
Cc: [email protected]
Subject: Re: [Fink-devel] Strange linking error

On 12/17/05, Murali Vadivelu <[EMAIL PROTECTED]> wrote:
/bin/sh ../libtool --silent --tag=CC --mode=link gcc-3.3  -O3 -fPIC -
fno-common -ffast-math -mtune=970 -maltivec  -multiply_defined
suppress -L/sw/lib -o libLabPlotcephes.la -rpath /sw/lib -version-
info 6:0:5 acosh.lo fresnl.lo incbi.lo polevl.lo stdtr.lo airy.lo
const.lo gamma.lo isnan.lo log2.lo polyn.lo struve.lo asinh.lo
dawsn.lo gdtr.lo iv.lo psi.lo unity.lo atanh.lo ellie.lo hyp2f1.lo
j0.lo revers.lo yn.lo beta.lo ellik.lo hyperg.lo j1.lo rgamma.lo
zeta.lo cbrt.lo ellpe.lo i0.lo jn.lo round.lo zetac.lo ellpk.lo i1.lo
jv.lo mtherr.lo chbevl.lo expn.lo igam.lo k0.lo ndtr.lo shichi.lo
chdtr.lo fac.lo igami.lo k1.lo ndtri.lo sici.lo fdtr.lo incbet.lo
kn.lo pdtr.lo spence.lo
gcc-3.3: suppress: No such file or directory
make[1]: *** [libLabPlotcephes.la] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2

Why am I getting this error? Why is the flag considered a file name?

I used SetLDFLAGS in the info file. Please clarify!


should it be

-suppress

rather than

suppress

?

--
Alexander K. Hansen
Fink Documenter
[Day Job] Levitated Dipole Experiment
http://psfcwww2.psfc.mit.edu/ldx/

Begin forwarded message:

From: Peter O'Gorman <[EMAIL PROTECTED]>
Date: 18 December 2005 01:52:47 am GMT
To: Murali Vadivelu <[EMAIL PROTECTED]>
Cc: [email protected]
Subject: Re: [Fink-devel] Strange linking error

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Murali Vadivelu wrote:
| /bin/sh ../libtool --silent --tag=CC --mode=link gcc-3.3 -O3 - fPIC - | fno-common -ffast-math -mtune=970 -maltivec -multiply_defined suppress
| -L/sw/lib -o libLabPlotcephes.la -rpath /sw/lib -version- info 6:0:5
| acosh.lo fresnl.lo incbi.lo polevl.lo stdtr.lo airy.lo  const.lo
| gamma.lo isnan.lo log2.lo polyn.lo struve.lo asinh.lo dawsn.lo gdtr.lo | iv.lo psi.lo unity.lo atanh.lo ellie.lo hyp2f1.lo j0.lo revers.lo yn.lo
| beta.lo ellik.lo hyperg.lo j1.lo rgamma.lo  zeta.lo cbrt.lo ellpe.lo
| i0.lo jn.lo round.lo zetac.lo ellpk.lo i1.lo jv.lo mtherr.lo chbevl.lo | expn.lo igam.lo k0.lo ndtr.lo shichi.lo chdtr.lo fac.lo igami.lo k1.lo
| ndtri.lo sici.lo fdtr.lo incbet.lo  kn.lo pdtr.lo spence.lo
| gcc-3.3: suppress: No such file or directory
| make[1]: *** [libLabPlotcephes.la] Error 1
| make: *** [all-recursive] Error 1
| ### execution of make failed, exit code 2
|
| Why am I getting this error? Why is the flag considered a file name?
|
| I used SetLDFLAGS in the info file. Please clarify!

Use -Wl,-multiply_defined,suppress or -Wl,-multiply_defined - Wl,suppress

If you removed the --silent from the libtool line you'd see that the
- -multiply_defined got eaten by libtool.

Peter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQ6TA77iDAg3OZTLPAQLDQwQAuDRGnmw2d9XT8ukZ7AxEOWXB4Re8nRot
Ws1APApCZb3sTfwKZbRIXTxudpge6CG/SlSyWXUPj1EJtm2vDN2rKQiQOyNRrukW
JKp3UyDf2svT0Y5jjoeXIOnmp+tKAfBMaZhQDW1O/0mSJ3mlUdAXY2RN/nsjJpq5
f2eJrOURT+8=
=2wNk
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to