logo       

"unresolvable relocation against symbol PAbstractList::Compare": msg#00382

telephony.openh323.general

Subject: "unresolvable relocation against symbol PAbstractList::Compare"

Hello,
I am trying to compile pwlib 1.5.2 in a linux box with Slackware 10.1 (kernel 2.4.29), flex 2.5.4a, bison 1.35 (bug corrected), with the following output from `gcc -v`

-----------------output begin----------------------------
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
------------------output end-----------------------------

I have the following output with ./configure

------------------output begin---------------------------
PTLib version is 1.5.2
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
OSTYPE set to linux
OSRELEASE set to 2.4.29
MACHTYPE set to x86
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether byte ordering is bigendian... no
checking if linker accepts --gc-sections... yes
checking if compiler accepts -ffunction-sections... yes
checking if compiler accepts -fdata-sections... yes
checking if compiler accepts -fvtable-gc... no
checking for pthread_create in -lpthread... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libdc1394/dc1394_control.h usability... no
checking libdc1394/dc1394_control.h presence... no
checking for libdc1394/dc1394_control.h... no
checking libavc1394/avc1394.h usability... no
checking libavc1394/avc1394.h presence... no
checking for libavc1394/avc1394.h... no
checking libdv/dv.h usability... no
checking libdv/dv.h presence... no
checking for libdv/dv.h... no
checking for res_search... no
checking for res_search in -lresolv... yes
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
checking for /usr/local/include/ldap.h... no
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking SDL/SDL.h usability... yes
checking SDL/SDL.h presence... yes
checking for SDL/SDL.h... yes
checking for SDL_CreateYUVOverlay in -lSDL... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for IPv6 Support... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking machine/ioctl_meteor.h usability... no
checking machine/ioctl_meteor.h presence... no
checking for machine/ioctl_meteor.h... no
checking i386/ioctl_meteor.h usability... no
checking i386/ioctl_meteor.h presence... no
checking for i386/ioctl_meteor.h... no
checking dev/ic/bt8xx.h usability... no
checking dev/ic/bt8xx.h presence... no
checking for dev/ic/bt8xx.h... no
checking for swab... yes
checking for dlopen in -ldl... yes
configure: creating ./config.status
config.status: creating make/ptbuildopts.mak
config.status: creating make/ptlib-config
config.status: creating Makefile
config.status: creating include/ptbuildopts.h
------------------output end----------------------------

and I got this error message during compiling :

--------------output begin--------------------------------
g++ -DP_LINUX=2.4.29 -ffunction-sections -fdata-sections -D_REENTRANT -Wall -DP_USE_PRAGMA -g -D_DEBUG -DPMEMORY_CHECK=1 -DPHAS_TEMPLATES -I/root/pwlib/include/ptlib/unix -I/usr/include/pwlib -I/root/pwlib/include -DP_USE_PRAGMA -x c++ -c main.cxx -o obj_linux_i486_d/main.o
g++ -o obj_linux_i486_d/asnparser -Wl,--gc-sections -L/root/pwlib/lib ./obj_linux_i486_d/asn_grammar.o ./obj_linux_i486_d/asn_lex.o ./obj_linux_i486_d/main.o -lpt_linux_i486_d -lpthread -lssl -lcrypto -lexpat -lSDL -lresolv -ldl
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: ./obj_linux_i486_d/asn_grammar.o(.gnu.linkonce.r._ZTV5PListI9ValueBaseE+0x1c): unresolvable relocation against symbol `PAbstractList::Compare(PObject const&) const'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
gmake[3]: *** [obj_linux_i486_d/asnparser] Error 1
gmake[3]: Leaving directory `/root/pwlib/tools/asnparser'
gmake[2]: *** [debug] Error 2
gmake[2]: Leaving directory `/root/pwlib'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory `/root/pwlib'
gmake: *** [debuglibs] Error 2
-------------output end------------------------

Any help is very welcomed.....
Thank you in advance,
Dimitris

------------------------------------------------------------------------
Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To unsubscribe or
change your subscription options, goto
http://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise