Re: Building CF-Lite on Linux
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