Aix Error Undefined Symbol
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta "ld: 0711-317 error: undefined symbol:" aix Discuss the workings and policies of this site About Us Learn ld: 0711-345 more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Porting to AIX 6.1 (ld: 0711-317 ERROR: Undefined symbol) with Xerces up vote 0 down vote favorite 1 AIX 6.1 Porting an application from AIX 5.3 to AIX 6.1, Where it is building successfully in AIX 5.3. I am getting following errors while trying to build the same in 6.1. Able to compile and create libraries from C and C++ source code While trying to create a run time executable by using libraries the following error occurs Observations Following errros are seems to be while trying call functions from the "libdocxml.a" library, which built successfully with xlC compiler earlier. Compiler used: xlC_r, same compiler used for building all the libraries and application. NOTE: Executables are building properly in 5.3 refering to this library. But the same in 6.1 is giving above errors. This library is related with xml parsers (xercesparser: XML4C and Xerces-C) Please go through the end of the following error description. Actual errors are defined at the end. Any help would be highly appreciated. Thanks in advance. xlC_r -o acbbatch acbbatch.o acbbankserv.o acbbatchmain.o acbdinersclub.o acbmastercard.o acbmoneytransfer.o acbtype.o acbxcept.o acbcats.o -bloadmap:acbbatch.m /nci5d10/prod/c/lib/libti.a /nci5d10/prod/c/lib/libdocxml.a /nci5d10/prod/c/lib/libintxml.a /nci5d10/prod/c/lib/libdatalayer.a /nci5d10/prod/c/lib/libsql.a /nci5d10/prod/c/lib/libshared.a /nci5d10/prod/c/lib/libstatdoc.a /nci5d10/prod/c/lib/libfeeeng.a /oracle/app/oracle/product/11.1.0/lib32/libclntsh.a ld: 0711-224 WARNING: Duplicate symbol: .bcopy ld: 0711-344 See the loadmap file acbbatch.m for more information. ld: 0711-317 ERROR: Undefined s
on AIX (5.3.0): ERROR: Undefined symbol: vtable for __cxxabiv1::__si_class_type_info Reported by: neteler Owned by: warmerdam Priority: normal Milestone: Component: default Version: 1.6.2 Severity: normal Keywords: Cc: Description I ma trying to complile the latest stable version 1.6.2 on AIX (5.3.0) on a large Italian cluster. Configuration: make -checking build system type... j4powerpc-ibm-aix5.3.0.0 checking host system type... powerpc-ibm-aix5.3.0.0 checking target system type... powerpc-ibm-aix5.3.0.0 checking for gcc... xlc_r checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking http://stackoverflow.com/questions/6103714/porting-to-aix-6-1-ld-0711-317-error-undefined-symbol-with-xerces for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether xlc_r accepts -g... yes checking for xlc_r option to accept ISO C89... none needed checking C_WFLAGS for maximum warnings... -v checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking CXX_WFLAGS https://trac.osgeo.org/gdal/ticket/3128 for maximum warnings... -Wall checking for gcc... (cached) xlc_r checking whether we are using the GNU C compiler... (cached) no checking whether xlc_r accepts -g... (cached) yes checking for xlc_r option to accept ISO C89... (cached) none needed checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /opt/freeware/bin/grep checking for egrep... /opt/freeware/bin/grep -E checking for fgrep... /opt/freeware/bin/grep -F checking for non-GNU ld... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 65536 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command
Re: problems building gcc-4.3.5-1 on AIX 6.1 with pthreads From: Rick Springob
[ date ] [ thread ] [ subject ] [ author ] Hi! i'm getting the following link error on aix. do you hve an idea what's wrong? where are the listed undefined symbols supposed to come from? please let me know if you have an idea, before i have to delve into it. /bin/bash ./libtool --tag=CXX --mode=link xlC -O2 -qmaxmem=262144 -qarch=com -qlanglvl=extended -o pdftosrc pdftosrc-pdftosrc.o libpdftex.a /usr/local/vvv/src/source/Work/libs/libpng/libpng.a /usr/local/vvv/src/source/Work/libs/zlib/libz.a /usr/local/vvv/src/source/Work/libs/xpdf/libxpdf.a /usr/local/vvv/src/source/Work/libs/obsdcompat/libopenbsd-compat.a libmd5.a lib/lib.a /usr/local/vvv/src/source/Work/texk/kpathsea/libkpathsea.la -lm libtool: link: xlC -O2 -qmaxmem=262144 -qarch=com -qlanglvl=extended -o pdftosrc pdftosrc-pdftosrc.o libpdftex.a /usr/local/vvv/src/source/Work/libs/libpng/libpng.a /usr/local/vvv/src/source/Work/libs/zlib/libz.a /usr/local/vvv/src/source/Work/libs/xpdf/libxpdf.a /usr/local/vvv/src/source/Work/libs/obsdcompat/libopenbsd-compat.a libmd5.a lib/lib.a /usr/local/vvv/src/source/Work/texk/kpathsea/.libs/libkpathsea.a -lm ld: 0711-317 ERROR: Undefined symbol: poolsize ld: 0711-317 ERROR: Undefined symbol: strpool ld: 0711-317 ERROR: Undefined symbol: poolptr ld: 0711-317 ERROR: Undefined symbol: .zprint ld: 0711-317 ERROR: Undefined symbol: vfefnts ld: 0711-317 ERROR: Undefined symbol: fontmax ld: 0711-317 ERROR: Undefined symbol: vfifnts ld: 0711-317 ERROR: Undefined symbol: outputfilename ld: 0711-317 ERROR: Undefined symbol: fixedpdfdraftmode ld: 0711-317 ERROR: Undefined symbol: pdffile ld: 0711-317 ERROR: Undefined symbol: ptexbanner ld: 0711-317 ERROR: Undefined symbol: pdftexbanner ld: 0711-317 ERROR: Undefined symbol: nameoffile ld: 0711-317 ERROR: Undefined symbol: namelength ld: 0711-317 ERROR: Undefined symbol: strstart ld: 0711-317 ERROR: Undefined symbol: jobname ld: 0711-317 ERROR: Undefined symbol: pdfptr ld: 0711-317 ERROR: Undefined symbol: pdfgone ld: 0711-317 ERROR: Undefined symbol: .zflushstr ld: 0711-317 ERROR: Undefined symbol: formatident ld: 0711-317 ERROR: Undefined symbol: .println ld: 0711-317 ERROR: Undefined symbol: pdfbufsize ld: 0711-317 ERROR: Undefined symbol: pdfosmode ld: 0711-317 ERROR: Undefined symbol: .zpdfosgetosbuf ld: 0711-317 ERROR: Undefined symbol: pdfbuf ld: 0711-317 ERROR: Undefined symbol: .pdfflush ld: 0711-317 ERROR: Undefined symbol: objtab ld: 0711-317 ERROR: Undefined symbol: fontname ld: 0711-317 ERROR: Undefined symbol: .getnullstr ld: 0711-317 ERROR: Undefined symbol: .zpackfilename ld: 0711-317 ERROR: Undefined symbol: .ztokenstostring ld: 0711-317 ERROR: Undefi