Problem compiling PHP 4.0.3 PL1 with Openlink ODBC driver
| From: | Andre Felipe | Date: | Wed, 06 Dec 2000 21:37:34 +0000 |
| Subject: | Problem compiling PHP 4.0.3 PL1 with Openlink ODBC driver | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1080@lists.php.net to get a copy of this message | ||
Hello Friends,
While trying to compile PHP 403 PL 1 --with-openlink on solaris, I got
an "undefined" error saying that SQLINTEGER (php_odbc.c,
line 619) wasn't previously defined.
I went to the code and saw that it was in a #if define HAS_SOLID
paragraph. Oops! I'm not using this Solid software at all!
So, I just stripped the whole #if define (since I don't know how to set
I_DONT_HAVE_SOLID ;-))
Then, it complained in line 639 that "len" wasn't defined either. This
was in function odbc_Column_length. To solve it I defined
"DWORD len" in the beginning of that function and everything worked
fine (the compilation worked).
Do you know any thing about it? Is this the correct way to solve this
bug? Is this a bug?
Thanks in advance,
Andre Felipe
afelipe@sede.embrapa.br
andre.felipe@embrapa.br