ibm_db 5.5.1 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64bf4ebfa86937d52fb6d1ff87abf63cabf6b3d696b386b61c190e3fe4731842
4
- data.tar.gz: 982845fcdebb72af189de2a6c4ae919ef16a2fc830340976275c62b7e8cd7087
3
+ metadata.gz: 6983933aaeb958477cc8ba1d730f309bc41ced3328a8072967eb6407eb8cda73
4
+ data.tar.gz: bcd09c6f02fe2b9cb1c706229e0b9edcadb8e2c82bb193c1b954ef7191e76d18
5
5
  SHA512:
6
- metadata.gz: 43f50779d0b202f247d63576263666c6516d96606d2f993f3519ebc8933b585e9f0004faf95dc0ff676ae3abb2febc89270015b12d0f8148e7c9b8267e5682b0
7
- data.tar.gz: a4402e11047db606ec816e271587631eb79e2f65e7d29263aa6a6ea509b3a86f084b88d7e4c9ea90a5197d9b6edba71033ffd8be4a3d7bddff7b9f28c7862763
6
+ metadata.gz: 7e3de0252a1757e3c1a9d61294a168d47fb12bf2e53c135e874c29a27cdff93fb572a68285a2263e5e2edbfabb485e981852939711e58230aa812d5069c9add4
7
+ data.tar.gz: 76b4f1f94bb187c4906876756c42ecfb894ea022d8230846c72bf73a6b82bac897478a1bc08f2f2f28d0c094cff731be109febed425bc9bc581f4826a7336db5
data/CHANGES CHANGED
@@ -1,5 +1,8 @@
1
1
  Change Log
2
2
  ==============
3
+ 2025/06/03 (IBM_DB adapter 5.6.0, driver 3.2.0)
4
+ - Support for ruby 3.3 and rails 7.2.2.1
5
+
3
6
  2024/12/13 (IBM_DB adapter 5.5.1, driver 3.1.1)
4
7
  - Support for MAC ARM64
5
8
 
data/README CHANGED
@@ -10,6 +10,7 @@ Supported Operating Systems
10
10
  - IBM AIX 32/64 bit
11
11
  - HP-UX 32/64 bit
12
12
  - Sun Solaris 32/64 bit
13
+ - MAC M1 ARM 64 bit
13
14
 
14
15
 
15
16
  Supported Databases
data/ext/Makefile CHANGED
@@ -13,12 +13,12 @@ NULLCMD = :
13
13
  #### Start of system configuration section. ####
14
14
 
15
15
  srcdir = .
16
- topdir = /Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0
16
+ topdir = /home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0
17
17
  hdrdir = $(topdir)
18
- arch_hdrdir = /Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/arm64-darwin24
18
+ arch_hdrdir = /home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/x86_64-linux
19
19
  PATH_SEPARATOR = :
20
20
  VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
21
- prefix = $(DESTDIR)/Users/pnarayanappa/ROR32/ruby_exe
21
+ prefix = $(DESTDIR)/home/pnarayanappa/ROR33/ruby_exe
22
22
  rubysitearchprefix = $(rubylibprefix)/$(sitearch)
23
23
  rubyarchprefix = $(rubylibprefix)/$(arch)
24
24
  rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
@@ -52,7 +52,7 @@ htmldir = $(docdir)
52
52
  infodir = $(datarootdir)/info
53
53
  docdir = $(datarootdir)/doc/$(PACKAGE)
54
54
  oldincludedir = $(DESTDIR)/usr/include
55
- includedir = $(SDKROOT)$(prefix)/include
55
+ includedir = $(prefix)/include
56
56
  runstatedir = $(localstatedir)/run
57
57
  localstatedir = $(prefix)/var
58
58
  sharedstatedir = $(prefix)/com
@@ -66,49 +66,49 @@ archdir = $(rubyarchdir)
66
66
 
67
67
 
68
68
  CC_WRAPPER =
69
- CC = clang
70
- CXX = clang++
69
+ CC = gcc
70
+ CXX = g++
71
71
  LIBRUBY = $(LIBRUBY_A)
72
72
  LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
