From owner-freebsd-ports@FreeBSD.ORG Sat Aug 25 20:01:11 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15F631065670; Sat, 25 Aug 2012 20:01:11 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id AC6FA8FC1A; Sat, 25 Aug 2012 20:01:10 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q7PK19eX063465; Sat, 25 Aug 2012 14:01:09 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q7PK19dH063462; Sat, 25 Aug 2012 14:01:09 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 25 Aug 2012 14:01:09 -0600 (MDT) From: Warren Block To: Oleg Ginzburg In-Reply-To: <201208251822.45678.olevole@olevole.ru> Message-ID: References: <201208251822.45678.olevole@olevole.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 25 Aug 2012 14:01:10 -0600 (MDT) Cc: ports@freebsd.org, freebsd-ports@freebsd.org Subject: Re: apcupsd compile fails on 9-stable amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2012 20:01:11 -0000 On Sat, 25 Aug 2012, Oleg Ginzburg wrote: > On Saturday 25 August 2012 18:06:29 Warren Block wrote: >> Discovered last night that sysutils/apcupsd will not compile on 9-stable >> amd64 if the USB or SNMP options are enabled. It does compile on >> 8.3-stable i386. Stock gcc, not clang. ccache is installed, but not >> used for ports. Any suggestions? >> >> ... >> CXX src/apcupsd.c >> CXX src/apcnis.c >> LD src/apcupsd >> /usr/ports/sysutils/apcupsd/work/apcupsd-3.14.10/src/drivers/libdrivers.a(s >> nmp.o): In function `Snmp::VarBindList::VarBindList(Asn::Sequence&)': >> snmp.cpp:(.text+0x7a8): undefined reference to `operator new[](unsigned >> long)' >> /usr/ports/sysutils/apcupsd/work/apcupsd-3.14.10/src/drivers/libdrivers.a( >> snmp.o): In function `Snmp::VarBindList::Append(Asn::ObjectId const&, >> Snmp::Variable*)': snmp.cpp:(.text+0xdc9): undefined reference to >> `operator new[](unsigned long)' >> /usr/ports/sysutils/apcupsd/work/apcupsd-3.14.10/src/drivers/libdrivers.a( >> snmp.o): In function `Snmp::VarBindList::VarBindList(Asn::Sequence&)': >> snmp.cpp:(.text+0xec8): undefined reference to `operator new[](unsigned >> long)' >> /usr/ports/sysutils/apcupsd/work/apcupsd-3.14.10/src/drivers/libdrivers.a( >> asn.o): In function `Asn::Sequence::assign(Asn::Sequence const&)': >> asn.cpp:(.text+0x73d): undefined reference to `operator new[](unsigned >> long)' >> /usr/ports/sysutils/apcupsd/work/apcupsd-3.14.10/src/drivers/libdrivers.a( >> asn.o): In function `Asn::ObjectId::demarshal(unsigned char*&, unsigned >> int&)': asn.cpp:(.text+0x82b): undefined reference to `operator >> new[](unsigned long)' >> /usr/ports/sysutils/apcupsd/work/apcupsd-3.14.10/src/drivers/libdrivers.a( >> asn.o):asn.cpp:(.text+0x934): more undefined references to `operator >> new[](unsigned long)' follow > > Ive already register PR for this: http://www.freebsd.org/cgi/query- > pr.cgi?pr=ports/170522 Sorry, saw that last night, but forgot about it. The fix works for me. Thanks!