delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/25/17:36:46

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <4.3.2.7.2.20020325171900.00b4e110@zmail.zeborg.com>
X-Sender: paul DOT chernoch AT zmail DOT zeborg DOT com
Date: Mon, 25 Mar 2002 17:33:54 -0500
To: cygwin AT cygwin DOT com, dbi-users AT perl DOT org
From: "Paul A. Chernoch" <paul DOT chernoch AT zeborg DOT com>
Subject: Perl module DBD::ODBC 0.39 wont compile on CYGWIN
Mime-Version: 1.0
X-OriginalArrivalTime: 25 Mar 2002 22:33:55.0139 (UTC) FILETIME=[25984130:01C1D44D]

DBD::ODBC Version 0.38 builds and passes the tests, but 0.39 wont even 
compile. Here are the error messages:

$ make
cp ODBC.pm blib/lib/DBD/ODBC.pm
/usr/bin/perl -p -e "s/~DRIVER~/ODBC/g" < 
/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI/Driver.xst > ODBC.xsi
/usr/bin/perl -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1 
/usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.6.1/ExtUtils/typemap ODBC.xs > ODBC.xsc && mv ODBC.xsc ODBC.c
gcc -c -I. -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI 
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include 
-DUSEIMPORTLIB -O2   -DVERSION=\"0.39\" 
-DXS_VERSION=\"0.39\"  -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE  ODBC.c
gcc -c -I. -I/usr/lib/perl5/site_perl/5.6.1/cygwin-multi/auto/DBI 
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include 
-DUSEIMPORTLIB -O2   -DVERSION=\"0.39\" 
-DXS_VERSION=\"0.39\"  -I/usr/lib/perl5/5.6.1/cygwin-multi/CORE  dbdimp.c
dbdimp.c: In function `odbc_db_login6':
dbdimp.c:211: `SQL_ATTR_ODBC_VERSION' undeclared (first use in this function)
dbdimp.c:211: (Each undeclared identifier is reported only once
dbdimp.c:211: for each function it appears in.)
dbdimp.c:211: `SQL_IS_INTEGER' undeclared (first use in this function)
dbdimp.c: At top level:
dbdimp.c:1644: warning: `_dbd_rebind_ph' was declared implicitly `extern' 
and later `static'
dbdimp.c:1190: warning: previous declaration of `_dbd_rebind_ph'
make: *** [dbdimp.o] Error 1


When I look, the undeclared symbols are really, truly undefined. 
SQL_ATTR_ODBC_VERSION does not even appear to exist in version 0.38.

(BTW, as far as I can tell, the patch file used some time ago by CYGWIN 
users to fix the Makefile.pl has been fully incorporated into more recent 
builds, so I know that is not the problem.)

I just upgraded today to the latest version of CYGWIN, and with it comes 
perl v5.6.1.

   - Paul
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Paul Anton Chernoch
Zeborg, Inc.
500 West Cummings Park
Woburn, MA 01801

t: 781.759.0105
f: 781.935.5090
c: 781.606.7382

http://www.zeborg.com
This message is a personal and confidential communication. If you are not
the intended recipient, please do not read, copy, or use it, and do not
disclose it to others. Please notify the sender of the delivery error by
replying to this message, and then delete it from your system. Thank you.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019