Install Problem on Windows 2k with MS Visual Studio 6.0
Status: Beta
Brought to you by:
harsh_azad
Hi,
I am trying to install Shift2Ingres under Windows 2K +
SP4 Build 2195 using MS Visula Studio 6.0 + SP6
applied. I am receiving errors at "Configure your Ingres
R3 Database Server . OME Function linking" phase.
These are C compile errors when iilink is being
executed. As I said above I am using MS Visual Studio
6.0 C++. So, my questions are:
1) Is it a supported environment to install Shift2Ingres or
only under Unix/Linux I can do this?
2) If this environment is supported, which are the correct
C++ compile options? You've provided a makefile only
for Linux.
Thanks in advance for your assistance.
Hamilton Silva
PS: I've sent an e-mail directly to Shift2Ingres product
owner with the same subject.
Logged In: YES
user_id=1592406
I have used iilink with the Visual C++ toolkit 2003. I
added -D__STDC__ to the "Compile Command" before -
DNT_GENERIC. File orac_compat.c will fail to compile unless
you move the "int int_no = 0" line until after the "curr =
start = str;" line (about line 1445), because it's
attempting to declare variables after an assign statement.
Logged In: YES
user_id=1592406
For the compiler options, try:
cl /c -
G4 /D__STDC__ /DNT_GENERIC /Od /D_DLL /D_MT /nologo /MD /I.
/I"C:\Program Files\CA\Ingres [II]
\ingres\files" "C:\ingres\shift2ingres\core\src\sql_function
s\ome\common\common.c" "C:\ingres\shift2ingres\core\src\sql_
functions\ome\common\orac_compat.c
For the link options, try:
link /NODEFAULTLIB /NOLOGO /DLL /DEF:iilibudt.def /OUT:IILIB
UDT.DLL msvcrt.lib kernel32.lib "C:\Program
Files\CA\Ingres [II]\ingres\lib\libingres.lib" "C:\Program
Files\CA\Ingres [II]\ingres\lib\iiclsadt.obj" "C:\program
files\ca\ingres [ii]
\ingres\demo\udadts\common.obj" "C:\program files\ca\ingres
[ii]\ingres\demo\udadts\orac_compat.obj