Funky compile error with new gcc

Michael Nottebrock michaelnottebrock at gmx.net
Fri Jul 30 13:00:47 PDT 2004


The cups-base port fails in a rather strange fashion since the recent gcc 
import. Does anybody have a clue what might be the cause and how to fix it?

cc -L../cups -L../filter  -L/usr/local/lib -Wl,-R/usr/local/lib -Wall 
-fPIC  -o pdftops pdftops.o libxpdf.a -lcups  -lcrypt   -lsupc++ -lm
/usr/lib/libsupc++.a(eh_throw.o)(.text.__cxa_throw+0x1a): In function 
`__cxa_throw':
: undefined reference to `__cxxabiv1::__unexpected_handler'
/usr/lib/libsupc++.a(eh_throw.o)(.text.__cxa_throw+0x22): In function 
`__cxa_throw':
: undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt9terminatev+0x8): In function 
`std::terminate()':
: undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt10unexpectedv+0x8): In function 
`std::unexpected()':
: undefined reference to `__cxxabiv1::__unexpected_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt13set_terminatePFvvE+0x4): In 
function `std::set_terminate(void (*)())':
: undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt13set_terminatePFvvE+0xd): In 
function `std::set_terminate(void (*)())':
: undefined reference to `__cxxabiv1::__terminate_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt14set_unexpectedPFvvE+0x4): In 
function `std::set_unexpected(void (*)())':
: undefined reference to `__cxxabiv1::__unexpected_handler'
/usr/lib/libsupc++.a(eh_terminate.o)(.text._ZSt14set_unexpectedPFvvE+0xd): In 
function `std::set_unexpected(void (*)())':
: undefined reference to `__cxxabiv1::__unexpected_handler'
gmake[1]: *** [pdftops] Error 1
gmake[1]: Leaving directory 
`/tmp/a/ports/print/cups-base/work/cups-1.1.20/pdftops'
gmake: *** [all] Error 1
*** Error code 2


-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040730/ecd8da4a/attachment.bin


More information about the freebsd-current mailing list