ibm_db 5.4.0-x86-mingw32 → 5.5.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +8 -0
- data/README +3 -2
- data/ext/Makefile +12 -10
- data/ext/extconf.rb +16 -27
- data/ext/ibm_db.c +1 -2
- data/ext/ibm_db.o +0 -0
- data/ext/ibm_db.so +0 -0
- data/ext/mkmf.log +8 -8
- data/ext/ruby_ibm_db_cli.o +0 -0
- data/lib/active_record/connection_adapters/ibm_db_adapter.rb +2346 -1841
- data/lib/mswin32/ibm_db.rb +2 -2
- data/lib/mswin32/rb3x/i386/ruby32/ibm_db.so +0 -0
- data/test/config.yml +68 -12
- metadata +48 -10
- data/debug.log +0 -1
- data/lib/mswin32/rb3x/i386/ruby31/ibm_db.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b4bd4599aed6f027f19f10a64de9634183a911415893d0c1ae42514c3e2068a
|
4
|
+
data.tar.gz: cc314cf30538c521d7eb76fcb4b4cb837e22f98730e8e242becc1593a9a6d6c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adbde80f08d645438154d2fd832d923970ee8bf32d111d39276028555b257b677717552c70324f94609a51a81f9ba7dce27d8aa2a692979330fb372ff8f2dc9e
|
7
|
+
data.tar.gz: 7e0c459cd24d102174ab263a67e01b7cdb55758b209b598af986bf90a1b20e58214b28b6ee6065a2d22d0c03020a70e2d7583d65782e609faa7c9b667314b3d1
|
data/CHANGES
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
Change Log
|
2
2
|
==============
|
3
|
+
2023/10/11 (IBM_DB adapter 5.4.2, driver 3.1.0)
|
4
|
+
- config.yml to have Environment variables to specify credentials.
|
5
|
+
|
6
|
+
2023/03/29 (IBM_DB adapter 5.4.1, driver 3.1.0)
|
7
|
+
- Download clidriver issue fixed and replaced http links with https.
|
8
|
+
|
9
|
+
2023/01/06 (IBM_DB adapter 5.4.0, driver 3.1.0)
|
10
|
+
- Support for Ruby 3.1 and Rails 7.0
|
3
11
|
|
4
12
|
2022/10/06 (IBM_DB adapter 5.3.2, driver 3.0.6)
|
5
13
|
- Allowed all rails versions < 6.2 in gemspec, replaced limit clause with FETCH FIRST n ROWS
|
data/README
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
=====================================================================
|
2
|
-
README for the IBM_DB Adapter >= 5.
|
3
|
-
For ActiveRecord Version >=
|
2
|
+
README for the IBM_DB Adapter >= 5.5.0 and Driver >= 3.1.0
|
3
|
+
For ActiveRecord Version >= 7.1.x (and Rails >= 7.1.x)
|
4
4
|
=====================================================================
|
5
5
|
|
6
6
|
Supported Operating Systems
|
@@ -133,6 +133,7 @@ Testing the IBM_DB Adapter
|
|
133
133
|
2) Edit the Rakefile to include ibm_db in list of adapters
|
134
134
|
%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase ibm_db frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb )
|
135
135
|
3) Configure the connection information in test/config.yml for ibm_db
|
136
|
+
Set Environment Variables DB2_USER1, DB2_PASSWD1, DB2_DATABASE1, DB2_HOST1, DB2_PORT1 etc... accordingly.
|
136
137
|
4) run the test suite - rake test_ibm_db
|
137
138
|
|
138
139
|
Running IBM_DB driver test suite
|
data/ext/Makefile
CHANGED
@@ -13,12 +13,12 @@ NULLCMD = :
|
|
13
13
|
#### Start of system configuration section. ####
|
14
14
|
|
15
15
|
srcdir = .
|
16
|
-
topdir = /C/
|
16
|
+
topdir = /C/Ruby32/include/ruby-3.2.0
|
17
17
|
hdrdir = $(topdir)
|
18
|
-
arch_hdrdir = /C/
|
18
|
+
arch_hdrdir = /C/Ruby32/include/ruby-3.2.0/i386-mingw32
|
19
19
|
PATH_SEPARATOR = :
|
20
20
|
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
21
|
-
prefix = $(DESTDIR)/C/
|
21
|
+
prefix = $(DESTDIR)/C/Ruby32
|
22
22
|
rubysitearchprefix = $(rubylibprefix)/$(sitearch)
|
23
23
|
rubyarchprefix = $(rubylibprefix)/$(arch)
|
24
24
|
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
@@ -82,7 +82,7 @@ cflags = $(optflags) $(debugflags) $(warnflags)
|
|
82
82
|
cxxflags =
|
83
83
|
optflags = -O3 -fno-omit-frame-pointer -fno-fast-math
|
84
84
|
debugflags = -ggdb3
|
85
|
-
warnflags = -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef
|
85
|
+
warnflags = -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef
|
86
86
|
cppflags =
|
87
87
|
CCDLFLAGS =
|
88
88
|
CFLAGS = $(CCDLFLAGS) -O3 -fno-fast-math -fstack-protector-strong $(ARCH_FLAG)
|
@@ -96,11 +96,11 @@ ARCH_FLAG =
|
|
96
96
|
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
|
97
97
|
LDSHARED = $(CC) -shared
|
98
98
|
LDSHAREDXX = $(CXX) -shared
|
99
|
-
AR =
|
99
|
+
AR = gcc-ar
|
100
100
|
EXEEXT = .exe
|
101
101
|
|
102
102
|
RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
|
103
|
-
RUBY_SO_NAME = msvcrt-
|
103
|
+
RUBY_SO_NAME = msvcrt-ruby320
|
104
104
|
RUBYW_INSTALL_NAME = $(RUBYW_BASE_NAME)
|
105
105
|
RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
|
106
106
|
RUBYW_BASE_NAME = rubyw
|
@@ -108,9 +108,10 @@ RUBY_BASE_NAME = ruby
|
|
108
108
|
|
109
109
|
arch = i386-mingw32
|
110
110
|
sitearch = i386-msvcrt
|
111
|
-
ruby_version = 3.
|
111
|
+
ruby_version = 3.2.0
|
112
112
|
ruby = $(bindir)/$(RUBY_BASE_NAME)
|
113
113
|
RUBY = $(ruby)
|
114
|
+
BUILTRUBY = $(bindir)/$(RUBY_BASE_NAME).exe
|
114
115
|
ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h $(RUBY_EXTCONF_H)
|
115
116
|
|
116
117
|
RM = rm -f
|
@@ -161,7 +162,8 @@ ARCHHDRDIR = $(sitearchhdrdir)$(target_prefix)
|
|
161
162
|
TARGET_SO_DIR =
|
162
163
|
TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
|
163
164
|
CLEANLIBS = $(TARGET_SO) false
|
164
|
-
CLEANOBJS = *.
|
165
|
+
CLEANOBJS = $(OBJS) *.bak
|
166
|
+
TARGET_SO_DIR_TIMESTAMP = $(TIMESTAMP_DIR)/.sitearchdir.time
|
165
167
|
|
166
168
|
all: $(DLLIB)
|
167
169
|
static: $(STATIC_LIB)
|
@@ -187,7 +189,7 @@ distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
|
|
187
189
|
realclean: distclean
|
188
190
|
install: install-so install-rb
|
189
191
|
|
190
|
-
install-so: $(DLLIB) $(
|
192
|
+
install-so: $(DLLIB) $(TARGET_SO_DIR_TIMESTAMP)
|
191
193
|
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
192
194
|
clean-static::
|
193
195
|
-$(Q)$(RM) $(STATIC_LIB)
|
@@ -199,7 +201,7 @@ do-install-rb:
|
|
199
201
|
do-install-rb-default:
|
200
202
|
pre-install-rb-default:
|
201
203
|
@$(NULLCMD)
|
202
|
-
$(
|
204
|
+
$(TARGET_SO_DIR_TIMESTAMP):
|
203
205
|
$(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
|
204
206
|
$(Q) $(TOUCH) $@
|
205
207
|
|
data/ext/extconf.rb
CHANGED
@@ -5,7 +5,7 @@ require 'rubygems/package'
|
|
5
5
|
require 'zlib'
|
6
6
|
require 'zip'
|
7
7
|
require 'fileutils'
|
8
|
-
|
8
|
+
require 'down'
|
9
9
|
|
10
10
|
# +----------------------------------------------------------------------+
|
11
11
|
# | Licensed Materials - Property of IBM |
|
@@ -49,50 +49,50 @@ if(RUBY_PLATFORM =~ /aix/i)
|
|
49
49
|
#AIX
|
50
50
|
if(is64Bit)
|
51
51
|
puts "Detected platform - aix 64"
|
52
|
-
DOWNLOADLINK = "
|
52
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/aix64_odbc_cli.tar.gz"
|
53
53
|
else
|
54
54
|
puts "Detected platform - aix 32"
|
55
|
-
DOWNLOADLINK = "
|
55
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/aix32_odbc_cli.tar.gz"
|
56
56
|
end
|
57
57
|
elsif (RUBY_PLATFORM =~ /powerpc/ || RUBY_PLATFORM =~ /ppc/)
|
58
58
|
#PPC
|
59
59
|
if(is64Bit)
|
60
60
|
puts "Detected platform - ppc linux 64"
|
61
|
-
DOWNLOADLINK = "
|
61
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/ppc64_odbc_cli.tar.gz"
|
62
62
|
else
|
63
63
|
puts "Detected platform - ppc linux 64"
|
64
|
-
DOWNLOADLINK = "
|
64
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/ppc32_odbc_cli.tar.gz"
|
65
65
|
end
|
66
66
|
elsif (RUBY_PLATFORM =~ /linux/)
|
67
67
|
#x86
|
68
68
|
if(is64Bit)
|
69
69
|
puts "Detected platform - linux x86 64"
|
70
|
-
DOWNLOADLINK = "
|
70
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz"
|
71
71
|
else
|
72
72
|
puts "Detected platform - linux 32"
|
73
|
-
DOWNLOADLINK = "
|
73
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxia32_odbc_cli.tar.gz"
|
74
74
|
end
|
75
75
|
elsif (RUBY_PLATFORM =~ /sparc/i)
|
76
76
|
#Solaris
|
77
77
|
if(is64Bit)
|
78
78
|
puts "Detected platform - sun sparc64"
|
79
|
-
DOWNLOADLINK = "
|
79
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/sun64_odbc_cli.tar.gz"
|
80
80
|
else
|
81
81
|
puts "Detected platform - sun sparc32"
|
82
|
-
DOWNLOADLINK = "
|
82
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/sun32_odbc_cli.tar.gz"
|
83
83
|
end
|
84
84
|
elsif (RUBY_PLATFORM =~ /solaris/i)
|
85
85
|
if(is64Bit)
|
86
86
|
puts "Detected platform - sun amd64"
|
87
|
-
DOWNLOADLINK = "
|
87
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/sunamd64_odbc_cli.tar.gz"
|
88
88
|
else
|
89
89
|
puts "Detected platform - sun amd32"
|
90
|
-
DOWNLOADLINK = "
|
90
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/sunamd32_odbc_cli.tar.gz"
|
91
91
|
end
|
92
92
|
elsif (RUBY_PLATFORM =~ /darwin/i)
|
93
93
|
if(is64Bit)
|
94
94
|
puts "Detected platform - MacOS darwin64"
|
95
|
-
DOWNLOADLINK = "
|
95
|
+
DOWNLOADLINK = "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/macos64_odbc_cli.tar.gz"
|
96
96
|
else
|
97
97
|
puts "Mac OS 32 bit not supported. Please use an x64 architecture."
|
98
98
|
end
|
@@ -100,10 +100,10 @@ elsif (RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/)
|
|
100
100
|
ZIP = true
|
101
101
|
if(is64Bit)
|
102
102
|
puts "Detected platform - windows 64"
|
103
|
-
DOWNLOADLINK= "
|
103
|
+
DOWNLOADLINK= "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/ntx64_odbc_cli.zip"
|
104
104
|
else
|
105
105
|
puts "Detected platform - windows 32"
|
106
|
-
DOWNLOADLINK= "
|
106
|
+
DOWNLOADLINK= "https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/nt32_odbc_cli.zip"
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
@@ -114,24 +114,13 @@ def downloadCLIPackage(destination, link = nil)
|
|
114
114
|
downloadLink = link
|
115
115
|
end
|
116
116
|
|
117
|
-
uri = URI.parse(downloadLink)
|
118
117
|
if ZIP
|
119
118
|
filename = "#{destination}/clidriver.zip"
|
120
119
|
else
|
121
120
|
filename = "#{destination}/clidriver.tar.gz"
|
122
121
|
end
|
123
|
-
|
124
|
-
|
125
|
-
'Accept-Encoding' => 'identity',
|
126
|
-
}
|
127
|
-
|
128
|
-
request = Net::HTTP::Get.new(uri.request_uri, headers)
|
129
|
-
http = Net::HTTP.new(uri.host, uri.port)
|
130
|
-
response = http.request(request)
|
131
|
-
|
132
|
-
f = open(filename, 'wb')
|
133
|
-
f.write(response.body)
|
134
|
-
f.close()
|
122
|
+
|
123
|
+
Down.download(downloadLink, destination: filename, ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE)
|
135
124
|
|
136
125
|
filename
|
137
126
|
end
|
data/ext/ibm_db.c
CHANGED
@@ -686,8 +686,7 @@ static void _ruby_ibm_db_mark_stmt_struct(stmt_handle *handle)
|
|
686
686
|
static inline
|
687
687
|
VALUE ibm_Ruby_Thread_Call(rb_blocking_function_t *func, void *data1, rb_unblock_function_t *ubf, void *data2)
|
688
688
|
{
|
689
|
-
|
690
|
-
return (VALUE)rb_thread_call_without_gvl(f, data1, ubf, data2);
|
689
|
+
return func(data1);
|
691
690
|
}
|
692
691
|
|
693
692
|
|
data/ext/ibm_db.o
CHANGED
Binary file
|
data/ext/ibm_db.so
CHANGED
Binary file
|
data/ext/mkmf.log
CHANGED
@@ -14,7 +14,7 @@ unicode_support_version.h is:
|
|
14
14
|
|
15
15
|
have_library: checking for SQLConnect() in -ldb2cli... -------------------- yes
|
16
16
|
|
17
|
-
PATH=".;C:/
|
17
|
+
PATH=".;C:/Ruby32/lib;C:\Ruby32\bin;C:\Ruby32\msys32\mingw32\bin;C:\Ruby32\msys32\usr\bin;C:\Program Files\IBM\IBMDSDRIVER\bin\icc64;C:\Program Files\IBM\IBMDSDRIVER\bin;C:\Program Files\IBM\IBMDSDRIVER\lib;C:\Program Files\IBM\IBMDSDRIVER\include;C:\Users\pnarayanappa\Python\Python311\;C:\Users\pnarayanappa\Python\Python311\Scripts\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ibm\gsk8\lib64;C:\Program Files (x86)\ibm\gsk8\lib;C:\Program Files\Java\jre1.8.0_231\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\Program Files\OpenSSH-Win64;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Users\pnarayanappa\AppData\Roaming\Python\Python37\Scripts\;C:\Users\pnarayanappa\eclipse-workspace-git-Dj-3_2_9_Py-3_10_5\myvenv\Lib\site-packages;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Ruby32\bin;C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;C:\Users\pnarayanappa\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\pnarayanappa\.dotnet\tools" "gcc -o conftest.exe -IC:/Ruby32/include/ruby-3.2.0/i386-mingw32 -IC:/Ruby32/include/ruby-3.2.0/ruby/backward -IC:/Ruby32/include/ruby-3.2.0 -I. -IC:/Users/pnarayanappa/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -L. -LC:/Ruby32/lib -LC:/Users/pnarayanappa/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -pipe -s -fstack-protector-strong -Wl,--no-as-needed -lmsvcrt-ruby320 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt "
|
18
18
|
checked program was:
|
19
19
|
/* begin */
|
20
20
|
1: #include "ruby.h"
|
@@ -27,12 +27,12 @@ checked program was:
|
|
27
27
|
8: }
|
28
28
|
/* end */
|
29
29
|
|
30
|
-
PATH=".;C:/
|
30
|
+
PATH=".;C:/Ruby32/lib;C:\Ruby32\bin;C:\Ruby32\msys32\mingw32\bin;C:\Ruby32\msys32\usr\bin;C:\Program Files\IBM\IBMDSDRIVER\bin\icc64;C:\Program Files\IBM\IBMDSDRIVER\bin;C:\Program Files\IBM\IBMDSDRIVER\lib;C:\Program Files\IBM\IBMDSDRIVER\include;C:\Users\pnarayanappa\Python\Python311\;C:\Users\pnarayanappa\Python\Python311\Scripts\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ibm\gsk8\lib64;C:\Program Files (x86)\ibm\gsk8\lib;C:\Program Files\Java\jre1.8.0_231\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\Program Files\OpenSSH-Win64;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Users\pnarayanappa\AppData\Roaming\Python\Python37\Scripts\;C:\Users\pnarayanappa\eclipse-workspace-git-Dj-3_2_9_Py-3_10_5\myvenv\Lib\site-packages;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Ruby32\bin;C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;C:\Users\pnarayanappa\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\pnarayanappa\.dotnet\tools" "gcc -o conftest.exe -IC:/Ruby32/include/ruby-3.2.0/i386-mingw32 -IC:/Ruby32/include/ruby-3.2.0/ruby/backward -IC:/Ruby32/include/ruby-3.2.0 -I. -IC:/Users/pnarayanappa/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -L. -LC:/Ruby32/lib -LC:/Users/pnarayanappa/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -pipe -s -fstack-protector-strong -Wl,--no-as-needed -lmsvcrt-ruby320 -ldb2cli -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt "
|
31
31
|
conftest.c: In function 't':
|
32
32
|
conftest.c:17:57: error: 'SQLConnect' undeclared (first use in this function); did you mean 'WSAConnect'?
|
33
|
-
int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; }
|
34
|
-
^~~~~~~~~~
|
35
|
-
WSAConnect
|
33
|
+
17 | int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; }
|
34
|
+
| ^~~~~~~~~~
|
35
|
+
| WSAConnect
|
36
36
|
conftest.c:17:57: note: each undeclared identifier is reported only once for each function it appears in
|
37
37
|
checked program was:
|
38
38
|
/* begin */
|
@@ -55,7 +55,7 @@ checked program was:
|
|
55
55
|
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; }
|
56
56
|
/* end */
|
57
57
|
|
58
|
-
PATH=".;C:/
|
58
|
+
PATH=".;C:/Ruby32/lib;C:\Ruby32\bin;C:\Ruby32\msys32\mingw32\bin;C:\Ruby32\msys32\usr\bin;C:\Program Files\IBM\IBMDSDRIVER\bin\icc64;C:\Program Files\IBM\IBMDSDRIVER\bin;C:\Program Files\IBM\IBMDSDRIVER\lib;C:\Program Files\IBM\IBMDSDRIVER\include;C:\Users\pnarayanappa\Python\Python311\;C:\Users\pnarayanappa\Python\Python311\Scripts\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ibm\gsk8\lib64;C:\Program Files (x86)\ibm\gsk8\lib;C:\Program Files\Java\jre1.8.0_231\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\Program Files\OpenSSH-Win64;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Users\pnarayanappa\AppData\Roaming\Python\Python37\Scripts\;C:\Users\pnarayanappa\eclipse-workspace-git-Dj-3_2_9_Py-3_10_5\myvenv\Lib\site-packages;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Ruby32\bin;C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;C:\Users\pnarayanappa\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\pnarayanappa\.dotnet\tools" "gcc -o conftest.exe -IC:/Ruby32/include/ruby-3.2.0/i386-mingw32 -IC:/Ruby32/include/ruby-3.2.0/ruby/backward -IC:/Ruby32/include/ruby-3.2.0 -I. -IC:/Users/pnarayanappa/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -L. -LC:/Ruby32/lib -LC:/Users/pnarayanappa/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -pipe -s -fstack-protector-strong -Wl,--no-as-needed -lmsvcrt-ruby320 -ldb2cli -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi -lbcrypt "
|
59
59
|
checked program was:
|
60
60
|
/* begin */
|
61
61
|
1: #include "ruby.h"
|
@@ -82,7 +82,7 @@ checked program was:
|
|
82
82
|
|
83
83
|
have_header: checking for gil_release_version.h... -------------------- yes
|
84
84
|
|
85
|
-
PATH=".;C:/
|
85
|
+
PATH=".;C:/Ruby32/lib;C:\Ruby32\bin;C:\Ruby32\msys32\mingw32\bin;C:\Ruby32\msys32\usr\bin;C:\Program Files\IBM\IBMDSDRIVER\bin\icc64;C:\Program Files\IBM\IBMDSDRIVER\bin;C:\Program Files\IBM\IBMDSDRIVER\lib;C:\Program Files\IBM\IBMDSDRIVER\include;C:\Users\pnarayanappa\Python\Python311\;C:\Users\pnarayanappa\Python\Python311\Scripts\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ibm\gsk8\lib64;C:\Program Files (x86)\ibm\gsk8\lib;C:\Program Files\Java\jre1.8.0_231\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\Program Files\OpenSSH-Win64;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Users\pnarayanappa\AppData\Roaming\Python\Python37\Scripts\;C:\Users\pnarayanappa\eclipse-workspace-git-Dj-3_2_9_Py-3_10_5\myvenv\Lib\site-packages;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Ruby32\bin;C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;C:\Users\pnarayanappa\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\pnarayanappa\.dotnet\tools" "gcc -IC:/Ruby32/include/ruby-3.2.0/i386-mingw32 -IC:/Ruby32/include/ruby-3.2.0/ruby/backward -IC:/Ruby32/include/ruby-3.2.0 -I. -IC:/Users/pnarayanappa/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong -c conftest.c"
|
86
86
|
checked program was:
|
87
87
|
/* begin */
|
88
88
|
1: #include "ruby.h"
|
@@ -96,7 +96,7 @@ checked program was:
|
|
96
96
|
|
97
97
|
have_header: checking for unicode_support_version.h... -------------------- yes
|
98
98
|
|
99
|
-
PATH=".;C:/
|
99
|
+
PATH=".;C:/Ruby32/lib;C:\Ruby32\bin;C:\Ruby32\msys32\mingw32\bin;C:\Ruby32\msys32\usr\bin;C:\Program Files\IBM\IBMDSDRIVER\bin\icc64;C:\Program Files\IBM\IBMDSDRIVER\bin;C:\Program Files\IBM\IBMDSDRIVER\lib;C:\Program Files\IBM\IBMDSDRIVER\include;C:\Users\pnarayanappa\Python\Python311\;C:\Users\pnarayanappa\Python\Python311\Scripts\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ibm\gsk8\lib64;C:\Program Files (x86)\ibm\gsk8\lib;C:\Program Files\Java\jre1.8.0_231\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\Program Files\OpenSSH-Win64;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Users\pnarayanappa\AppData\Roaming\Python\Python37\Scripts\;C:\Users\pnarayanappa\eclipse-workspace-git-Dj-3_2_9_Py-3_10_5\myvenv\Lib\site-packages;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Ruby32\bin;C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;C:\Users\pnarayanappa\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\pnarayanappa\.dotnet\tools" "gcc -IC:/Ruby32/include/ruby-3.2.0/i386-mingw32 -IC:/Ruby32/include/ruby-3.2.0/ruby/backward -IC:/Ruby32/include/ruby-3.2.0 -I. -IC:/Users/pnarayanappa/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong -c conftest.c"
|
100
100
|
checked program was:
|
101
101
|
/* begin */
|
102
102
|
1: #include "ruby.h"
|
data/ext/ruby_ibm_db_cli.o
CHANGED
Binary file
|