07-28-2006
3,
0
Join Date: Jul 2006
Last Activity: 27 December 2008, 11:06 AM EST
Posts: 3
Thanks Given: 0
Thanked 0 Times in 0 Posts
a promble with compliation
hi everyone:
i have write a c++ program, my server is sun solaries,and the database is oracle 9i ,however, another guy use makefile to compile my programm.
the libs in the makefile is
"LIBS=-lwtc9 -lcurses -lclient9 -ldl -lresolv -lclntsh -lcommon9 -lcore9 -lmm -Qy -lc -lm -lsocket -ltracept9 -lgeneric9 -lncrypt9 -lnls -ldbm "
but it can,t compile successfully. the following are the errors .
Undefined first referenced
symbol in file
operator new[](unsigned) /BilliX/account/publib/publib.a(MemMgr.o)
operator new(unsigned) CAccountingLog.o
__cxa_allocate_exception testCAccountingLog.o
vtable for __cxxabiv1::__si_class_type_infoCAccountingLog.o
__cxa_end_catch testCAccountingLog.o
__cxa_begin_catch testCAccountingLog.o
operator delete(void*) CAccountingLog.o
__cxa_throw testCAccountingLog.o
vtable for __cxxabiv1::__class_type_infotestCAccountingLog.o
__gxx_personality_v0 testCAccountingLog.o
__cxa_pure_virtual /BilliX/account/publib/udbc_oracle.a(OracleConnection.o)
vtable for __cxxabiv1::__pointer_type_info/BilliX/account/publib/publib.a(ObjMgr.o)
cftime(char*, char*, long const*) /BilliX/account/publib/publib.a(CDate.o)
ld: fatal: Symbol referencing errors. No output written to testCAccountingLog
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `app'
is it the LIBS having no enough libs or something else.
who would like to help me would be appreciated!