From owner-freebsd-current@FreeBSD.ORG Mon Jan 19 19:56:50 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB958ED5; Mon, 19 Jan 2015 19:56:50 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7D963EF0; Mon, 19 Jan 2015 19:56:50 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1YDINx-002iu6-Er>; Mon, 19 Jan 2015 20:53:17 +0100 Received: from g225050067.adsl.alicedsl.de ([92.225.50.67] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1YDINx-000dS6-AS>; Mon, 19 Jan 2015 20:53:17 +0100 Date: Mon, 19 Jan 2015 20:53:16 +0100 From: "O. Hartmann" To: Michael Butler Subject: Re: SVN r377448 breaks net-snmp on -current Message-ID: <20150119205316.2f5880d6.ohartman@zedat.fu-berlin.de> In-Reply-To: <54BD5D99.8000200@protected-networks.net> References: <54BD5D99.8000200@protected-networks.net> Organization: FU Berlin X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/=PSqsp6bzoRQEzlJL5V7Cn/"; protocol="application/pgp-signature" X-Originating-IP: 92.225.50.67 X-ZEDAT-Hint: A Cc: zi@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2015 19:56:50 -0000 --Sig_/=PSqsp6bzoRQEzlJL5V7Cn/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Mon, 19 Jan 2015 14:40:09 -0500 Michael Butler schrieb: > Apparently, there was some 'magic' to accessing these sysctls: >=20 > libtool: link: cc -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -pipe > -march=3Dpentium4 -I/usr/local/include -I/include -D_WANT_IFADDR > -fstack-protector -fno-strict-aliasing -Ufreebsd11 -Dfreebsd11=3Dfreebsd11 > -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include > -I/usr/local/lib/perl5/5.18/mach/CORE -o .libs/snmpd .libs/snmpd.o > -Wl,-R/usr/local/lib/perl5/5.18/mach/CORE -L/usr/lib -L/lib > ./.libs/libnetsnmpagent.so -L/usr/local/lib > -L/usr/local/lib/perl5/5.18/mach/CORE ./.libs/libnetsnmpmibs.so > /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.3/agent/.libs/libnetsnmpag= ent.so > /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.3/snmplib/.libs/libnetsnmp= .so > ../snmplib/.libs/libnetsnmp.so -lpkg -lwrap -lperl -lcrypt -lutil -lelf > -lssp_nonshared -lm -lkvm -ldevstat -lcrypto -pthread -Wl,-rpath > -Wl,/usr/local/lib > ./.libs/libnetsnmpmibs.so: undefined reference to `sysctl_read_icmp_stat' > ./.libs/libnetsnmpmibs.so: undefined reference to `sysctl_read_icmp6_stat' > ./.libs/libnetsnmpmibs.so: undefined reference to > `sysctl_read_icmp6_msg_stat' > ./.libs/libnetsnmpmibs.so: undefined reference to > `sysctl_read_icmp_msg_stat' > cc: error: linker command failed with exit code 1 (use -v to see invocati= on) > *** Error code 1 >=20 > imb >=20 Me, too here. I just filed a PR: Bug 196904 - net-mgmt/net-snmp: undefined = reference to `sysctl_read_XXXXXX=20 oh --Sig_/=PSqsp6bzoRQEzlJL5V7Cn/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJUvWCsAAoJEOgBcD7A/5N8rs8H/2quzSqkyLsaVhudrIgmZuBS aKWrDLc7mNOJG94KouP2hhufGC9dy+Bz70go/H16/MyUQTOV89+ln3Y7S6oWRni3 84QxkXeCJ69lk+ZuN577SoGERuwJsbsZ7eaoEqGxk3ca6mXpjBAgzIvF5554NE2k pnKun5uQY0UGTx1pg/oszWtIXE8dxe6y4uym0+2HdoLwsRRSbbwqaedW8/b0g978 InTVIHl85jsQ8e5NRzeu9WQAY+eJGhStYRJ6utxaUs6J4E7lq1KBjylJGUOWlZIf WfSZ1XkVaLH+CckA7tVwOla/6EX0PjYe6Yst6S4P6OA0h2cxAkOKz1LxkJYOxMs= =LwZ0 -----END PGP SIGNATURE----- --Sig_/=PSqsp6bzoRQEzlJL5V7Cn/--