Re: OT - pgsql + php 4.0.5
| From: | Iuri Fiedoruk | Date: | Wed, 14 Mar 2001 14:21:57 +0000 |
| Subject: | Re: OT - pgsql + php 4.0.5 | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-861@lists.php.net to get a copy of this message | ||
Em Qua 14 Mar 2001 10:39, Iuri Fiedoruk escreveu:
> I know this isn't the right place to ask, but once nobody at php-install
> answered me I have to ask :)
> Have someone been able to compile the cvs php with pgsql support?
> I'm getting this error:
>
> make[3]: Entering directory `/home/bart/php4/ext/pgsql'
> gcc -I. -I/home/bart/php4/ext/pgsql -I/home/bart/php4/main
> -I/home/bart/php4 -I/home/bart/php4/Zend
> -I/home/bart/php4/ext/mysql/libmysql -I/home/bart/php4/ext/xml/expat/xmltok
> -I/home/bart/php4/ext/xml/expat/xmlparse -I/home/bart/php4/TSRM
> -I/usr/include/pgsql -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c pgsql.c
> && touch pgsql.lo
> pgsql.c: In function `_rollback_transactions':
> pgsql.c:165: void value not ignored as it ought to be
> make[3]: *** [pgsql.lo] Error 1
> make[3]: Leaving directory `/home/bart/php4/ext/pgsql'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/bart/php4/ext/pgsql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/bart/php4/ext'
> make: *** [all-recursive] Error 1
>
> I'm using redhat 6.2 and postgres 6.5.3.
> Any help is welcome, and sorry again to post it here.
Ok, I got it. Just a void function being called as var = function(),
remiving the var = part it compiles.
Thanks anyway
--
Iuri Fiedoruk
Santa Maria, RS, Brazil