Re: Building CF-Lite on Linux
Re: Building CF-Lite on Linux
- Subject: Re: Building CF-Lite on Linux
- From: Nicola Vitacolonna <email@hidden>
- Date: Thu, 19 May 2005 19:45:39 +0200
I have downloaded CF-299.35 from
http://www.opensource.apple.com/darwinsource/Current/
instead of CF-368.1 from
http://www.opensource.apple.com/darwinsource/10.4.1/
Following the instructions at http://developer.apple.com/darwin/
cflite.html (in particular, I had to apply the patch file
CF-299.linux.diff as explained) I was able to build the static
library on Debian Linux. I succeeded with gcc 3.3.5, but not with gcc
2.96. I have not yet been able to compile the example, though,
because I get the following:
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? Should I always get projects from the Current directory?
Maybe, a bit more information within projects would help newbies like
me...
Nicola
Il giorno 19/mag/05, alle ore 16:59, Nicola Vitacolonna ha scritto:
Hi,
I'm trying to build CF-Lite (CF-368) on Linux. According to the
article at http://developer.apple.com/darwin/cflite.html this
should be unproblematic. In fact, when I try "make install" I get
the following error message:
/bin/cp: cannot stat `OSXCompatibilityHeaders/*.h': No such file or
directory
-
Messaggio controllato dal sistema antivirus del Dipartimento di
Matematica e Informatica dell'Universita' degli Studi di Udine.
Email scanned by the antivirus system of the Department of
Mathematics and Informatics of the University of Udine (Italy).
-
Messaggio controllato dal sistema antivirus del Dipartimento di Matematica e Informatica dell'Universita' degli Studi di Udine.
Email scanned by the antivirus system of the Department of Mathematics and Informatics of the University of Udine (Italy).
_______________________________________________
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