Subject: pkg/25083: devel/libnet doesn't build on Solaris 2.9
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <pollen@astrakan.hig.se>
List: pkgsrc-bugs
Date: 04/07/2004 10:48:37
>Number: 25083
>Category: pkg
>Synopsis: devel/libnet doesn't build on Solaris 2.9
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 07 10:49:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Petter Lindquist
>Release: Solaris 2.9
>Organization:
HiG.se
>Environment:
SunOS xxx.hig.se 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-880
>Description:
devel/libnet doesn't build on Solaris 2.9
===> Building for libnet-1.0.1bnb3
sed -e 's/.*/#define VERSION "&"/' ./VERSION > version.h
libtool --mode=compile gcc -O3 -funroll-loops -fomit-frame-pointer -Wall -I/usr/pkg/include -DHAVE_CONFIG_H -c src/libnet_resolve.c
mkdir .libs
gcc -O3 -funroll-loops -fomit-frame-pointer -Wall -I/usr/pkgsrc/devel/libnet/work/.buildlink/include -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.
>How-To-Repeat:
cd /usr/pkgsrc/devel/libnet && bmake
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: