From owner-freebsd-ports@FreeBSD.ORG Sat Aug 25 14:20:29 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2229E106566B for ; Sat, 25 Aug 2012 14:20:28 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3D7B78FC16 for ; Sat, 25 Aug 2012 14:20:28 +0000 (UTC) Received: by lbbgg13 with SMTP id gg13so1985232lbb.13 for ; Sat, 25 Aug 2012 07:20:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id :x-gm-message-state; bh=QhsDJkNADZUMBnzCVt3QkTdNpx+CU2nQ7OI2h3i0q4Y=; b=ZgBr0jnpnz4unoLXlkWm8wVxiuTrtUftVTzd2hIblMcAnh7nTA0axS3WPvq8P8K/Vo xTRRg4cbtxoTezHqkP8vWUu7Ycfb6SiCQv/cuOWkU3oRFeUvdUb9IhKZrqa0nEO0XDIa 6mAd3ad7tPJGpEWcwDwfl1wVArZuX/DdCywBqTgdoSHmD5GJubA1y9L90Ab3z/thdVoq pR/duMR3/zl6Bm/OBC3UFGRbtaCRbjqSO6zY9+IOunYqQe32BiBWnTsR3Qf8k0Nsuu5F GeXVXpP8qtMZAYGTIlc4rZy03U4jIrm7MGp8JTIHXgrdMuEHJZ84HlHOM5qh3wzUKzPp W3jQ== Received: by 10.112.103.130 with SMTP id fw2mr4128086lbb.107.1345904426964; Sat, 25 Aug 2012 07:20:26 -0700 (PDT) Received: from gizmo.my.domain (nat-server-217.15.27.35.static.futures.ru. [217.15.27.35]) by mx.google.com with ESMTPS id mt19sm13372279lab.17.2012.08.25.07.20.25 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 25 Aug 2012 07:20:26 -0700 (PDT) From: Oleg Ginzburg To: freebsd-ports@freebsd.org Date: Sat, 25 Aug 2012 18:22:45 +0400 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201208251822.45678.olevole@olevole.ru> X-Gm-Message-State: ALoCoQn30Dsh7fLA6+LcH1B2LXkNN2DTK0q7y29b2SbREwFEhxPf73kXtDRaC3W7dfjw/o0upcXC Cc: Warren Block , 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 14:20:29 -0000 Hi 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? >=20 > ... > 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 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Ive already register PR for this: http://www.freebsd.org/cgi/query- pr.cgi?pr=3Dports/170522 =2D-=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, With respect, =D0=9E=D0=BB=D0=B5=D0=B3 =D0=93=D0=B8=D0=BD=D0=B7=D0=B1=D1=83=D1=80=D0=B3 O= leg Ginzburg =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D E-mail: mailto: olevole@olevole.ru Skype: olegginzburg XMPP/Jabber: olevole@jabber.ru