Skip Menu |

This queue is for tickets about the DBD-ODBC CPAN distribution.

Report information
The Basics
Id: 111291
Status: resolved
Priority: 0/
Queue: DBD-ODBC

People
Owner: Nobody in particular
Requestors: Randy.Sutton [...] bmo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Compilation fails for v1.52
Date: Tue, 19 Jan 2016 17:02:59 -0500
To: "bug-DBD-ODBC [...] rt.cpan.org" <bug-DBD-ODBC [...] rt.cpan.org>
From: "Sutton, Randy" <Randy.Sutton [...] bmo.com>
OS: Red Hat Enterprise Linux Server release 5.11 (Tikanga) Arch: i686 TDS Version: 0.95 Running configure doesn't yield any warnings - Below is the output from make - any ideas? Thanks, Randy Skip blib/lib/DBD/ODBC.pm (unchanged) Running Mkbootstrap for DBD::ODBC () chmod 644 "ODBC.bs" gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -I/usr/local/include -I. -I/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -I/usr/local/include ConvertUTF.c gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -I/usr/local/include -I. -I/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"1.52\" -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include -I/usr/local/include ODBC.c ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect': ODBC.xsi:275: error: invalid lvalue in assignment ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY': ODBC.xsi:334: error: invalid lvalue in assignment ODBC.c: In function 'XS_DBD__ODBC__st_odbc_rows': ODBC.c:1156: warning: unused variable 'targ' ODBC.c:1155: warning: unused variable 'RETVAL' ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagrec': ODBC.xs:99: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness ODBC.xs:101: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagfield': ODBC.xs:164: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagrec': ODBC.xs:328: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness ODBC.xs:330: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagfield': ODBC.xs:394: warning: pointer targets in passing argument 2 of 'Perl_newSVpv' differ in signedness make: *** [ODBC.o] Error 1 Show quoted text
________________________________ This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. Unless otherwise stated, opinions expressed in this e-mail are those of the author and are not endorsed by the author's employer. Le pr?sent message, ainsi que tout fichier qui y est joint, est envoy? ? l'intention exclusive de son ou de ses destinataires; il est de nature confidentielle et peut constituer une information privil?gi?e. Nous avertissons toute personne autre que le destinataire pr?vu que tout examen, r?acheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'?tes pas le destinataire pr?vu, veuillez en aviser imm?diatement l'exp?diteur par retour de courriel et supprimer ce message et tout document joint de votre syst?me. Sauf indication contraire, les opinions exprim?es dans le pr?sent message sont celles de l'auteur et ne sont pas avalis?es par l'employeur de l'auteur.
On Tue Jan 19 17:03:23 2016, Randy.Sutton@bmo.com wrote: Show quoted text
> OS: Red Hat Enterprise Linux Server release 5.11 (Tikanga) > Arch: i686 > TDS Version: 0.95 > > Running configure doesn't yield any warnings - > > Below is the output from make - any ideas? > > Thanks, > Randy > > Skip blib/lib/DBD/ODBC.pm (unchanged) > Running Mkbootstrap for DBD::ODBC () > chmod 644 "ODBC.bs" > gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include -I. -I/usr/lib/perl5/site_perl/5.8.8/i386-linux- > thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing > -pipe -Wdeclaration-after-statement -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread- > multi/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include ConvertUTF.c > gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include -I. -I/usr/lib/perl5/site_perl/5.8.8/i386-linux- > thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing > -pipe -Wdeclaration-after-statement -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread- > multi/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include ODBC.c > ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect': > ODBC.xsi:275: error: invalid lvalue in assignment > ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY': > ODBC.xsi:334: error: invalid lvalue in assignment > ODBC.c: In function 'XS_DBD__ODBC__st_odbc_rows': > ODBC.c:1156: warning: unused variable 'targ' > ODBC.c:1155: warning: unused variable 'RETVAL' > ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagrec': > ODBC.xs:99: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs:101: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagfield': > ODBC.xs:164: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagrec': > ODBC.xs:328: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs:330: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagfield': > ODBC.xs:394: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > make: *** [ODBC.o] Error 1 >
ODBC.c is a generated file. Can you show me what is on line 275 of ODBC.xsi? It would also be useful to see the earlier output from perl Makefile.PL Martin -- Martin J. Evans Wetherby, UK
Subject: RE: [rt.cpan.org #111291] Compilation fails for v1.52
Date: Wed, 20 Jan 2016 08:45:23 -0500
To: "bug-DBD-ODBC [...] rt.cpan.org" <bug-DBD-ODBC [...] rt.cpan.org>
From: "Sutton, Randy" <Randy.Sutton [...] bmo.com>
First compilation error - 272 /* pre-disconnect checks and tidy-ups */ 273 if (DBIc_CACHED_KIDS(imp_dbh)) { 274 SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); /* cast them to the winds */ 275 DBIc_CACHED_KIDS(imp_dbh) = Nullhv; 276 } Second compilation error - 331 /* pre-disconnect checks and tidy-ups */ 332 if (DBIc_CACHED_KIDS(imp_dbh)) { 333 SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); /* cast them to the winds */ 334 DBIc_CACHED_KIDS(imp_dbh) = Nullhv; 335 } Show quoted text
-----Original Message----- From: Martin J Evans via RT [mailto:bug-DBD-ODBC@rt.cpan.org] Sent: Tuesday, January 19, 2016 5:26 PM To: Sutton, Randy Subject: [rt.cpan.org #111291] Compilation fails for v1.52 <URL: https://rt.cpan.org/Ticket/Display.html?id=111291 > On Tue Jan 19 17:03:23 2016, Randy.Sutton@bmo.com wrote:
> OS: Red Hat Enterprise Linux Server release 5.11 (Tikanga) > Arch: i686 > TDS Version: 0.95 > > Running configure doesn't yield any warnings - > > Below is the output from make - any ideas? > > Thanks, > Randy > > Skip blib/lib/DBD/ODBC.pm (unchanged) > Running Mkbootstrap for DBD::ODBC () > chmod 644 "ODBC.bs" > gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include -I. -I/usr/lib/perl5/site_perl/5.8.8/i386-linux- > thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing > -pipe -Wdeclaration-after-statement -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread- > multi/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include ConvertUTF.c gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H > -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 > -I/usr/local/include -I/usr/local/include -I. > -I/usr/lib/perl5/site_perl/5.8.8/i386-linux- > thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing > -pipe -Wdeclaration-after-statement -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread- > multi/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include ODBC.c > ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect': > ODBC.xsi:275: error: invalid lvalue in assignment > ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY': > ODBC.xsi:334: error: invalid lvalue in assignment > ODBC.c: In function 'XS_DBD__ODBC__st_odbc_rows': > ODBC.c:1156: warning: unused variable 'targ' > ODBC.c:1155: warning: unused variable 'RETVAL' > ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagrec': > ODBC.xs:99: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs:101: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagfield': > ODBC.xs:164: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagrec': > ODBC.xs:328: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs:330: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagfield': > ODBC.xs:394: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > make: *** [ODBC.o] Error 1 >
ODBC.c is a generated file. Can you show me what is on line 275 of ODBC.xsi? It would also be useful to see the earlier output from perl Makefile.PL Martin -- Martin J. Evans Wetherby, UK This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. Unless otherwise stated, opinions expressed in this e-mail are those of the author and are not endorsed by the author's employer. Le présent message, ainsi que tout fichier qui y est joint, est envoyé à l'intention exclusive de son ou de ses destinataires; il est de nature confidentielle et peut constituer une information privilégiée. Nous avertissons toute personne autre que le destinataire prévu que tout examen, réacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'êtes pas le destinataire prévu, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer ce message et tout document joint de votre système. Sauf indication contraire, les opinions exprimées dans le présent message sont celles de l’auteur et ne sont pas avalisées par l’employeur de l’auteur.
Subject: RE: [rt.cpan.org #111291] Compilation fails for v1.52
Date: Wed, 20 Jan 2016 08:48:06 -0500
To: "bug-DBD-ODBC [...] rt.cpan.org" <bug-DBD-ODBC [...] rt.cpan.org>
From: "Sutton, Randy" <Randy.Sutton [...] bmo.com>
Here is the output for perl Makefile.PL - ********** Remember to actually *READ* the README file! And re-read it if you have any problems. ********** OSNAME: linux LANG: en_US ODBCHOME: /usr/local LD_LIBRARY_PATH: /opt/CA/SharedComponents/lib:/usr/local/lib DBROOT: WINDIR: II_SYSTEM: Perl: 5.008008 ExtUtils::MakeMaker: 7.08 Command line options: u! = undef w! = undef e! = undef g! = 0 x! = undef o=s = You are using a Perl configured with threading enabled. Please read the warnings in DBI about this. You should also be aware that on non-Windows platforms ODBC drivers come in two forms, thread-safe and non-thread-safe drivers and you may need to make sure you are using the right one. Press return to continue... Looking for odbc_config in : /usr/local Looking for odbc_config at /usr/local/bin/odbc_config Found odbc_config (via /usr/local/bin/odbc_config) version 2.3.4 odbc_config reports --prefix=/usr/local odbc_config reports --include-prefix=/usr/local/include odbc_config reports --lib-prefix=/usr/local/lib ODBC INC dir set to /usr/local/include via odbc_config ODBC LIB dir set to /usr/local/lib via odbc_config Looking for odbcinst Found odbcinst in /usr/local/bin odbcinst -j reports: unixODBC 2.3.4 DRIVERS............: /usr/local/etc/odbcinst.ini SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini FILE DATA SOURCES..: /usr/local/etc/ODBCDataSources USER DATA SOURCES..: /home/rsutto01/.odbc.ini SQLULEN Size.......: 4 SQLLEN Size........: 4 SQLSETPOSIROW Size.: 2 Please note these files as they are where you define your ODBC drivers and data sources. Looking for odbc_config to get cflags Adding odbc_config --cflags "-DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include " to CC line Using DBI 1.634 (for perl 5.008008 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI/ Using DBI 1.634 (for perl 5.008008 on i386-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBI/ Generating a Unix-style Makefile Writing Makefile for DBD::ODBC Writing MYMETA.yml and MYMETA.json The DBD::ODBC tests will use these values for the database connection: DBI_DSN=dbi:ODBC:thursir e.g. dbi:ODBC:demo DBI_USER=logger DBI_PASS=l0gg3r Show quoted text
-----Original Message----- From: Martin J Evans via RT [mailto:bug-DBD-ODBC@rt.cpan.org] Sent: Tuesday, January 19, 2016 5:26 PM To: Sutton, Randy Subject: [rt.cpan.org #111291] Compilation fails for v1.52 <URL: https://rt.cpan.org/Ticket/Display.html?id=111291 > On Tue Jan 19 17:03:23 2016, Randy.Sutton@bmo.com wrote:
> OS: Red Hat Enterprise Linux Server release 5.11 (Tikanga) > Arch: i686 > TDS Version: 0.95 > > Running configure doesn't yield any warnings - > > Below is the output from make - any ideas? > > Thanks, > Randy > > Skip blib/lib/DBD/ODBC.pm (unchanged) > Running Mkbootstrap for DBD::ODBC () > chmod 644 "ODBC.bs" > gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include -I. -I/usr/lib/perl5/site_perl/5.8.8/i386-linux- > thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing > -pipe -Wdeclaration-after-statement -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread- > multi/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include ConvertUTF.c gcc -c -DHAVE_UNISTD_H -DHAVE_PWD_H > -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 > -I/usr/local/include -I/usr/local/include -I. > -I/usr/lib/perl5/site_perl/5.8.8/i386-linux- > thread-multi/auto/DBI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing > -pipe -Wdeclaration-after-statement -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > -fasynchronous-unwind-tables -DVERSION=\"1.52\" > -DXS_VERSION=\"1.52\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread- > multi/CORE" -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H > -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=4 -I/usr/local/include > -I/usr/local/include ODBC.c > ODBC.xsi: In function 'XS_DBD__ODBC__db_disconnect': > ODBC.xsi:275: error: invalid lvalue in assignment > ODBC.xsi: In function 'XS_DBD__ODBC__db_DESTROY': > ODBC.xsi:334: error: invalid lvalue in assignment > ODBC.c: In function 'XS_DBD__ODBC__st_odbc_rows': > ODBC.c:1156: warning: unused variable 'targ' > ODBC.c:1155: warning: unused variable 'RETVAL' > ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagrec': > ODBC.xs:99: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs:101: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs: In function 'XS_DBD__ODBC__st_odbc_getdiagfield': > ODBC.xs:164: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagrec': > ODBC.xs:328: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs:330: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > ODBC.xs: In function 'XS_DBD__ODBC__db_odbc_getdiagfield': > ODBC.xs:394: warning: pointer targets in passing argument 2 of > 'Perl_newSVpv' differ in signedness > make: *** [ODBC.o] Error 1 >
ODBC.c is a generated file. Can you show me what is on line 275 of ODBC.xsi? It would also be useful to see the earlier output from perl Makefile.PL Martin -- Martin J. Evans Wetherby, UK This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. Unless otherwise stated, opinions expressed in this e-mail are those of the author and are not endorsed by the author's employer. Le présent message, ainsi que tout fichier qui y est joint, est envoyé à l'intention exclusive de son ou de ses destinataires; il est de nature confidentielle et peut constituer une information privilégiée. Nous avertissons toute personne autre que le destinataire prévu que tout examen, réacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'êtes pas le destinataire prévu, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer ce message et tout document joint de votre système. Sauf indication contraire, les opinions exprimées dans le présent message sont celles de l’auteur et ne sont pas avalisées par l’employeur de l’auteur.
On Wed Jan 20 08:45:42 2016, Randy.Sutton@bmo.com wrote: Show quoted text
> First compilation error - > > 272 /* pre-disconnect checks and tidy-ups */ > 273 if (DBIc_CACHED_KIDS(imp_dbh)) { > 274 SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); /* cast them to > the winds */ > 275 DBIc_CACHED_KIDS(imp_dbh) = Nullhv; > 276 }
I'm sorry but I can't right now see the problem. I thin it would be worth sending an email to the dbi-users mailing list you'll find at dbi.perl.org. The macro being used is a DBI one and I am at a loss to see what the compiler is having a problem with. Or you could try #dbi on IRC at irc.perl.org. Martin -- Martin J. Evans Wetherby, UK
Subject: RE: [rt.cpan.org #111291] Compilation fails for v1.52
Date: Wed, 20 Jan 2016 12:40:16 -0500
To: "bug-DBD-ODBC [...] rt.cpan.org" <bug-DBD-ODBC [...] rt.cpan.org>
From: "Sutton, Randy" <Randy.Sutton [...] bmo.com>
Problem was solved by doing a make clean and then perl Makefile.PL - not sure how this didn't work the first time around. Thanks for the effort! Randy Show quoted text
-----Original Message----- From: Martin J Evans via RT [mailto:bug-DBD-ODBC@rt.cpan.org] Sent: Wednesday, January 20, 2016 12:39 PM To: Sutton, Randy Subject: [rt.cpan.org #111291] Compilation fails for v1.52 <URL: https://rt.cpan.org/Ticket/Display.html?id=111291 > On Wed Jan 20 08:45:42 2016, Randy.Sutton@bmo.com wrote:
> First compilation error - > > 272 /* pre-disconnect checks and tidy-ups */ > 273 if (DBIc_CACHED_KIDS(imp_dbh)) { > 274 SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); /* cast them to > the winds */ > 275 DBIc_CACHED_KIDS(imp_dbh) = Nullhv; > 276 }
I'm sorry but I can't right now see the problem. I thin it would be worth sending an email to the dbi-users mailing list you'll find at dbi.perl.org. The macro being used is a DBI one and I am at a loss to see what the compiler is having a problem with. Or you could try #dbi on IRC at irc.perl.org. Martin -- Martin J. Evans Wetherby, UK This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized and may be illegal. Unless otherwise stated, opinions expressed in this e-mail are those of the author and are not endorsed by the author's employer. Le présent message, ainsi que tout fichier qui y est joint, est envoyé à l'intention exclusive de son ou de ses destinataires; il est de nature confidentielle et peut constituer une information privilégiée. Nous avertissons toute personne autre que le destinataire prévu que tout examen, réacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'êtes pas le destinataire prévu, veuillez en aviser immédiatement l'expéditeur par retour de courriel et supprimer ce message et tout document joint de votre système. Sauf indication contraire, les opinions exprimées dans le présent message sont celles de l’auteur et ne sont pas avalisées par l’employeur de l’auteur.