cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Unsatisfied symbols while linking curl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 13 Oct 2003 15:22:40 -0700

On Mon, Oct 13, 2003 at 12:27:24PM -0700, Burcu Ozserim wrote:
> hi there,
>
> i get the following error when linking curl on HP
> 9000/715:
>
> HP-UX B.11.00
> gcc version 3.3.1
>
> any suggestions will be greatly appreciated.
>
> thanks.
> - burcu
>
> gmake[2]: Entering directory
> `/home/burcu/mnt/sdk/spamcatchersdk-2.4/curl-7.10.7/src'
> /bin/sh ../libtool --mode=link gcc -g -O2 -o curl
> main.o hugehelp.o urlglob.o writeout.o writeenv.o
> ../lib/libcurl.la -lssl -lcrypto
> libtool: link: warning: this platform does not like
> uninstalled shared libraries
> libtool: link: `curl' will be relinked during
> installation
> gcc -g -O2 -o .libs/curl main.o hugehelp.o urlglob.o
                                  ^^^^^^^^^^
> writeout.o writeenv.o ../lib/.libs/libcurl.sl
> -L/home/burcu/mnt/sdk/spamcatchersdk-2.4/curl-7.10.7/lib
> -lssl -lcrypto -Wl,+b
> -Wl,/home/burcu/mnt/sdk/spamcatchersdk-2.4/curl-7.10.7/lib/.libs:/usr/local/lib
> /usr/ccs/bin/ld: Unsatisfied symbols:
> hugehelp (code)

hugehelp.c is where hugehelp is defined, and it's in your link line above, so
there must have been a problem compiling it. If you have perl installed
on your system, you can delete src/hugehelp.c and it will be regenerated
and recompiled when you next do a make. There aren't any compile-time
options in hugehelp.c so I don't see why it isn't giving you the hugehelp
symbol unless a previous compile crashed in the middle of compiling it.
If it happens again, send us use the output as it compiles hugehelp.c

> collect2: ld returned 1 exit status
> gmake[2]: *** [curl] Error 1
> gmake[2]: Leaving directory
> `/home/burcu/mnt/sdk/spamcatchersdk-2.4/curl-7.10.7/src'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory
> `/home/burcu/mnt/sdk/spamcatchersdk-2.4/curl-7.10.7/src'
> gmake: *** [all-recursive] Error 1

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
Received on 2003-10-14