05-19-2009 11:02 AM
while compiling a curl application, i am getting the following error:
In file included from /usr/include/net/if.h:234,
/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
The OS is HP-UX B11.11.
Thanks and Regards,
05-20-2009 10:17 AM
I am getting the above errors while at the time of configuring. But at the time of building I am getting this error:
gcc -g -O2 -o curl main.o hugehelp.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
Do I need to install any additional packages. I am using gcc version 4.1.1 while compiling. Any help/suggestion is appreciated.
05-20-2009 12:46 PM
application" is, or exactly what you did to
get the complaints), but, normally, when you
get complaints about a system header file
(like "/usr/include/net/if6.h"), there's a
problem with the source code, the system
header file(s), or the compiler installation.
05-25-2009 05:01 PM
You should ignore your config errors for now. Unless this failure sets some define that is directly used in connect.c.
>But at the time of building I am getting this error:
>Curl_if2ip (libcurl.a(connect.o)) (code)
Do you know where this function is defined?