The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compliation Error in solaris - macro "min" requires 2 arguments, but only 1 given learningkid SUN Solaris 0 01-29-2008 02:23 AM
'make' problems (compliation problems?) xyyz UNIX for Advanced & Expert Users 5 11-05-2001 07:47 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-28-2006
Registered User
 

Join Date: Jul 2006
Posts: 1
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!
Reply With Quote
Forum Sponsor
  #2  
Old 07-29-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 360
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)
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0