Re: Problem with Pro*C compilation : sqlgls and sqlglm

From: Ketill Fenne <ketill.fenne_at_isi.no>
Date: Fri, 14 May 1999 11:23:28 +0200
Message-ID: <QXR_2.56$kf7.563_at_news1.online.no>


Have you recompiled the original .pc file to .c?

Pro*C depends on the version of SQL*NET. That means that a .pc file precompiled with ProC v2 to a c-file won't work with NET8. You have to install ProC v8 and precompile to C, and then run the C-compiler.

Ketill

<kev_grindley_at_my-dejanews.com> wrote in message news:7hc6b4$8nc$1_at_nnrp1.deja.com...
> Hello,
>
> I am trying to recompile a Pro*C application under Oracle 8
> which was originally developed under DYNIX/ptx and Oracle 7.3 The code
> uses the sqlglm() function call to retrieve the error message text when
> an embedded SQL statement fails. This is the technique recommended by
> the manual. The compilation fails with the following messages :-
>
> $ cc -o cgrp cgrp.c
> Undefined first referenced
> symbol in file
> sqlgls cgrp.o
> sqlglm cgrp.o
> sqlcxt cgrp.o
> ld: cgrp: fatal error: Symbol referencing errors. No output written to
> cgrp
>
> Folks here beleive that something has been missed out during the
> installation of Oracle 8...perhaps a library, or a link to a library
> path, may be an environment variable.
>
> However, I can't find anything in the documentation or on Oracles
> technet that may be of help. Has anyone come across this error before ?
> Any advice would be gratefully received.
>
> Thanks,
> Kevin Grindley
>
>
>
> --== Sent via Deja.com http://www.deja.com/ ==--
> ---Share what you know. Learn what you don't.---
Received on Fri May 14 1999 - 11:23:28 CEST

Original text of this message