From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 12:47:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EB69106566B for ; Wed, 9 Sep 2009 12:47:50 +0000 (UTC) (envelope-from no-spam@people.net.au) Received: from extmail-01.people.net.au (extmail-01.people.net.au [202.154.123.98]) by mx1.freebsd.org (Postfix) with SMTP id 080208FC16 for ; Wed, 9 Sep 2009 12:47:49 +0000 (UTC) Received: (qmail 24083 invoked from network); 9 Sep 2009 12:22:50 -0000 Received: from unknown (HELO bigblack) (218.215.237.98) by extmail-01.people.net.au with SMTP; 9 Sep 2009 12:22:50 -0000 From: Ian To: freebsd-questions@freebsd.org Date: Wed, 9 Sep 2009 21:51:00 +0930 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1332482.NsYqZbeV4A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200909092151.07703.no-spam@people.net.au> Subject: Error building net-snmp port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 12:47:50 -0000 --nextPart1332482.NsYqZbeV4A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I've been building a new 7.2-RELEASE server, putting it into service on=20 =46riday. I did a portsnap & updated all the ports to the latest version, b= ut=20 was unable to upgrade /usr/ports/net-mgmt/net-snmp - see below for output: =3D=3D=3D> Building for net-snmp-5.4.2.1_5 making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/help= ers making all=20 in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup /bin/sh ../../libtool --mode=3Dcompile=20 cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmpli= b -O -pipe -Ufreebsd7 -Dfreebsd7=3Dfreebsd7 -DAPPLLIB_EXP=3D"/usr/local/= lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-a= liasing -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/mach/CORE = =2Dc -o=20 mibII/tcpTable.lo mibII/tcpTable.c =20 cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib= -O -pipe -Ufreebsd7 -Dfreebsd7=3Dfreebsd7 -DAPPLLIB_EXP=3D/usr/local/lib/p= erl5/5.8.9/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasin= g -pipe -I/usr/local/include -I/usr/local/lib/perl5/5.8.9/mach/CORE -c=20 mibII/tcpTable.c -fPIC -DPIC -o mibII/.libs/tcpTable.o mibII/tcpTable.c: In function 'tcpTable_load': mibII/tcpTable.c:748: error: dereferencing pointer to incomplete type mibII/tcpTable.c:750: error: dereferencing pointer to incomplete type mibII/tcpTable.c:750: error: invalid application of 'sizeof' to incomplete= =20 type 'struct xinpgen' mibII/tcpTable.c:754: error: dereferencing pointer to incomplete type mibII/tcpTable.c:758: error: dereferencing pointer to incomplete type mibII/tcpTable.c:763: error: dereferencing pointer to incomplete type *** Error code 1 Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/mibgroup. *** Error code 1 I tried everything I could think of to fix it - removed CPUTYPE=20 from /etc/make.conf, ran make config & de-selected IPV6 support, did a make= =20 dist clean and let it fetch the source file again, did a make deinstall but= =20 it still stopped at the same point. It was installed as a dependency of nut. Any idea how to fix this? Cheers, Ian =2D-=20 gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart1332482.NsYqZbeV4A Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkqnnbMACgkQPUlnmbKkJ6CrEwCgib/30exVdR8hEdoYENO+4lCA Ic0AnRjc/7drEBt3hhkSxpYJGgjKVJeU =+Hae -----END PGP SIGNATURE----- --nextPart1332482.NsYqZbeV4A--