73
- LIBRUBYARG_SHARED =
74
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static -framework CoreFoundation $(MAINLIBS)
73
+ LIBRUBYARG_SHARED = -Wl,-rpath,$(libdir) -L$(libdir)
74
+ LIBRUBYARG_STATIC = -Wl,-rpath,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static $(MAINLIBS)
75
75
  empty =
76
76
  OUTFLAG = -o $(empty)
77
77
  COUTFLAG = -o $(empty)
78
78
  CSRCFLAG = $(empty)
79
79
 
80
80
  RUBY_EXTCONF_H = unicode_support_version.h
81
- cflags = -fdeclspec $(optflags) $(debugflags) $(warnflags)
81
+ cflags = $(optflags) $(debugflags) $(warnflags)
82
82
  cxxflags =
83
83
  optflags = -O3 -fno-fast-math
84
84
  debugflags = -ggdb3
85
- warnflags = -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef
85
+ warnflags = -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef
86
86
  cppflags =
87
- CCDLFLAGS = -fno-common
88
- CFLAGS = $(CCDLFLAGS) $(cflags) -pipe $(ARCH_FLAG)
87
+ CCDLFLAGS = -fPIC
88
+ CFLAGS = $(CCDLFLAGS) $(cflags) $(ARCH_FLAG)
89
89
  INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
90
90
  DEFS =
91
- CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -I/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT $(DEFS) $(cppflags)
92
- CXXFLAGS = $(CCDLFLAGS) -fdeclspec $(ARCH_FLAG)
93
- ldflags = -L. -fstack-protector-strong
94
- dldflags = -Wl,-undefined,dynamic_lookup -bundle_loader '$(BUILTRUBY)'
91
+ CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -I/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include $(DEFS) $(cppflags)
92
+ CXXFLAGS = $(CCDLFLAGS) $(ARCH_FLAG)
93
+ ldflags = -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic
94
+ dldflags = -Wl,--compress-debug-sections=zlib
95
95
  ARCH_FLAG =
96
96
  DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
97
- LDSHARED = $(CC) -dynamic -bundle
98
- LDSHAREDXX = $(CXX) -dynamic -bundle
99
- AR = /Library/Developer/CommandLineTools/usr/bin/ar
97
+ LDSHARED = $(CC) -shared
98
+ LDSHAREDXX = $(CXX) -shared
99
+ AR = gcc-ar
100
100
  EXEEXT =
101
101
 
102
102
  RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
103
- RUBY_SO_NAME = ruby.3.2
103
+ RUBY_SO_NAME = ruby
104
104
  RUBYW_INSTALL_NAME =
105
105
  RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
106
106
  RUBYW_BASE_NAME = rubyw
107
107
  RUBY_BASE_NAME = ruby
108
108
 
109
- arch = arm64-darwin24
109
+ arch = x86_64-linux
110
110
  sitearch = $(arch)
111
- ruby_version = 3.2.0
111
+ ruby_version = 3.3.0
112
112
  ruby = $(bindir)/$(RUBY_BASE_NAME)
113
113
  RUBY = $(ruby)
114
114
  BUILTRUBY = $(bindir)/$(RUBY_BASE_NAME)
@@ -116,8 +116,8 @@ ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h
116
116
 
117
117
  RM = rm -f
118
118
  RM_RF = rm -fr
119
- RMDIRS = rmdir -p
120
- MAKEDIRS = mkdir -p
119
+ RMDIRS = rmdir --ignore-fail-on-non-empty -p
120
+ MAKEDIRS = /usr/bin/mkdir -p
121
121
  INSTALL = /usr/bin/install -c
122
122
  INSTALL_PROG = $(INSTALL) -m 0755
123
123
  INSTALL_DATA = $(INSTALL) -m 644
@@ -127,8 +127,8 @@ TOUCH = exit >
127
127
  #### End of system configuration section. ####
128
128
 
129
129
  preload =
