PHP 4.0 Bug #6792: Openlink ODBC

From: Date: Sun, 17 Sep 2000 20:37:25 +0000
Subject: PHP 4.0 Bug #6792: Openlink ODBC
Groups: php.dev 
Request: Send a blank email to php-dev+get-33405@lists.php.net to get a copy of this message
From: aubrey@isoft.co.za Operating system: Linux 6.2 PHP version: 4.0.2 PHP Bug Type: Compile Failure Bug description: Openlink ODBC I am trying to compile PHP4 with Openlink Support. I can successfully run odbctest and connect to my database. Before I compile PHP I make sure that my environment settings are correct. When I compile I get errors in the ODBC section. On looking at the Makefile in the ODBC section I notice references to libodbc.la which does not exist on my machine. I do have a libiodbc.la though, but even if I change the references in the Makefile, it does not work. If I compile without Openlink support it works fine but I don't have Openlink Access. Here is my configure command: ./configure --with-apxs --with-mysql --with-openlink=/usr/openlink --wit h-xml --enable-versioning --enable-track-vars Here is the problem: Making all in odbc make[2]: Entering directory `/home/aubrey/php-4.0.2/ext/odbc' make[3]: Entering directory `/home/aubrey/php-4.0.2/ext/odbc' /bin/sh /home/aubrey/php-4.0.2/libtool --silent --mode=compile gcc -I. -I/home/ aubrey/php-4.0.2/ext/odbc -I/home/aubrey/php-4.0.2 -I/home/aubrey/php-4.0.2/main -I/usr/include/apache -I/home/aubrey/php-4.0.2/Zend -I/home/aubrey/php-4.0.2 -I /usr/include/freetype -I/usr/include/gd -I/home/aubrey/php-4.0.2/ext/mysql/libmy sql -I/usr/openlink/odbcsdk/include -I/home/aubrey/php-4.0.2/ext/xml/expat/xmlto k -I/home/aubrey/php-4.0.2/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -g -O2 -c php_odbc.c php_odbc.c: In function `odbc_column_lengths': php_odbc.c:610: `SQLINTEGER' undeclared (first use in this function) php_odbc.c:610: (Each undeclared identifier is reported only once php_odbc.c:610: for each function it appears in.) php_odbc.c:610: parse error before `len' php_odbc.c:638: `len' undeclared (first use in this function) make[3]: *** [php_odbc.lo] Error 1 make[3]: Leaving directory `/home/aubrey/php-4.0.2/ext/odbc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/aubrey/php-4.0.2/ext/odbc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/aubrey/php-4.0.2/ext' make: *** [all-recursive] Error 1 Your help would be greatly appreciated Aubrey

« previous php.dev (#33405) next »