RE: [PHP-INST] No ODBC
| From: | Andrew Hill | Date: | Fri, 17 Nov 2000 20:21:57 +0000 |
| Subject: | RE: [PHP-INST] No ODBC | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-831@lists.php.net to get a copy of this message | ||
Iran,
Go into the php_odbc.c file, find the "SQLINTEGER len;" and replace it with
"SDWORD len;"
This is a known bug. http://bugs.php.net/bugs.php?id=5526
This will resolved your compile issues.
Best regards,
Andrew
----------------------------------------------------
Andrew Hill
Director Technology Evangelism
OpenLink Software
http://www.openlinksw.com
XML & E-Business Infrastructure Technology Provider
> -----Original Message-----
> From: Iran [mailto:iranph@toledo.br]
> Sent: Friday, November 17, 2000 3:20 PM
> To: php-install@lists.php.net
> Subject: [PHP-INST] No ODBC
>
>
> Hi. I'm trying to compile PHP with OpenLink ODBC support but I
> got the following message.
>
> php_odbc.c: In function `odbc_column_lengths':
> php_odbc.c:619: `SQLINTEGER' undeclared (first use this function)
> php_odbc.c:619: (Each undeclared identifier is reported only once
> php_odbc.c:619: for each function it appears in.)
> php_odbc.c:619: parse error before `len'
> php_odbc.c:648: `len' undeclared (first use this function)
>
> I got the libraries in the correct directory. My configure line is:
>
> ./configure
> --with-apache=../apache_1.3.12
> --enable-debug
> --with-gdbm
> --with-ndbm
> --enable-ftp
> --with-mysql=/usr/local
> --with-openlink
>
> What's the problem?
>
> iran
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>