Hello I am having problems linking using GCC on AIX 5.2.0.0.
Here is my problem. Even though I am pointing to the library called
libubic.a, it is unable to resolve the references within that library.
I think the libuic.a is good as the names to these references show up
when i use the dump command on the libubic.a library. Does anyone know
why and how I can get the compilation to read this library?
g++ -g -O2 -o bin/tax2seq atlas/cpp/src/apps/tax2seq.o -Llib/.libs
-lseqget /usr/local/mysql/lib/libmysqlclient.a
/flash/home/jling/install/lib/libubic.a -lz
-Wl,-blibpath:/space/home/jling/atlas/lib/.libs:/flash/home/jling/install/lib:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .TaxGet::TaxGet[in-charge](char
const*)
ld: 0711-317 ERROR: Undefined symbol:
.TaxGet::getTaxonId(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)
ld: 0711-317 ERROR: Undefined symbol: .TaxGet::taxonId2Taxtree(int)
ld: 0711-317 ERROR: Undefined symbol:
.Tax::loadTaxonIdList(std::list<int, std::allocator<int> >&)
ld: 0711-317 ERROR: Undefined symbol: .MysqlDb::~MysqlDb [not-in-charge]()
ld: 0711-317 ERROR: Undefined symbol: .Tax::~Tax [in-charge]()
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: *** [bin/tax2seq] Error 1
Thanks,
John Ling