Precompilers and OCI (MOSC)

MOSC Banner

using MinGW in windows XP to compile

edited Nov 1, 2010 2:43AM in Precompilers and OCI (MOSC) 4 commentsAnswered
 the client is 11.2

wondering if I am wasting my time. Trying to compile cdemo82.c (a sample) with MinGW. I do have oci.h and as far as I can tell it is being correctly used.

However, I am unable to produce a even a object file..

The errors returned are:

C:\DOCUME~1\pete\LOCALS~1\Temp\ccqkTnS2.o:cdemo82.c:(.text+0x4a): undefined reference to `OCIObjectPin'
C:\DOCUME~1\pete\LOCALS~1\Temp\ccqkTnS2.o:cdemo82.c:(.text+0x75): undefined reference to `OCIStringPtr'
C:\DOCUME~1\pete\LOCALS~1\Temp\ccqkTnS2.o:cdemo82.c:(.text+0x8b): undefined reference to `OCIStringPtr'
C:\DOCUME~1\pete\LOCALS~1\Temp\ccqkTnS2.o:cdemo82.c:(.text+0xc6): undefined reference to `OCIObjectUnpin'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center