• 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
Re: Building CF-Lite on Linux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building CF-Lite on Linux


  • Subject: Re: Building CF-Lite on Linux
  • From: Jonas Maebe <email@hidden>
  • Date: Fri, 20 May 2005 14:42:17 +0200


On 19 mei 2005, at 19:45, Nicola Vitacolonna wrote:

tmp/CoreFoundation.dst/usr/local/lib/ libCoreFoundation.a(CFUniChar.opt.o)(.text+0xcf): In function `__CFUniCharLoadFile':
StringEncodings.subproj/CFUniChar.c:66: undefined reference to `strlcpy'
/tmp/CoreFoundation.dst/usr/local/lib/ libCoreFoundation.a(CFUniChar.opt.o)(.text+0xe7): StringEncodings.subproj/CFUniChar.c:67: undefined reference to `strlcat'
/tmp/CoreFoundation.dst/usr/local/lib/ libCoreFoundation.a(CFUniChar.opt.o)(.text+0xfe): StringEncodings.subproj/CFUniChar.c:112: undefined reference to `strlcat'


But this might not be CF's fault.

Are projects in 10.4.1 directory supposed to compile only with Darwin?

I don't know, but the above errors simply stem from the fact that your libc doesn't contain them (they are in most BSD libc's by default, but not in GNU libc). Although the semantics are not exactly the same, you can probably replace the calls with strncpy and strncat.



Jonas

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


References: 
 >Re: Building CF-Lite on Linux (From: Nicola Vitacolonna <email@hidden>)

  • Prev by Date: Re: Filesystem View
  • Next by Date: libstdc++ performance issue between Panther and Tiger
  • Previous by thread: Re: Building CF-Lite on Linux
  • Next by thread: poll() Bug in 10.4 / Darwin 8.0 ?
  • Index(es):
    • Date
    • Thread