a promble with compliation


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers a promble with compliation
# 1  
Old 07-28-2006
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!
# 2  
Old 07-29-2006
ld: fatal: Symbol referencing errors
ld - linker, it seems linker cannot link object files, I think you need specify some additional libs (for infoCAccountingLog, cftime)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Linux

OFED Compliation for Non running Kernel

Has anyone configured OFED packages for a non running kernel? In my case, I need to integrate the OFED packages to a kernel which is built but not installed. (0 Replies)
Discussion started by: diptajeet
0 Replies

2. Solaris

Compliation Error in solaris - macro "min" requires 2 arguments, but only 1 given

Hi, I am trying to compile our linux code base in solaris and came across the following issues. Am I suppose to do something special ? Can anyone help me to fix this issue. System : uname -a SunOS aspen 5.10 Generic_125100-08 sun4u sparc SUNW,Sun-Fire-280R The complier that I am using is... (0 Replies)
Discussion started by: learningkid
0 Replies

3. UNIX for Advanced & Expert Users

'make' problems (compliation problems?)

I'm trying to compile and install both most recent version of 'make' and the most recent version of 'openssh' on my Sparc20. I've run into the following problems... and I don't know what they mean. Can someone please help me resolve these issues? I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies
Login or Register to Ask a Question