Subject: Re: pkg/25083
To: None <grant@netbsd.org>
From: Petter Lindqvist <pollen@astrakan.hig.se>
List: pkgsrc-bugs
Date: 09/21/2005 15:43:49
grant@netbsd.org wrote:

>Synopsis: devel/libnet doesn't build on Solaris 2.9
>
>State-Changed-From-To: open->feedback
>State-Changed-By: grant@netbsd.org
>State-Changed-When: Sun, 21 Aug 2005 12:22:37 +0000
>State-Changed-Why:
>I have just fixed this in pkgsrc-current. can you please try updating
>your tree and building it now?
>
>
>
>
>  
>
===> Building for libnet-1.0.2a
sed -e 's/.*/#define VERSION "&"/' ./VERSION > version.h
/usr/pkg/bin/libtool  --mode=compile gcc -O2 -funroll-loops 
-fomit-frame-pointer -Wall   -DHAVE_CONFIG_H -c src/libnet_resolve.c
mkdir .libs
 gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c 
src/libnet_resolve.c  -fPIC -DPIC -o .libs/libnet_resolve.o
src/libnet_resolve.c: In function `libnet_get_ipaddr':
src/libnet_resolve.c:188: error: `SIOCGIFADDR' undeclared (first use in 
this function)
src/libnet_resolve.c:188: error: (Each undeclared identifier is reported 
only once
src/libnet_resolve.c:188: error: for each function it appears in.)
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/libnet/work/Libnet-1.0.2a
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/libnet
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/devel/libnet/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/libnet