This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Problem with _Unwind_xxx


I made a library libx.so with:
 gcc -lposix4 -lc -lgcc -lstdc++ -lz -lm
and ld show this:

bash-2.03$ ld libx.so
ld: warning: file libgcc_s.so.1: required by libx.so, not found
Undefined                       first referenced
 symbol                             in file
_Unwind_GetLanguageSpecificData     /usr/lib/libstdc++.so.4
_Unwind_GetRegionStart              /usr/lib/libstdc++.so.4
_Unwind_GetIP                       /usr/lib/libstdc++.so.4
_Unwind_GetDataRelBase              /usr/lib/libstdc++.so.4
_Unwind_SetIP                       /usr/lib/libstdc++.so.4
_Unwind_SetGR                       /usr/lib/libstdc++.so.4
_Unwind_Resume                      /usr/lib/libstdc++.so.4
_Unwind_GetTextRelBase              /usr/lib/libstdc++.so.4
_Unwind_RaiseException              /usr/lib/libstdc++.so.4
_Unwind_DeleteException             /usr/lib/libstdc++.so.4
ld: fatal: Symbol referencing errors. No output written to a.out

I've tried -fno-exceptions and nothing.
Can someone help me with this, please?


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