curl-users
RE: Problems compiling cURL 7.10.1 on Solaris 9.
Date: Thu, 31 Oct 2002 10:15:56 -0600
> On Wed, 30 Oct 2002, Dabney, Blane wrote:
>
> > gcc -shared 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 content_encoding.lo -L/usr/local/ssl/lib -lz -lssl
> > -lcrypto -ldl -lsocket -lnsl -lz -lc -Wl,-soname
> -Wl,libcurl.so.2 -o
> > .libs/libcurl.so.2.0.2
> > ld: warning: option -o appears more than once, first setting taken
> > ld: fatal: file libcurl.so.2: open failed: No such file or directory
> > ld: fatal: File processing errors. No output written to
> > .libs/libcurl.so.2.0.2
>
> "option -o appears more than once" ???
>
> So where's the second occurance of -o ? I can only see one,
> as the second
> last word in the full command line.
>
Yeah, I thought this was really wierd too... I couldn't find anything in the
Makefile. But I'll look again.
> Could it be that there's some confusion on which ld this should use or
> something? I mean the GNU one from binutils or the original
> Solaris 9 one (if
> there even is one these days)?
>
I first tried using /usr/ccs/bin/ld to link, but I get the typical
"unresolved symbol" error you get when using Sun's linker with gcc. So I
installed the GNU binutils and tried it with GNU ld.
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
Received on 2002-10-31