cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: How to Configure Curl to resolve hugefile build failure

From: Dantzler, DeWayne C <dewayne.c.dantzler_at_boeing.com>
Date: Tue, 20 Oct 2009 22:27:44 -0700

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Yang Tse
Sent: Tuesday, October 20, 2009 4:52 AM
To: libcurl development
Subject: Re: How to Configure Curl to resolve hugefile build failure

2009/10/19, Dantzler, DeWayne C wrote:

> [...]
> curl version: 7.19.6
> [...]
> LDAP support: enabled (OpenLDAP)
> [...]
> /usr/bin/cc -DHAVE_CONFIG_H -I../include -I../include -I../lib -I../src -I../lib -I../src
> -Ae -DDDPS_USYS_HP -D_HPUX_SOURCE -z +W 4227,4255 -s +O2 -c -o
> [...] /bin/sh ../libtool --tag=CC --mode=link /usr/bin/cc -Ae
> -DDDPS_USYS_HP -D_HPUX_SOURCE -z +W 4227,4255 -s +O2
> -L/ots/SUNWwbsvr/bin/https/lib/ -o curl main.o hugehelp.o urlglob.o
> writeout.o writeenv.o getpass.o homedir.o curlutil.o os-specific.o
> strtoofft.o strdup.o rawstr.o nonblock.o ../lib/libcurl.la
> -lnspr4
> [...]
> /usr/ccs/bin/ld: Unsatisfied symbols:

Double check that 'gmake' is installed on your build system, and that it can be located through the PATH environment variable.

"-L/ots/SUNWwbsvr/bin/https/lib/" neither curl nor libcurl needs "Sun ONE Web Server" libraries nor API.

"-lnspr4" neither curl nor libcurl needs "Netscape Portable Runtime "
libraries nor API.

Before running configure script, cleanup environment variables CFLAGS, CPPFLAGS, LDFLAGS, and CC.

Extract curl-7.19.6.tar.gz to a newly created subdirectory and run configure script from there keeping a full log of its output, something like the following:

./configure 2>&1 | tee configure.log

Afterwards run:

make 2>&1 | tee make.log

Upload configure.log and make.log somewhere and provide a link to them, as well as the whole command line used to run the configure script, so that we can see what's actually happening.

--
-=[Yang]=-
========================================
Ok, 
(1) confirmed gmake is installed and accessible from PATH env
(2) ran configure as follows and capture the output in log file configure.log(attached to email): 
./configure --prefix=/site/sw/ots/curl/curl-7.19.6 --exec-prefix=/site/ots/curl/curl-7.19.6  CC=/usr/bin/cc CFLAGS='-Ae -DDDPS_USYS_HP -D_HPUX_SOURCE'
(3) ran gmake and captured output in log file make.log(attached to email)
(4) build failed due to unresolved symbols
Any ideas on how to resolve the build?
Thanks



-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

  • application/octet-stream attachment: make.log
Received on 2009-10-21