Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building CF-Lite on Linux




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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.