Re: Issue with ODBC on 64 bit machine while using SQLUINTEGER and SQLINTEGER
"qureshifaizan faiz" <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi nick, I have a small query regarding compilation error which iam getting while compiling the "unixODBC-2.2.11".I have the following machine configuration. os is fedora 6 machine is 64 bit when i do uname -a Linux localhost 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:39:22 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux Iam following this procedure. ./configure make all make install after make install i get a compilation error. please find the attached log with this mail. If you could kindly please have a look at the log and guide me further i will be grateful to you. you guys have been very helpful to me. Thanks in advance Faizan. On Fri, Mar 28, 2008 at 3:20 PM, qureshifaizan faiz <[email protected]> wrote: > Thanks nick, > shall try that option.I have read it on net,people working > on 64 bit machine had same problem with SQLUINTEGER and SQLINTEGER > when they changed to SQLULEN and SQLLEN,then the code was > working fine.so will this change will help me in solving problem > on 64 bit machine with unix os. > > Regards, > Faizan. > > > On Fri, Mar 28, 2008 at 3:00 PM, Nick Gorham <[email protected]> > wrote: > > > qureshifaizan faiz wrote: > > > > >Hi nick, > > >thanks for the reply.The application code was compiled on 64 bit > > machine > > >with -m64 flag.And the DM was mysql connector driver which was 64 bit > > binary > > >and odbc driver was compiled on the 64 bit machine.Apart from this i > > have > > >one more query. > > > > > >Is their any option(compilation flag which can be set) for compiling > > odbc > > >driver with 32 bit compilation on 64 bit machine. > > > > > > > > > > Set any CFLAGS for 32 bit build before running configure. > > > > -- > > Nick Gorham > > Easysoft Limited > > http://www.easysoft.com, http://www.unixODBC.org > > > > _______________________________________________ > > unixODBC-dev mailing list > > [email protected] > > http://mail.easysoft.com/mailman/listinfo/unixodbc-dev > > > > _______________________________________________ unixODBC-dev mailing list [email protected] http://mail.easysoft.com/mailman/listinfo/unixodbc-dev
log.txt
(text/plain, 2.2 KB)
step 1: ./configure --prefix /home/nilanjan/software/unixODBC-2.2.11 --enable-gui=no step 2: make all step 3: make install make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../mkinstalldirs /home/nilanjan/software/unixODBC-2.2.11/include /usr/bin/install -c -m 644 odbcinst.h /home/nilanjan/software/unixODBC-2.2.11/include/odbcinst.h /usr/bin/install: `odbcinst.h' and `/home/nilanjan/software/unixODBC-2.2.11/include/odbcinst.h' are the same file /usr/bin/install -c -m 644 odbcinstext.h /home/nilanjan/software/unixODBC-2.2.11/include/odbcinstext.h /usr/bin/install: `odbcinstext.h' and `/home/nilanjan/software/unixODBC-2.2.11/include/odbcinstext.h' are the same file /usr/bin/install -c -m 644 sql.h /home/nilanjan/software/unixODBC-2.2.11/include/sql.h /usr/bin/install: `sql.h' and `/home/nilanjan/software/unixODBC-2.2.11/include/sql.h' are the same file /usr/bin/install -c -m 644 sqlext.h /home/nilanjan/software/unixODBC-2.2.11/include/sqlext.h /usr/bin/install: `sqlext.h' and `/home/nilanjan/software/unixODBC-2.2.11/include/sqlext.h' are the same file /usr/bin/install -c -m 644 sqltypes.h /home/nilanjan/software/unixODBC-2.2.11/include/sqltypes.h /usr/bin/install: `sqltypes.h' and `/home/nilanjan/software/unixODBC-2.2.11/include/sqltypes.h' are the same file /usr/bin/install -c -m 644 sqlucode.h /home/nilanjan/software/unixODBC-2.2.11/include/sqlucode.h /usr/bin/install: `sqlucode.h' and `/home/nilanjan/software/unixODBC-2.2.11/include/sqlucode.h' are the same file /usr/bin/install -c -m 644 uodbc_stats.h /home/nilanjan/software/unixODBC-2.2.11/include/uodbc_stats.h /usr/bin/install: `uodbc_stats.h' and `/home/nilanjan/software/unixODBC-2.2.11/include/uodbc_stats.h' are the same file /usr/bin/install -c -m 644 autotest.h /home/nilanjan/software/unixODBC-2.2.11/include/autotest.h /usr/bin/install: `autotest.h' and `/home/nilanjan/software/unixODBC-2.2.11/include/autotest.h' are the same file make[2]: *** [install-includeHEADERS] Error 1 make[2]: Leaving directory `/home/nilanjan/software/unixODBC-2.2.11/include' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/nilanjan/software/unixODBC-2.2.11/include' make: *** [install-recursive] Error 1