cURL / Mailing Lists / curl-library / Single Mail

curl-library

Curl_raw_equal is private to libcurl and cannot be used by curl

From: Daniel Johnson <daniel.johnson31_at_gmail.com>
Date: Thu, 16 Oct 2008 08:39:33 -0400

My autobuild is giving me this:

gcc -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused
-Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-
prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -
Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -
Wdeclaration-after-statement -Wno-system-headers -fvisibility=hidden -
o .libs/curl main.o hugehelp.o urlglob.o writeout.o writeenv.o
getpass.o homedir.o curlutil.o strtoofft.o strdup.o -L/usr/lib -L/
deps/lib -L/build-32312/ares ../lib/.libs/libcurl.dylib -lidn /deps/
lib/libssh2.dylib -lssl -lcrypto -lldap -lgssapi_krb5 -lkrb5 -
lk5crypto -lcom_err -lresolv -lz
Undefined symbols:
   "_Curl_raw_equal", referenced from:
       _ftpfilemethod in main.o
       _ftpfilemethod in main.o
       _ftpfilemethod in main.o
       _ftpcccmethod in main.o
       _ftpcccmethod in main.o
       _getparameter in main.o
       _getparameter in main.o
ld: symbol(s) not found

I'm using -fvisibility=hidden which exposes this as an internal
function. I guess curl will need its own copy?

Daniel
Received on 2008-10-16