• 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 error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build error


  • Subject: Build error
  • From: Ed Gronenschild <email@hidden>
  • Date: Fri, 16 Nov 2007 10:21:58 +0100

Hi,

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 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.
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?

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: Upgrading to Leopard
  • Next by Date: Why does this fail to compile?
  • Previous by thread: Re: Upgrading to Leopard
  • Next by thread: Why does this fail to compile?
  • Index(es):
    • Date
    • Thread