Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2009 21:51:00 +0930
From:      Ian <no-spam@people.net.au>
To:        freebsd-questions@freebsd.org
Subject:   Error building net-snmp port
Message-ID:  <200909092151.07703.no-spam@people.net.au>

next in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909092151.07703.no-spam>