This is the mail archive of the gcc-help@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]
Other format: [Raw text]

G++ 3.3 and ld Error


Using new release of g++, I get following error during link:

g++-3.3  -o prog -rdynamic   String.o StringList.o User.o -L/usr/lib
-Wl,-Bstatic -lmylib -lexpat -lgdbm -lrt -lc -ltcl  -lstdc++ -Wl,-Bdynamic \
      -lm  -lgdbm -lpthread -ldl     \
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libstdc++.a(eh_throw.o
): In function `__cxa_rethrow':
/usr/local/src/gcc_obj/i686-pc-linux-gnu/libstdc++-v3/libsupc++/../../../../
gcc-3.3/libstdc++-v3/libsupc++/eh_throw.cc:49: undefined reference to
`_Unwind_Resume_or_Rethrow'
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libstdc++.so:
undefined reference to `_Unwind_Resume_or_Rethrow@GCC_3.3'
collect2: ld returned 1 exit status

Same commands worked OK in 3.2.3.

Any suggestions?

Thanks.

Tom Browder




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