dbTalk Databases Forums  

[Info-ingres] (Fwd) Ingres static runtime library file on windows

comp.databases.ingres comp.databases.ingres


Discuss [Info-ingres] (Fwd) Ingres static runtime library file on windows in the comp.databases.ingres forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
martin.bowes@ctsu.ox.ac.uk
 
Posts: n/a

Default [Info-ingres] (Fwd) Ingres static runtime library file on windows - 03-18-2005 , 03:43 AM






Hi Dudes,

I've been asked the following question by one of our
programmers. And not knowing anything about it - I thought I'd share...

Martin Bowes

I'm trying to compile some C files that belong to Alan's Xlibrary on
windows. I'm hitting a snag at the file xsql.c, because it requires
some ingres header files. I found the header files on my PC's
C:\IngresII\ingres\files folder, and the program compiled, but the
link failed.

The linker complains that it doesn't know about two dozen or so
function calls. They are functions like IIsqConnect(),
IIsqDisconnect() and Iixact().

I suspect that the problem is that I need to get my hands on the
ingres static library. I've actually found something that looks like
it fits the bill. It’s the file C:\IngresII\ingres\lib\ingres.lib,
about 3MB in size. Unfortunately it is not in Borland's format (I'm
using C++ Builder). Instead it is in Microsoft's format, which is
incompatible. There is no easy way to convert from one to the other.

I'm hoping CA has released a borland compatible static library, or
some dynamic library, that I can use instead of this ingres.lib file
I've found. I asked around in core, and I was told you would know
where to start looking.

Any comments or suggestions would be much appreciated. If there's no
way of getting xsql.c to compile and link, then I'll stick to
compiling on linux, which does work, but is my second choice.

--
Random Farscape Quote #6:
Ka'Dargo - You have no idea where we are.
Pilot - Of course I do... We are someplace else, I'll get back to you
when
more details become apparent.



Reply With Quote
  #2  
Old   
martin.bowes@ctsu.ox.ac.uk
 
Posts: n/a

Default RE: [Info-ingres] (Fwd) Ingres static runtime library file on windows - 03-18-2005 , 04:58 AM






Hi Keith,

Thanks for that. I got to learn a new command today. And any
day where you get to learn something new just has to be good. Well
other than that day where I learned what set nologging really meant...

I've used 'nm -P' to track those functions down to libframe.1.so.
I've asked the programmer to see if that helps.

Marty
--
Random Farscape Quote #9:
Chiana - What if I run into the creature?
John - Piss it off.
Chiana - How?
John - Pretend its me!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.