Failed to build mysql-connector-odbc both 5.1 and 3.5.1

Failed to build mysql-connector-odbc both 5.1 and 3.5.1

am 02.07.2009 12:16:45 von alekz

--0016363ba65c47dfe6046db6565d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

../configure --without-x --without-qt --with-unixODBC=/usr --enable-shared
--disable-gui --without-server[Lots of output =) ]
Success!!
------------------------------------------------------------ --------
| Remember to check the Connector/ODBC documentation for detailed |
| installation and setup instructions at: |
| http://dev.mysql.com/doc/refman/5.0/en/myodbc-connector.html |
| |
| Connector/ODBC product information: |
| http://www.mysql.com/products/myodbc/ |
| |
| Connector/ODBC mailing list archive: |
| http://lists.mysql.com/myodbc |
| |
| If you have any questions or improvements to ithe driver, then |
| send a detailed mail to 'myodbc@lists.mysql.com' |
------------------------------------------------------------ --------



#make
[Realy lots of output]
make[1]: Leaving directory `/usr/src/mysql-connector-odbc-3.51.27r695/util'
Making all in driver
make[1]: Entering directory
`/usr/src/mysql-connector-odbc-3.51.27r695/driver'
make all-am
make[2]: Entering directory
`/usr/src/mysql-connector-odbc-3.51.27r695/driver'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I. -DNONTHREADSAFE -I/usr/include -O3 -DDBUG_OFF -I/usr/include/mysql
-march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions
-fno-strict-aliasing -g -O2 -MT libmyodbc3_la-catalog.lo -MD -MP -MF
".deps/libmyodbc3_la-catalog.Tpo" -c -o libmyodbc3_la-catalog.lo `test -f
'catalog.c' || echo './'`catalog.c; \
then mv -f ".deps/libmyodbc3_la-catalog.Tpo"
".deps/libmyodbc3_la-catalog.Plo"; else rm -f
".deps/libmyodbc3_la-catalog.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -DNONTHREADSAFE -I/usr/include -O3
-DDBUG_OFF -I/usr/include/mysql -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1
-fno-exceptions -fno-strict-aliasing -g -O2 -MT libmyodbc3_la-catalog.lo -MD
-MP -MF .deps/libmyodbc3_la-catalog.Tpo -c catalog.c -fPIC -DPIC -o
..libs/libmyodbc3_la-catalog.o
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I. -DNONTHREADSAFE -I/usr/include -O3 -DDBUG_OFF -I/usr/include/mysql
-march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions
-fno-strict-aliasing -g -O2 -MT libmyodbc3_la-connect.lo -MD -MP -MF
".deps/libmyodbc3_la-connect.Tpo" -c -o libmyodbc3_la-connect.lo `test -f
'connect.c' || echo './'`connect.c; \
then mv -f ".deps/libmyodbc3_la-connect.Tpo"
".deps/libmyodbc3_la-connect.Plo"; else rm -f
".deps/libmyodbc3_la-connect.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -DNONTHREADSAFE -I/usr/include -O3
-DDBUG_OFF -I/usr/include/mysql -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1
-fno-exceptions -fno-strict-aliasing -g -O2 -MT libmyodbc3_la-connect.lo -MD
-MP -MF .deps/libmyodbc3_la-connect.Tpo -c connect.c -fPIC -DPIC -o
..libs/libmyodbc3_la-connect.o
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I. -DNONTHREADSAFE -I/usr/include -O3 -DDBUG_OFF -I/usr/include/mysql
-march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions
-fno-strict-aliasing -g -O2 -MT libmyodbc3_la-cursor.lo -MD -MP -MF
".deps/libmyodbc3_la-cursor.Tpo" -c -o libmyodbc3_la-cursor.lo `test -f
'cursor.c' || echo './'`cursor.c; \
then mv -f ".deps/libmyodbc3_la-cursor.Tpo"
".deps/libmyodbc3_la-cursor.Plo"; else rm -f
".deps/libmyodbc3_la-cursor.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -DNONTHREADSAFE -I/usr/include -O3
-DDBUG_OFF -I/usr/include/mysql -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1
-fno-exceptions -fno-strict-aliasing -g -O2 -MT libmyodbc3_la-cursor.lo -MD
-MP -MF .deps/libmyodbc3_la-cursor.Tpo -c cursor.c -fPIC -DPIC -o
..libs/libmyodbc3_la-cursor.o
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I. -DNONTHREADSAFE -I/usr/include -O3 -DDBUG_OFF -I/usr/include/mysql
-march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions
-fno-strict-aliasing -g -O2 -MT libmyodbc3_la-dll.lo -MD -MP -MF
".deps/libmyodbc3_la-dll.Tpo" -c -o libmyodbc3_la-dll.lo `test -f 'dll.c' ||
echo './'`dll.c; \
then mv -f ".deps/libmyodbc3_la-dll.Tpo"
".deps/libmyodbc3_la-dll.Plo"; else rm -f ".deps/libmyodbc3_la-dll.Tpo";
exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -DNONTHREADSAFE -I/usr/include -O3
-DDBUG_OFF -I/usr/include/mysql -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1
-fno-exceptions -fno-strict-aliasing -g -O2 -MT libmyodbc3_la-dll.lo -MD -MP
-MF .deps/libmyodbc3_la-dll.Tpo -c dll.c -fPIC -DPIC -o
..libs/libmyodbc3_la-dll.o
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I. -DNONTHREADSAFE -I/usr/include -O3 -DDBUG_OFF -I/usr/include/mysql
-march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -fno-exceptions
-fno-strict-aliasing -g -O2 -MT libmyodbc3_la-error.lo -MD -MP -MF
".deps/libmyodbc3_la-error.Tpo" -c -o libmyodbc3_la-error.lo `test -f
'error.c' || echo './'`error.c; \
then mv -f ".deps/libmyodbc3_la-error.Tpo"
".deps/libmyodbc3_la-error.Plo"; else rm -f ".deps/libmyodbc3_la-error.Tpo";
exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -DNONTHREADSAFE -I/usr/include -O3
-DDBUG_OFF -I/usr/include/mysql -march=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1
-fno-exceptions -fno-strict-aliasing -g -O2 -MT libmyodbc3_la-error.lo -MD
-MP -MF .deps/libmyodbc3_la-error.Tpo -c error.c -fPIC -DPIC -o
..libs/libmyodbc3_la-error.o
error.c: In function 'set_mem_error':
error.c:333: error: 'NET' has no member named 'last_errno'
error.c:334: error: 'NET' has no member named 'last_error'
make[2]: *** [libmyodbc3_la-error.lo] Error 1
make[2]: Leaving directory
`/usr/src/mysql-connector-odbc-3.51.27r695/driver'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/usr/src/mysql-connector-odbc-3.51.27r695/driver'
make: *** [all-recursive] Error 1

--0016363ba65c47dfe6046db6565d--