cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl on Solaris 10 X86

From: Mohun Biswas <m_biswas_at_mailinator.com>
Date: Tue, 05 Oct 2004 21:51:36 -0400

I just tried building libcurl 71.12.2-pre1 on a system running Solaris
10 (b63) for Intel X86. I've built cURL successfully on many other
platforms so I know the basic drill if not all the autoconf details.
This one fails in a pretty blatant way:

make[1]: Entering directory `/export/home/dsb/src/curl-7.12.2-pre1/lib'
if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I../include
-I../lib -I../lib -g -O2 -MT if2ip.lo -MD -MP -MF ".deps/if2ip.Tpo"
-c -o if2ip.lo if2ip.c; \
then mv -f ".deps/if2ip.Tpo" ".deps/if2ip.Plo"; else rm -f
".deps/if2ip.Tpo"; exit 1; fi
  gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -O2 -MT if2ip.lo
-MD -MP -MF .deps/if2ip.Tpo -c if2ip.c -fPIC -DPIC -o .libs/if2ip.o
if2ip.c: In function `Curl_if2ip':
if2ip.c:96: error: storage size of 'req' isn't known
if2ip.c:106: error: invalid application of `sizeof' to incomplete type
`ifreq'
make[1]: *** [if2ip.lo] Error 1

This gets into the networking headers which I don't know well at all.
Any ideas for an easy fix/workaround?

Thanks,
M.Biswas
Received on 2004-10-06