RE: building Perl module DBD-ODBC-4.3 under 64-bit cygwin

2013-08-02 Thread Simon Barnes
> ...is a typical type conflict. ULONG is a Windows type defined as > unsigned long in the Win32 API. The Win32 data model is LLP64, so > unsigned long is 4 bytes. However, Cygwin is LP64, so unsigned long is > 8 bytes. Therefore the `typedef unsigned long ULONG;' is wrong for 64 > bit. Either

Re: building Perl module DBD-ODBC-4.3 under 64-bit cygwin

2013-08-01 Thread Yaakov (Cygwin/X)
On 2013-08-01 07:57, Simon Barnes wrote: I'm having difficulty with this and would appreciate any suggestions. It does build under 32-bit cygwin. Not really. The included makefile tries to force Cygwin to use ODBC32, where we use iODBC; the conflicts between the two is what cause this error.

Re: building Perl module DBD-ODBC-4.3 under 64-bit cygwin

2013-08-01 Thread Corinna Vinschen
On Aug 1 16:02, Corinna Vinschen wrote: > On Aug 1 12:57, Simon Barnes wrote: > > I'm having difficulty with this and would appreciate any suggestions. It > > does build under 32-bit cygwin. > > That's a good place to point to my extended "how to port to 64 bit" FAQ, > starting here: > > h

Re: building Perl module DBD-ODBC-4.3 under 64-bit cygwin

2013-08-01 Thread Corinna Vinschen
On Aug 1 12:57, Simon Barnes wrote: > I'm having difficulty with this and would appreciate any suggestions. It > does build under 32-bit cygwin. That's a good place to point to my extended "how to port to 64 bit" FAQ, starting here: http://cygwin.com/faq/faq.html#faq.programming.64bitportin