cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Help compiling on Solaris

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 25 Jul 2002 15:03:01 +0200 (MET DST)

On Wed, 26 Jun 2002, John Brayton wrote:

> I was wondering if someone could help with a problem I'm having compiling
> CURL on Solaris. I get the following error:
>
> Undefined first referenced
> symbol in file
> __floatdidf file.lo
>
> This occurs after make executes:
>
> /usr/ccs/bin/ld -G -z defs -h libcurl.so.2 -o .libs/libcurl.so.2.0.2
> file.lo timeval.lo base64.lo hostip.lo progress.lo formdata.lo cookie.lo
> http.lo sendf.lo ftp.lo url.lo dict.lo if2ip.lo speedcheck.lo getdate.lo
> ldap.lo ssluse.lo version.lo getenv.lo escape.lo mprintf.lo telnet.lo
> getpass.lo netrc.lo getinfo.lo transfer.lo strequal.lo easy.lo
> security.lo krb4.lo memdebug.lo http_chunks.lo strtok.lo connect.lo
> llist.lo hash.lo multi.lo -ldl -lsocket -lnsl -lc
>
> Some configuration info:
> Sun OS 5.8
> GCC Version 3.0
> CURL 7.9.8
>
> Thoughts? Advice?

I think this is because it was compiled with GNU cc and linked with the
system's linker, so that libgcc isn't properly used.

Try using the GNU ld instead.

-- 
  Cheers,
  Daniel Stenberg
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
Received on 2002-07-25