130
- libpath = . $(libdir) /Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib
131
- LIBPATH = -L. -L$(libdir) -L/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib
130
+ libpath = . $(libdir) /home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib
131
+ LIBPATH = -L. -L$(libdir) -Wl,-rpath,$(libdir) -L/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -Wl,-rpath,/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib '-Wl,-R$$ORIGIN/clidriver/lib'
132
132
  DEFFILE =
133
133
 
134
134
  CLEANFILES = mkmf.log
@@ -139,7 +139,7 @@ extout =
139
139
  extout_prefix =
140
140
  target_prefix =
141
141
  LOCAL_LIBS =
142
- LIBS = -ldb2 -lpthread
142
+ LIBS = -ldb2 -lm -lpthread -lc
143
143
  ORIG_SRCS = ibm_db.c ruby_ibm_db_cli.c
144
144
  SRCS = $(ORIG_SRCS)
145
145
  OBJS = ibm_db.o ruby_ibm_db_cli.o
@@ -148,7 +148,7 @@ LOCAL_HDRS =
148
148
  TARGET = ibm_db
149
149
  TARGET_NAME = ibm_db
150
150
  TARGET_ENTRY = Init_$(TARGET_NAME)
151
- DLLIB = $(TARGET).bundle
151
+ DLLIB = $(TARGET).so
152
152
  EXTSTATIC =
153
153
  STATIC_LIB =
154
154
 
@@ -161,7 +161,7 @@ HDRDIR = $(sitehdrdir)$(target_prefix)
161
161
  ARCHHDRDIR = $(sitearchhdrdir)$(target_prefix)
162
162
  TARGET_SO_DIR =
163
163
  TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
164
- CLEANLIBS = $(TARGET_SO) $(TARGET_SO).dSYM
164
+ CLEANLIBS = $(TARGET_SO) false
165
165
  CLEANOBJS = $(OBJS) *.bak
166
166
  TARGET_SO_DIR_TIMESTAMP = $(TIMESTAMP_DIR)/.sitearchdir.time
167
167
 
@@ -263,7 +263,6 @@ $(TARGET_SO): $(OBJS) Makefile
263
263
  $(ECHO) linking shared-object $(DLLIB)
264
264
  -$(Q)$(RM) $(@)
265
265
  $(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
266
- $(Q) $(POSTLINK)
267
266
 
268
267
 
269
268
 
data/ext/ibm_db.c CHANGED
@@ -2,7 +2,7 @@
2
2
  +----------------------------------------------------------------------+
3
3
  | Licensed Materials - Property of IBM |
4
4
  | |
5
- | (C) Copyright IBM Corporation 2006 - 2024 |
5
+ | (C) Copyright IBM Corporation 2006 - 2025 |
6
6
  +----------------------------------------------------------------------+
7
7
  | Authors: Sushant Koduru, Lynh Nguyen, Kanchana Padmanabhan, |
8
8
  | Dan Scott, Helmut Tessarek, Sam Ruby, Kellen Bombardier, |
@@ -12,7 +12,7 @@
12
12
  +----------------------------------------------------------------------+
13
13
  */
14
14
 
15
- #define MODULE_RELEASE "3.1.1"
15
+ #define MODULE_RELEASE "3.2.0"
16
16
 
17
17
  #ifdef HAVE_CONFIG_H
18
18
  #include "config.h"
@@ -9578,36 +9578,22 @@ static VALUE _ruby_ibm_db_bind_fetch_helper(ibm_db_fetch_helper_args *data)
9578
9578
  return Qnil;
9579
9579
  }
9580
9580
 
