PDA

View Full Version : Help With Linking Errors


Nick
2005.08.31, 04:38 PM
I'm having trouble fixing these errors and warning. Can anyone suggest anything to help solve these?


ld: /usr/lib/gcc/darwin/3.3/libstdc++.a(eh_personality.o) illegal reference to symbol: ___cxa_allocate_exception defined in indirectly referenced dynamic library /usr/lib/libstdc++.6.dylib
ld: /usr/lib/gcc/darwin/3.3/libstdc++.a(eh_personality.o) illegal reference to symbol: __Unwind_GetDataRelBase defined in indirectly referenced dynamic library /usr/lib/libgcc_s.1.dylib
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used

peterhull90
2005.10.08, 09:20 AM
What does your linker command line look like?

OneSadCookie
2005.10.08, 07:04 PM
you're mixing stuff built with GCC 3.3 with stuff built with GCC 4.0