Funky compile error with new gcc

From: Michael Nottebrock <michaelnottebrock_at_gmx.net>
Date: Fri, 30 Jul 2004 21:59:45 +0200
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

Received on Fri Jul 30 2004 - 18:00:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC