Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / September 2003



Tip: Looking for answers? Try searching our database.

2 sad link errors...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stephane Pinel - 29 Sep 2003 16:07 GMT
Using CW8.3 MacOS X, I try to link with libgd (GD Image Library from
http://www.botell.com/dg/ ) and I always get these strange link errors:

Link Error : undefined: 'restFP' (code)
Referenced from 'gdImageCreate' in libgd.a

Link Error : undefined: 'saveFP' (code)
Referenced from 'gdImageCreate' in libgd.a

The libgd developer says that it can't comes from his lib since 'restFR'
and 'saveFP' mean nothing in the libgd...

After several days trying to understand what happens, I would be
liberated if someone could give me some ways to avoid these blocking
errors.

Thanks in advance.

Regards

Stéphane
Wade Williams - 30 Sep 2003 19:25 GMT
> Using CW8.3 MacOS X, I try to link with libgd (GD Image Library from
> http://www.botell.com/dg/ ) and I always get these strange link errors:
[quoted text clipped - 4 lines]
> Link Error : undefined: 'saveFP' (code)
> Referenced from 'gdImageCreate' in libgd.a

From an old post of Ron's:

> One of our customers pointed out that, the  solution.  The
> "saveFP"/"restFP" references (probably come when importing
[quoted text clipped - 3 lines]
> It appears that gcc calls saveFP/restFP when code is compiled -O, but
> might not call these functions in an unoptimized variant.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.