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]

Re: Problem with _Unwind_xxx


bela@home.ro writes:

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

You g++ for linking of C++ objects,

Andreas

>
> 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?
>
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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