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]

relocation error


hello,

i have a problem during the execution of one of my prog.
I'm using stlport, and, at execution time, i have:

./bin/test: relocation error: ./bin/test: undefined
symbol: _ZN3avs4text4FontC1ERKN4_STL12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEi

ldd ./bin/test returns me:

        libavisynth.so.3 => /home/torri/local/lib/libavisynth.so.3
(0x40015000)
        libstlport_gcc.so => /home/torri/local/lib/libstlport_gcc.so
(0x4028f000)
        libboost_thread-gcc-mt-1_31.so.1.31.0 =>
/home/torri/local/lib/libboost_thread-gcc-mt-1_31.so.1.31.0 (0x40357000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40360000)
        libm.so.6 => /lib/i686/libm.so.6 (0x4042e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40451000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4045a000)
        libc.so.6 => /lib/i686/libc.so.6 (0x404aa000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x405da000)
        libz.so.1 => /lib/libz.so.1 (0x4062f000)
        librt.so.1 => /lib/i686/librt.so.1 (0x4063d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

this error appears when the following constructor:

Font(std::string const& name, int size);

is called.
What i don't understand is that I have this operator:

PClip Parser::operator ()(std::string const& src)

and g++ does not complain about it.

does someone know where i am wrong ?

Thank you !

Vincent TORRI



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