Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 08:06:29 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        ports@freebsd.org
Subject:   apcupsd compile fails on 9-stable amd64
Message-ID:  <alpine.BSF.2.00.1208250758120.61034@wonkity.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1208250758120.61034>