Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

restFP/saveFP problems



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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.