9581
- if ((atof(row_data->str_val) - atol(row_data->str_val)) > 0)
9582
- {
9583
- strcpy(tmpStr, "BigDecimal(\'");
9584
- strcat(tmpStr, row_data->str_val);
9585
- strcat(tmpStr, "\')");
9581
+ strcpy(tmpStr, "BigDecimal(\'");
9582
+ strcat(tmpStr, row_data->str_val);
9583
+ strcat(tmpStr, "\')");
9586
9584
 
9587
- if ( op & FETCH_ASSOC ) {
9588
- rb_hash_aset(return_value, colName, rb_eval_string(tmpStr));
9589
- }
9590
- if ( op == FETCH_INDEX ) {
9591
- rb_ary_store(return_value, i, rb_eval_string(tmpStr) );
9592
- } else if ( op == FETCH_BOTH ) {
9593
- rb_hash_aset( return_value, INT2NUM(i), rb_eval_string( tmpStr ) );
9594
- }
9595
-
9596
- ruby_xfree(tmpStr);
9597
- tmpStr = NULL;
9585
+ if ( op & FETCH_ASSOC ) {
9586
+ rb_hash_aset(return_value, colName, rb_eval_string(tmpStr));
9598
9587
  }
9599
- else
9600
- {
9601
- if ( op & FETCH_ASSOC ) {
9602
- rb_hash_aset(return_value, colName, LONG2NUM(atol((char *)row_data->str_val)));
9603
- }
9604
- if ( op == FETCH_INDEX ) {
9605
- rb_ary_store(return_value, i, LONG2NUM(atol((char *)row_data->str_val)));
9606
- } else if ( op == FETCH_BOTH ) {
9607
- rb_hash_aset(return_value, INT2NUM(i), LONG2NUM(atol((char *)row_data->str_val)));
9608
- }
9588
+ if ( op == FETCH_INDEX ) {
9589
+ rb_ary_store(return_value, i, rb_eval_string(tmpStr) );
9590
+ } else if ( op == FETCH_BOTH ) {
9591
+ rb_hash_aset( return_value, INT2NUM(i), rb_eval_string( tmpStr ) );
9609
9592
  }
9610
9593
 
9594
+ ruby_xfree(tmpStr);
9595
+ tmpStr = NULL;
9596
+
9611
9597
  break;
9612
9598
  case SQL_SMALLINT:
9613
9599
  if ( op & FETCH_ASSOC ) {
data/ext/ibm_db.o CHANGED
Binary file
data/ext/ibm_db.so ADDED
Binary file
data/ext/mkmf.log CHANGED
@@ -14,8 +14,7 @@ unicode_support_version.h is:
14
14
 
15
15
  have_library: checking for SQLConnect() in -ldb2... -------------------- yes
16
16
 
17
- DYLD_FALLBACK_LIBRARY_PATH=.:/Users/pnarayanappa/ROR32/ruby_exe/lib "clang -o conftest -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/arm64-darwin24 -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef -pipe conftest.c -L. -L/Users/pnarayanappa/ROR32/ruby_exe/lib -L/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -fstack-protector-strong -lruby.3.2-static -framework CoreFoundation -ldl -lobjc -lpthread -lpthread "
18
- ld: warning: ignoring duplicate libraries: '-lpthread'
17
+ LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR33/ruby_exe/lib:/usr/lib64:/jre/lib:/jre/bin:/lib "gcc -o conftest -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/x86_64-linux -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/ruby/backward -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0 -I. -I/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef conftest.c -L. -L/home/pnarayanappa/ROR33/ruby_exe/lib -Wl,-rpath,/home/pnarayanappa/ROR33/ruby_exe/lib -L/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -Wl,-rpath,/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/pnarayanappa/ROR33/ruby_exe/lib -L/home/pnarayanappa/ROR33/ruby_exe/lib -lruby-static -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread -lm -lpthread -lc"
19
18
  checked program was:
20
19
  /* begin */
21
20
  1: #include "ruby.h"
@@ -26,11 +25,16 @@ checked program was:
26
25
  6: }
27
26
  /* end */
28
27
 
29
- DYLD_FALLBACK_LIBRARY_PATH=.:/Users/pnarayanappa/ROR32/ruby_exe/lib "clang -o conftest -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/arm64-darwin24 -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef -pipe conftest.c -L. -L/Users/pnarayanappa/ROR32/ruby_exe/lib -L/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -fstack-protector-strong -lruby.3.2-static -framework CoreFoundation -ldl -lobjc -lpthread -ldb2 -lpthread "
30
- conftest.c:14:57: error: use of undeclared identifier 'SQLConnect'
31
- int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; }
32
- ^
33
- 1 error generated.
28
+ LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR33/ruby_exe/lib:/usr/lib64:/jre/lib:/jre/bin:/lib "gcc -o conftest -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/x86_64-linux -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/ruby/backward -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0 -I. -I/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef conftest.c -L. -L/home/pnarayanappa/ROR33/ruby_exe/lib -Wl,-rpath,/home/pnarayanappa/ROR33/ruby_exe/lib -L/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -Wl,-rpath,/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/pnarayanappa/ROR33/ruby_exe/lib -L/home/pnarayanappa/ROR33/ruby_exe/lib -lruby-static -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread -ldb2 -lm -lpthread -lc"
29
+ conftest.c: In function ‘t’:
30
+ conftest.c:14:57: error: ‘SQLConnect’ undeclared (first use in this function)
31
+ 14 | int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; }
32
+ | ^~~~~~~~~~
33
+ conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
34
+ conftest.c: At top level:
35
+ cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
36
+ cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
37
+ cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
34
38
  checked program was:
