#19145 [NEW]: Compiling bug
| From: | fiera at promotion dot it | Date: | Wed, 28 Aug 2002 10:42:39 +0000 |
| Subject: | #19145 [NEW]: Compiling bug | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18022@lists.php.net to get a copy of this message | ||
From: fiera@promotion.it
Operating system: Slackware 8.1
PHP version: 4.2.2
PHP Bug Type: Compile Failure
Bug description: Compiling bug
Hello.
I downloaded and installed Apache 2.0.40 following your
instructions, and then I tried to install php 4.2.2
I received this error during the compilation:
make[3]: Entering directory
`/usr/local/src/php/php-4.2.2/sapi/apache2filter'
/bin/sh /usr/local/src/php/php-4.2.2/libtool --silent
--mode=compile gcc -I.
-I/usr/local/src/php/php-4.2.2/sapi/apache2filter
-I/usr/local/src/php/php-4.2.2/main
-I/usr/local/src/php/php-4.2.2
-I/usr/local/apache2.0.40/include
-I/usr/local/src/php/php-4.2.2/Zend
-I/usr/local/src/php/php-4.2.2/ext/mysql/libmysql
-I/usr/local/src/php/php-4.2.2/ext/xml/expat -D_REENTRANT
-I/usr/local/src/php/php-4.2.2/TSRM -DTHREAD=1 -g -O2
-pthread -DZTS -prefer-pic -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of
`ap_register_output_filter' makes pointer from integer
without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of
`ap_register_input_filter' makes pointer from integer
without a cast
sapi_apache2.c:535: too few arguments to function
`ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory
`/usr/local/src/php/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/local/src/php/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/src/php/php-4.2.2/sapi'
make: *** [all-recursive] Error 1
What can I do?
Alessandro
P.S. Now I try to download another time php and to
configure and compile it.
--
Edit bug report at http://bugs.php.net/?id=19145&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19145&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19145&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19145&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19145&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19145&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19145&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19145&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19145&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19145&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19145&r=globals