• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Build problem (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build problem (again)


  • Subject: Build problem (again)
  • From: Ed Gronenschild <email@hidden>
  • Date: Thu, 22 Nov 2007 15:22:16 +0100

Hi,

I post this problem again because I didn't get a reply due to all
the problems and questions about Leopard and Xcode 3 which
passed the last two weeks.


I'm developing an OSX application using amongst others an external library (libbicpl.a, not built by me).

When I use some routines from the libbicpl.a library I get the
following link errors only in case I build the release (deployment)
version:

/../libbicpl.a(object.o) reference to undefined _sprintf$LDBLStub
/../libbicpl.a(colours.o) reference to undefined _sprintf$LDBLStub
/../libbicpl.a(colours.o) reference to undefined _sscanf$LDBLStub

I don't know how to solve this as it seems that "sprintf" and "sscanf"
are unknown whereas these are part of the StdIO library and used
frequently throughout my application without any linking error in
case I don't use the above routines.
Do I miss a specific library?

A possible workaround I tried was to copy part of the offending
source code of the library into my own source code but then I
get the error of "multiple definitions of symbol". How can I give
a higher precedence to the symbol in my own source code?
Or is there some switch to ignore the symbol defined in the library?

Needless to say that I don't use Zerolink in the deployment version.

I'm using OSX 10.4.10 and Xcode 2.4.1.

Ed

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


  • Prev by Date: Re: What can be in an IB Plugin?
  • Next by Date: Re: What can be in an IB Plugin?
  • Previous by thread: Re: What can be in an IB Plugin?
  • Next by thread: Re: Build problem (again)
  • Index(es):
    • Date
    • Thread