Re: Sample makefile

2002-11-04 Thread Shankar Unni
On 11/4/2002 9:18 AM, Brunda Sathi wrote: Here is the output from the linker D:\Oracle\ora92\oci\samples>ld -o cdemo81 cdemo81.o d: \oracle\ora92\oci\lib\msvc \oci.lib d:\oracle\ora92\oci\lib\msvc\msvcrt.lib -lc Whoa. Why are you linking "msvcrt.lib"? I suspect your problems are because you're

Re: Sample makefile

2002-11-04 Thread [EMAIL PROTECTED]
, then look up information about calling conventions at msdn.microsoft.com. The information there should allow you to bridge the gap. Good luck, Larry Original Message: - From: Brunda Sathi [EMAIL PROTECTED] Date: Mon, 4 Nov 2002 12:18:25 -0500 To: [EMAIL PROTECTED] Subject: Re: S

Re: Sample makefile

2002-11-04 Thread Brunda Sathi
Here is the output from the linker D:\Oracle\ora92\oci\samples>ld -o cdemo81 cdemo81.o d: \oracle\ora92\oci\lib\msvc \oci.lib d:\oracle\ora92\oci\lib\msvc\msvcrt.lib -lc cdemo81.o(.text+0xcf7):cdemo81.c: undefined reference to `_impure_ptr' cdemo81.o(.text+0xd9a):cdemo81.c: undefined reference to

Re: Sample makefile

2002-11-01 Thread Peter A. Castro
On Fri, 1 Nov 2002, Brunda Sathi wrote: > Hi, > I am trying to compile an oracle oci sample program "cdemo81.c" which > is under > d:\oracle\ora92\oci\samples directory. It is referring to a > library called oci.lib which is under > d:\oracle\ora92\oci\lib\msvc directory.

Sample makefile

2002-11-01 Thread Brunda Sathi
Hi, I am trying to compile an oracle oci sample program "cdemo81.c" which is under d:\oracle\ora92\oci\samples directory. It is referring to a library called oci.lib which is under d:\oracle\ora92\oci\lib\msvc directory. All include files are under d:\oracle\ora92\oci\