Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

undefined reference in system library on netbsd-9/sparc



Building "sysutils/apcupsd" on NetBSD/sparc-9.0_BETA fails linking with:

[...]
  LD    src/apcupsd
ld: /usr/lib/libsupc++.a(eh_throw.o):(.text+0x78): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'


I have an old binary package from the last time I built apcupsd on sparc.
It reports OS_VERSION of 8.99.26.  So whatever the gcc/g++ version and
libraries in use at that time, it worked fine.

Clues?

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index