cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl Universal Framework troubles

From: Erick van Rijk <emvr_at_etv.cx>
Date: Sun, 23 Jul 2006 13:54:02 +0200

I tried to build the libcurl universal binary framework for osx using
the libcurl.framework.make file in the lib directory.
The main curl builds without a problem, except that when I build the
framework I get the following error.

****
MACOSX_DEPLOYMENT_TARGET=10.3 cc -Wl,-syslibroot,/Developer/SDKs/
MacOSX10.4u.sdk -arch ppc -arch i386 -prebind -seg1addr 0x10400000 -
dynamiclib -install_name @executable_path/../Frameworks/
libcurl.framework/libcurl /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/
libssl.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libcrypto.dylib -
lz ../lib/.lib/base64.o ../lib/.lib/connect.o ../lib/.lib/
content_encoding.o ../lib/.lib/cookie.o ../lib/.lib/dict.o ../
lib/.lib/easy.o ../lib/.lib/escape.o ../lib/.lib/file.o ../lib/.lib/
formdata.o ../lib/.lib/ftp.o ../lib/.lib/getenv.o ../lib/.lib/
getinfo.o ../lib/.lib/gtls.o ../lib/.lib/hash.o ../lib/.lib/
hostares.o ../lib/.lib/hostasyn.o ../lib/.lib/hostip.o ../lib/.lib/
hostip4.o ../lib/.lib/hostip6.o ../lib/.lib/hostsyn.o ../lib/.lib/
hostthre.o ../lib/.lib/http.o ../lib/.lib/http_chunks.o ../lib/.lib/
http_digest.o ../lib/.lib/http_negotiate.o ../lib/.lib/http_ntlm.o ../
lib/.lib/if2ip.o ../lib/.lib/inet_ntop.o ../lib/.lib/inet_pton.o ../
lib/.lib/krb4.o ../lib/.lib/ldap.o ../lib/.lib/llist.o ../lib/.lib/
md5.o ../lib/.lib/memdebug.o ../lib/.lib/mprintf.o ../lib/.lib/
multi.o ../lib/.lib/netrc.o ../lib/.lib/parsedate.o ../lib/.lib/
progress.o ../lib/.lib/security.o ../lib/.lib/select.o ../lib/.lib/
sendf.o ../lib/.lib/share.o ../lib/.lib/speedcheck.o ../lib/.lib/
sslgen.o ../lib/.lib/ssluse.o ../lib/.lib/strequal.o ../lib/.lib/
strerror.o ../lib/.lib/strtok.o ../lib/.lib/strtoofft.o ../lib/.lib/
telnet.o ../lib/.lib/tftp.o ../lib/.lib/timeval.o ../lib/.lib/
transfer.o ../lib/.lib/url.o ../lib/.lib/version.o \
         -o ../lib/libcurl.framework/Versions/A/libcurl
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_Curl_splay
_Curl_splaygetbest
_Curl_splayinsert
_Curl_splayremovebyaddr
ld: warning prebinding disabled because of undefined symbols/usr/bin/
libtool: internal link edit command failed

ld: Undefined symbols:
_Curl_splay
_Curl_splaygetbest
_Curl_splayinsert
_Curl_splayremovebyaddr
/usr/bin/libtool: internal link edit command failed
lipo: can't figure out the architecture type of: /var/tmp//cc8rKc7q.out
make: *** [../lib/libcurl.framework] Error 1
****

I tried to build it on multiple systems that have the 10.4u SDK
installed.
Is the makefile broken?

thanks

Erick
Received on 2006-07-23