![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#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! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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) |
||||
| Google The UNIX and Linux Forums |