This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

__eh_pc undefined is very painful!



I've been using egcs recently (I've been using gcc for over a decade,
I installed redhat 5.2, and got egcs 1.1.1, egcs 1.1.2, and tried
egcs 1.1.2 with HJ Lu's patching...

I built a program called pkgview with the FOX library...

I built the fox library a few month's ago...

Now I get:
/usr/local/src/X11/fox-0.99.0/src/FXApp.cpp:498: undefined reference to `__eh_pc'
/usr/local/src/X11/fox-0.99.0/src/FXApp.cpp:498: undefined reference to `__eh_pc'
/usr/local/src/X11/fox-0.99.0/src/FXApp.cpp:498: undefined reference to `__eh_pc'
/usr/local/src/X11/fox-0.99.0/src/FXApp.cpp:498: undefined reference to `__eh_pc'

(I found the note in the egcs mailing list about this is what happens when you
mix old and new compilers).

But this is so painful!!  What does __eh_pc do?
Can't you stub it?  Or something?

At least this should be in the FAQ...(there was a changelog entry 
from Dec. 1997, but this is kinda hidden).

I've also come across the problem with __register_frame_info (or something
like that).

Marty Leisner
leisner@rochester.rr.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]