FreeBSD Port: apcupsd-3.14.10_1

David Newman dnewman at networktest.com
Tue Aug 13 18:46:26 UTC 2013


Greetings. Running 'make package' on the 9.1-RELEASE/i386 port of
apcupsd-3.14.10_1 fails to run to completion. Please see the error
output below.

If it's relevant, I am running this in a 32-bit jail on a 64-bit 9.1
machine. But I am not sure that is relevant, since all the dependency
ports (gettext, gmake, libiconv) compiled OK in the 32-bit jail.

Thanks in advance for clues on getting this package to build.

dn

# make package
===>  Building for apcupsd-3.14.10
        src
        src/lib
        src/drivers
        src/drivers/apcsmart
        src/drivers/dumb
        src/drivers/net
        src/drivers/pcnet
        src/drivers/usb
        src/drivers/usb/generic
        src/drivers/snmplite
        src/libusbhid
  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+0x7b3): undefined reference to `operator new[](unsigned
int)'
/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+0xe4d): undefined reference to `operator new[](unsigned
int)'
/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+0xf53): undefined reference to `operator new[](unsigned
int)'
/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+0x71b): undefined reference to `operator new[](unsigned int)'
/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+0x826): undefined reference to `operator new[](unsigned int)'
/usr/ports/sysutils/apcupsd/work/apcupsd-3.14.10/src/drivers/libdrivers.a(asn.o):asn.cpp:(.text+0x918):
more undefined references to `operator new[](unsigned int)' follow
gmake[2]: *** [apcupsd] Error 1
gmake[1]: *** [all] Error 2
gmake: *** [src_DIR] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/sysutils/apcupsd.
*** [package] Error code 1

Stop in /usr/ports/sysutils/apcupsd.




More information about the freebsd-ports mailing list