Faile to compile
| From: | Fabrizio | Date: | Sat, 15 Apr 2000 20:18:30 +0000 |
| Subject: | Faile to compile | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13602@lists.php.net to get a copy of this message | ||
Excuse me if i didn't spscify it (and for my bad english) my comfiguration
I'm running Linux RedHat 6.1 with kernel 2.3.51 with italian localization,
php4 beta RC1 with apache 1.3.12
i write the following
./configure --with-mysql --with-apache=../apche-1.3.12/ --enable-trackvars
----and the configure goes all right (i obtain the same error even if i
specify the full path for my-sql and for apache)
make
and during the makefile process i obtain
>
gcc -DHAVE_CONFIG_H -I. -I/root/temp/php-4.0RC1/ext/standard -I../.. -I../..
/Zend -I/root/temp/php-4.0RC1 -I/root/temp/apache_1.3.12/src/include -I/root
/temp/apache_1.3.12/src/os/unix -I/root/temp/php-4.0RC1/ext/mysql/libmysql -
I/root/temp/php-4.0RC1/ext/xml/expat/xmltok -I/root/temp/php-4.0RC1/ext/xml/
expat/xmlparse -DXML_BYTE_ORDER=12 -D_REENTRANT -g -O2 -Wall -c
microtime.c && touch microtime.lo
> microtime.c: In function `php_if_getrusage':
> microtime.c:97: storage size of `usg' isn't known
> microtime.c:100: `RUSAGE_SELF' undeclared (first use in this function)
> microtime.c:100: (Each undeclared identifier is reported only once
> microtime.c:100: for each function it appears in.)
> microtime.c:106: `RUSAGE_CHILDREN' undeclared (first use in this
> function)
> microtime.c:110: warning: implicit declaration of function `getrusage'
> microtime.c:97: warning: unused variable `usg'
> make[3]: *** [microtime.lo] Error 1
> make[3]: Leaving directory `/root/temp/php-4.0RC1/ext/standard'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/temp/php-4.0RC1/ext/standard'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/root/temp/php-4.0RC1/ext'
> make: *** [all-recursive] Error 1
> are there possiblle Solutions to this?>
gcc -DHAVE_CONFIG_H -I. -I/root/temp/php-4.0RC1/ext/standard -I../..
> -I../../Zend -I/root/temp/php-4.0RC1
> -I/root/temp/apache_1.3.12/src/include
> -I/root/temp/apache_1.3.12/src/os/unix
> -I/root/temp/php-4.0RC1/ext/mysql/libmysql
> -I/root/temp/php-4.0RC1/ext/xml/expat/xmltok
> -I/root/temp/php-4.0RC1/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12
> -D_REENTRANT -g -O2 -Wall -c microtime.c && touch microtime.lo
> microtime.c: In function `php_if_getrusage':
> microtime.c:97: storage size of `usg' isn't known
> microtime.c:100: `RUSAGE_SELF' undeclared (first use in this function)
> microtime.c:100: (Each undeclared identifier is reported only once
> microtime.c:100: for each function it appears in.)
> microtime.c:106: `RUSAGE_CHILDREN' undeclared (first use in this
> function)
> microtime.c:110: warning: implicit declaration of function `getrusage'
> microtime.c:97: warning: unused variable `usg'
> make[3]: *** [microtime.lo] Error 1
> make[3]: Leaving directory `/root/temp/php-4.0RC1/ext/standard'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/temp/php-4.0RC1/ext/standard'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/root/temp/php-4.0RC1/ext'
> make: *** [all-recursive] Error 1