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

Home -> Community -> Usenet -> c.d.o.server -> OCI compiling/linking problem

OCI compiling/linking problem

From: Norman Dunbar <Norman.Dunbar_at_lfs.co.uk>
Date: Tue, 22 Oct 2002 16:13:29 +0100
Message-ID: <E2F6A70FE45242488C865C3BC1245DA702D26929@lnewton.leeds.lfs.co.uk>


Tobias,

forgive me if I'm wrong, however, I too have had numerous problems with the Oracle example OCI programs. As we don't need them here, I've never bothered to dig much deeper.

I think you'll find that the examples may not have been updated since O7 (!) because the 'oopen' routines you are looking for are, I believe, no longer used (but I'm open to corrections). I believe these were removed/deprecated at 8.0 and are the very examples that were giveing me grief under Oracle 8.0.

I haven't tried since then, but if the same problems exist in 9i then who knows.

Sorry I cannot be of any more help, other than to say, what do the docs have to say about these routines ? If I remember correctly, I thing the OCI docs give better examples than the C code supplied by Oracle.

Cheers,
Norman,.



Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
mailto:Norman.Dunbar_at_LFS.co.uk
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com

-------------------------------------

-----Original Message-----
From: Tobias Herrmann [mailto:tobias.herrmann_at_2kh-tema.de] Posted At: Tuesday, October 22, 2002 1:57 PM Posted To: server
Conversation: OCI compiling/linking problem Subject: OCI compiling/linking problem

Hello,

I'm having trouble compiling a example programm from oracle9i for linux. For
example oci08.c. The linker is missing some libraries. But which on. There
is no description which says how I have to compile these example programes
and which prerequesits they need.

The error message is like this:

oci08.o: In function `setup(void)':
oci08.o(.text+0xae): undefined reference to `oopen(cda_def *, cda_def *, unsigned char *, int, int, unsigned char *, int)' <SNIP> Received on Tue Oct 22 2002 - 10:13:29 CDT

Original text of this message

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