35
39
  /* begin */
36
40
  1: #include "ruby.h"
@@ -49,8 +53,8 @@ checked program was:
49
53
  14: int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; }
50
54
  /* end */
51
55
 
52
- DYLD_FALLBACK_LIBRARY_PATH=.:/Users/pnarayanappa/ROR32/ruby_exe/lib "clang -o conftest -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/arm64-darwin24 -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef -pipe conftest.c -L. -L/Users/pnarayanappa/ROR32/ruby_exe/lib -L/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -fstack-protector-strong -lruby.3.2-static -framework CoreFoundation -ldl -lobjc -lpthread -ldb2 -lpthread "
53
- ld: warning: ignoring duplicate libraries: '-lpthread'
56
+ LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR33/ruby_exe/lib:/usr/lib64:/jre/lib:/jre/bin:/lib "gcc -o conftest -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/x86_64-linux -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/ruby/backward -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0 -I. -I/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef conftest.c -L. -L/home/pnarayanappa/ROR33/ruby_exe/lib -Wl,-rpath,/home/pnarayanappa/ROR33/ruby_exe/lib -L/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -Wl,-rpath,/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/pnarayanappa/ROR33/ruby_exe/lib -L/home/pnarayanappa/ROR33/ruby_exe/lib -lruby-static -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread -ldb2 -lm -lpthread -lc"
57
+ /usr/bin/ld: warning: libcrypt.so.1, needed by /home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib/libdb2.so, may conflict with libcrypt.so.2
54
58
  checked program was:
55
59
  /* begin */
56
60
  1: #include "ruby.h"
@@ -74,7 +78,7 @@ checked program was:
74
78
 
75
79
  have_header: checking for gil_release_version.h... -------------------- yes
76
80
 
77
- DYLD_FALLBACK_LIBRARY_PATH=.:/Users/pnarayanappa/ROR32/ruby_exe/lib "clang -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/arm64-darwin24 -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef -pipe -c conftest.c"
81
+ LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR33/ruby_exe/lib:/usr/lib64:/jre/lib:/jre/bin:/lib "gcc -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/x86_64-linux -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/ruby/backward -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0 -I. -I/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -c conftest.c"
78
82
  checked program was:
79
83
  /* begin */
80
84
  1: #include "ruby.h"
@@ -86,7 +90,7 @@ checked program was:
86
90
 
87
91
  have_header: checking for unicode_support_version.h... -------------------- yes
88
92
 
89
- DYLD_FALLBACK_LIBRARY_PATH=.:/Users/pnarayanappa/ROR32/ruby_exe/lib "clang -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/arm64-darwin24 -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/Users/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/Users/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef -pipe -c conftest.c"
93
+ LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR33/ruby_exe/lib:/usr/lib64:/jre/lib:/jre/bin:/lib "gcc -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/x86_64-linux -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0/ruby/backward -I/home/pnarayanappa/ROR33/ruby_exe/include/ruby-3.3.0 -I. -I/home/pnarayanappa/ROR33/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -c conftest.c"
90
94
  checked program was:
91
95
  /* begin */
92
96
  1: #include "ruby.h"
Binary file