Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc



Ok, it does this : 

libtool -dynamic -lc -lgcc -lm -lstdc++  \
\
.objects/src/lib/cpp_impl/darwin-8.6.1-i386/OPT/LocalSpaceAzimuthal.o ...
.............................. (many lines)
..............................
... o .objects/src/lib/cpp_impl/support/darwin-8.6.1-i386/OPT/srm_pointscale.o .objects/src/lib/cpp_impl/support/darwin-8.6.1-i386/OPT/srm_com.o .objects/src/lib/cpp_impl/support/darwin-8.6.1-i386/OPT/srm_wgs84_geoid_separation.o  \
\
-dynamic  \
-o lib/darwin-8.6.1-i386/OPT-shared/libsrm_cpp.dylib
libtool: can't locate file for: -lgcc
libtool: file: -lgcc is not an object file (not allowed in a library)
libtool: can't locate file for: -lstdc++
libtool: file: -lstdc++ is not an object file (not allowed in a library)
make: [lib/darwin-8.6.1-i386/OPT-shared/libsrm_cpp.dylib] Error 1 (ignored)
c++    .objects/src/apps/sample_srm_access/darwin-8.6.1-i386/OPT/sample_srm_access.o  \
-dynamic -Llib/darwin-8.6.1-i386/OPT-shared \
-lsrm_cpp    -dynamic \
    -o bin/darwin-8.6.1-i386/OPT-shared/sample_srm_access

Do you have an idea how I can dix this ?

Thanks,
David
Le 13 mai 06 à 17:12, Peter O'Gorman a écrit :

On Sat, 2006-05-13 at 16:50 +0200, David Lascombe wrote:

libtool: can't locate file for: -lgcc

Please show the actual link line as well as the errors.

Thanks,
Peter


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc (From: David Lascombe <email@hidden>)
 >Re: first steps trying to compile UNIX meant toolkit under Darwin : libtool: can't locate file for: -lgcc (From: "Peter O'Gorman" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.