site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi folks - I am attempting to get the ADAPTIVE Communication Environment (ACE) to compile cleanly under OS X 10.4 using GCC 4.0. While I have been able to successfuly resolve almost all of the issues that I have encountered whilst migrating the Panther configurations, I have been beating my head against this one particular problem for a day now. When I try to link one portion of the project, I get the following: ================ libtool -dynamic -o libasnmp.dylib .shobj/address.o .shobj/asn1.o .shobj/counter.o .shobj/ctr64.o .shobj/gauge.o .shobj/integer.o .shobj/octet.o .shobj/oid.o .shobj/pdu.o .shobj/snmp.o .shobj/target.o .shobj/timetick.o .shobj/transaction.o .shobj/vb.o .shobj/wpdu.o .shobj/sagent.o -flat_namespace -undefined warning -L/build/wotte/gcc4/ACE_wrappers/ace -L./ -L. -L/build/wotte/gcc4/ACE_wrappers/lib -lACE -lstdc++.6 -lSystem -lSystemStubs ld: for architecture ppc ld: warning undefined symbols: restFP saveFP ld: .shobj/ctr64.o has external relocation entries in non-writable section (__TEXT,__text) for symbols: restFP saveFP libtool: internal link edit command failed ================ I have consulted google extensively, and just about the only cause that I was able to find for this link error was mixing fortran code compiled using a non-apple GCC with c/c++ code compiled by the Apple GCC. Since ACE lacks any fortran code whatsoever, I am hard-pressed to extract a solution from the documents that I have located on Google. I have tried linking to several different libraries in /usr/lib, but to no avail. Could someone on this list perhaps suggest some alternate courses of action? Thanks, /-Will _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
William Otte