I built a shared library and a teste.cpp that has nothing but a main
look when i try to build it:
[code][root@localhost tt]# g++ -o tt teste.cpp -linferno
/usr/bin/ld: tt: hidden symbol `__dso_handle' in /usr/lib/gcc/i386-redhat-linux/3.4.6/crtbegin.o is referenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
the name of the library is inferno and the so file is copied in /usr/lib
if I take out the -linferno the application is built, but not if I add the lib link
inside teste.cpp there is only one main with nothing but a printf
when I use nm on the so library:
[code][root@localhost lib]# nm libinferno.so.1
0000d730 A __bss_start
// The problem?!?
0000d72c d DW.ref.__gxx_personality_v0
0000d5ec A _DYNAMIC
0000d730 A _edata
0000d73c A _end
I don't know what to do...
any help pleeeeeeease?