Mac OS X Development Development and discussion on the latest hackintosh drivers and methods.

Thread Tools Display Modes
  (#1) Old
sabisun sabisun is offline
Junior Member
Posts: 6
Join Date: Jul 2009
Question Static Library link error - 09-01-2009, 10:20 AM

Dear All:

There are two project created in Xcode.
The first one is a carbon application, the second one is a carbon static library project which has output testLib.a.

I wrote three simple functions in testLib and make header file adopts Set Role-> Public before build.

After that I drag testLib.a and library header file into application project and get link error as following:

Libfun1() referenced from
Apfunc() in xxx.o
symbol(s) not found
collect2: id returned 1 exit status

Does anyone has ideas for the link error problem?
Thank you.
Reply With Quote

« 10.5.8 & NetBookInstaller 0.8.2 RC4 a Winning Combination | Speedstep without Voodoo using DSDT »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Copyright © 2008-2016