cURL / Mailing Lists / curl-users / Single Mail

curl-users

linking errors while compiling curl

From: Vivek Katakam <vivek1717_at_gmail.com>
Date: Wed, 20 May 2009 23:30:29 +0530

Hi All,
I am trying to test curl-7.18.2 on HP-UX, which is Compiling on Linux:
I am getting the following errors while configuring ipv6 in the config.log:

I.
In file included from /usr/include/net/if.h:234,
                 from conftest.c:95:
/usr/include/net/if6.h:77: error: field 'iflru_addr' has incomplete
type
/usr/include/net/if6.h:78: error: field 'iflru_dstaddr' has incomplete
type
/usr/include/net/if6.h:118: error: field 'lifra_addr' has incomplete
type
/usr/include/net/if6.h:119: error: field 'lifra_mask' has incomplete
type
configure:31946: $? = 1

II.
gcc -g -O2 -o curl main.o hugehelp.o urlglob.o writeout.o writeenv.o
getpass.o homedir.o curlutil.o strtoofft.o strdup.o -L/usr/local/lib
../lib/.libs/libcurl.a /usr/local/lib/libidn.sl
/usr/local/lib/libintl.sl /usr/local/lib/libiconv.sl -lssl -lcrypto
-lz -Wl,+b -Wl,/usr/local/lib
/usr/ccs/bin/ld: Unsatisfied symbols:
   Curl_if2ip (first referenced in ../lib/.libs/libcurl.a(connect.o)) (code)
collect2: ld returned 1 exit status
*** Error exit code 1

I am using gcc 4.1.1. The OS is HP-UX B.11.11. Any help is appreciated.

Thanks and Regards,
Vivek
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-05-20