* linker options for hpux
@ 2001-10-12 11:34 thomas.porschberg
2001-10-19 9:43 ` law
0 siblings, 1 reply; 2+ messages in thread
From: thomas.porschberg @ 2001-10-12 11:34 UTC (permalink / raw)
To: gcc-help
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linker options for hpux
2001-10-12 11:34 linker options for hpux thomas.porschberg
@ 2001-10-19 9:43 ` law
0 siblings, 0 replies; 2+ messages in thread
From: law @ 2001-10-19 9:43 UTC (permalink / raw)
To: thomas.porschberg; +Cc: gcc-help
In message < 15303.15342.733678.486038@porschberg.osp-dd.de >you write:
> 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/loca
> l/lib
> -L/proj/standards/lib -L/proj/paloma/lib -o ImportCustomerOrder CustomerOr
> der_E
> xc.o CustomerOrder.o Configure.o ReadAuftragASC.o WriteResultASC.o OrtStras
> senPr
> 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 -ls
> tdc++
>
> /usr/ccs/bin/ld: Unsatisfied symbols:
> __builtin_va_start (code)
> collect2: ld returned 1 exit status
This is actually an indication that GCC is picking up /usr/include/stdarg.h
or /usr/include/varargs.h instead of its own private copies.
Make sure nothing does -I/usr/include when compiling programs with GCC.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-19 9:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-12 11:34 linker options for hpux thomas.porschberg
2001-10-19 9:43 ` law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).