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 -> Re: how to compile daemon.pc

Re: how to compile daemon.pc

From: Steve Rainbird <steve.rainbird_at_nospam.mssint.com>
Date: Thu, 25 Jul 2002 08:42:40 +0000 (UTC)
Message-ID: <ahodlv$n10$1@helle.btinternet.com>


See my response in comp.database.oracle.misc where you also posted this question!!!

--
Steve Rainbird
Principal consultant
MSS International Ltd.
www.mssint.com

Remove "nospam" from email address to reply

"Markus Boehmer" <markus.boehmer_at_schaefer-shop.de> wrote in message
news:3D3F948A.1070505_at_schaefer-shop.de...

> Hi guys and gals,
>
> here's my problem.
> I have an oracle 8.1.5 on a sun solaris server running.
> And now I want to compile the daemon.pc.
> The first step was to bring it through the Pro*C/C++ precompiler, which
> worked fine without any errormessages.
>
> The next step was to compile it with a C compiler.
> I have two to choose from.
>
> the first one ist the C compile from the SUN workshop.
>
> Here is the output
> oracle_at_UE250:/oracle/Software/precomp/daemon # cc daemon.c
> Undefined first referenced
> symbol in file
> sqlglm daemon.o
> sqlcxt daemon.o
> ld: fatal: Symbol referencing errors. No output written to a.out
>
>
> the next one is a GNU C compiler
> oracle_at_UE250:/oracle/Software/precomp/daemon # gcc daemon.c
> /var/tmp/cc9nGPBP.o: In function `connect_error':
> /var/tmp/cc9nGPBP.o(.text+0x18): undefined reference to `sqlglm'
> /var/tmp/cc9nGPBP.o: In function `sql_error':
> /var/tmp/cc9nGPBP.o(.text+0x84): undefined reference to `sqlglm'
> /var/tmp/cc9nGPBP.o: In function `main':
> /var/tmp/cc9nGPBP.o(.text+0x1dc): undefined reference to `sqlcxt'
> /var/tmp/cc9nGPBP.o(.text+0x378): undefined reference to `sqlcxt'
> /var/tmp/cc9nGPBP.o(.text+0x588): undefined reference to `sqlcxt'
> /var/tmp/cc9nGPBP.o(.text+0x74c): undefined reference to `sqlcxt'
> /var/tmp/cc9nGPBP.o(.text+0x928): undefined reference to `sqlcxt'
> /var/tmp/cc9nGPBP.o(.text+0xaa4): more undefined references to `sqlcxt'
> follow
> collect2: ld returned 1 exit status
>
>
> It seems, that in both cases the error is the same.
> Has anyone successfully compiled the daemon.c to get a working program?
>
> Greetings
> Markus
>
Received on Thu Jul 25 2002 - 03:42:40 CDT

Original text of this message

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