curl-users
Re: Build problem on HPUX
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Aug 2003 10:38:20 +0200 (CEST)
Date: Fri, 8 Aug 2003 10:38:20 +0200 (CEST)
On Thu, 7 Aug 2003, Jan Sundin wrote:
> we are trying to build cURL (7.10.6, with SSL) on HPUX 11.00.
> Unfortunately without success, we do get the following error
>
> gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -O2 -c
> if2ip.c -Wp,-MD,.deps/if2ip.TPlo -DPIC
> cc1: warning: -g is only supported when using GAS on this processor,
> cc1: warning: -g option disabled.
> if2ip.c: In function `Curl_if2ip':
> if2ip.c:99: storage size of `req' isn't known
> if2ip.c:106: sizeof applied to an incomplete type
> *** Error exit code 1
I suggest you grep around in your system include files to figure out where
the "struct ifreq" is defined, and then try to #include that in the
lib/if2ip.c file.
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01Received on 2003-08-08