Problems compiling php403PL 1 with Openlink ODBC on Solaris
| From: | Andre Felipe | Date: | Wed, 06 Dec 2000 18:12:06 +0000 |
| Subject: | Problems compiling php403PL 1 with Openlink ODBC on Solaris | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40229@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