Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Linking with g++

Re: Linking with g++

From: Dave <David.W.Spencer_at_elcaro.moc>
Date: Tue, 10 Dec 2002 16:08:54 +0000
Message-ID: <3DF61196.1090108@elcaro.moc>


Try linking with oraocci9.lib

Cuervo wrote:
> I working with OCCI and I try to link the OCCI examples and get this
> error message:
>
> /usr/ccs/bin/ld: Unsatisfied symbols:
> oracle::occi::SQLException::SQLException[in-charge](oracle::occi::SQ-
> LException const&)(first referenced in occidml.o) (code)
> oracle::occi::Environment::createEnvironment(oracle::occi::Environme-
> nt::Mode, void*, void* (*)(void*, unsigned long), void* (*)(void*,
> void*, unsigned long), void (*)(void*, void*))(first referenced in
> occidml.o) (code)
> oracle::occi::Environment::terminateEnvironment(oracle::occi::Enviro-
> nment*)(first referenced in occidml.o) (code)
> oracle::occi::SQLException::~SQLException [in-charge]()(first
> referenced in occidml.o) (code)
> oracle::occi::SQLException::getErrorCode() const(first referenced in
> occidml.o) (code)
> oracle::occi::SQLException::getMessage() const(first referenced in
> occidml.o) (code)
> collect2: ld returned 1 exit status
>
> Anyone can help me because I just include the occi.h and the
> error returns.
> Thanks
>
> --
> Posted via http://dbforums.com

-- 
Email address munged to avoid SPAM
Reverse the last two parts to reply directly
Received on Tue Dec 10 2002 - 10:08:54 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US