linker options for hpux

thomas.porschberg@osp-dd.de thomas.porschberg@osp-dd.de
Fri Oct 12 11:34:00 GMT 2001


Which linker options should I give the HPUX linker to build the executable
for gcc3.0.1?

two examples:
hp-sport(pberg):/proj/paloma/src/oci/ImportCustomerOrder> make
        gcc +eh -Wl,-L/home/oracle/lib -L/home/oracle/rdbms/lib -L/usr/local/lib
 -L/proj/standards/lib -L/proj/paloma/lib -o ImportCustomerOrder CustomerOrder_E
xc.o CustomerOrder.o Configure.o ReadAuftragASC.o WriteResultASC.o OrtStrassenPr
fg.o MatchCodePrfg.o HandlingI.o Mainloop.o DBAction.o DBAction_Exc.o File_Exc.o
 Socket_Exc.o main.o -lpaloma_class_gnu -lccardgicc_class_gnu  -loci_class_gnu  
-lclntsh -l:libcl.a -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl  -lstdc++
 
/usr/ccs/bin/ld: Unsatisfied symbols:
   __builtin_va_start (code)
collect2: ld returned 1 exit status

########################

        gcc -Wl,-E -Wl,+n -l:libdld.sl -L/home_oracle/app/oracle/product/8.1.5/lib -L/home_oracle/app/oracle/product/8.1.5/rdbms/lib -L/usr/local/lib -L/proj/standards/lib -L/proj/paloma/lib -o ImportCustomerOrder CustomerOrder_Exc.o CustomerOrder.o Configure.o ReadAuftragASC.o WriteResultASC.o OrtStrassenPrfg.o MatchCodePrfg.o HandlingI.o Mainloop.o DBAction.o DBAction_Exc.o File_Exc.o Socket_Exc.o main.o -lpaloma_class_gnu -lccardgicc_class_gnu  -loci_class_gnu  -lclntsh -l:libcl.a -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl  -lstdc++ 
/usr/ccs/bin/ld: Unsatisfied symbols:
   OCIDatum::getWDay() const(code)
   CacheBank::CacheBank(OCIConnection*)(code)
   .
   .
   .
########################

I give up for today...
-- 
I found some dead inodes in your brain.
Please run humbrfsck manually to repair your head.



More information about the Gcc-help mailing list