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

[ns] undefined reference to `__eh_pc' and Re: C++ Compilation problem



Hello, 
I overcame my c++ problem, but now I got another one:

When I make my ns, I get:

tclAppInit.o: In function `Tcl_AppInit':
tclAppInit.o(.text+0xef): undefined reference to `__eh_pc'
rng.o: In function `RNGTest::RNGTest(void)':
rng.o(.text+0x700): undefined reference to `__eh_pc'
rng.o: In function `RNGTest::first_n(RNG::RNGSources, long, int)':
rng.o(.text+0x7b0): undefined reference to `__eh_pc'
rng.o: In function `RNG::RNG(RNG::RNGSources, int)':
rng.o(.text+0xb45): undefined reference to `__eh_pc'
rng.o: In function `RNG::RNG(void)':
rng.o(.text+0xbad): undefined reference to `__eh_pc'
rng.o(.RNGClass::gnu.linkonce.t.(void)+0x39): more undefined references to `__eh_pc' follow
collect2: ld returned 1 exit status
make: *** [ns] Error 1                 

Any idea about how to solve this problem?


To solve my previous problem (for the archive), I installed:
gcc
egcs-c++
egcs
libstdc++
binutils
and cpp !
now it works somewhat better
-- 
Robin Poss