here's the error..

php version 4.2.1
gcc: 2.95.3
linux: 2.4.5
configure string:
./configure --with-mysql=/usr/local --with-apxs=/www/apache/bin/apxs --with-
gd=/usr/local --with-ttf --with-freetype --with-jpeg-dir

/bin/sh /home/alven/Download/php-4.2.1/libtool --silent --mode=compile
cc  -I. -I/home/alven/Download/php-4.2.1/main -I/home/alven/Download/php-4.2
.1/main -I/home/alven/Download/php-4.2.1 -I/usr/local/apache/include -I/home
/alven/Download/php-4.2.1/Zend -I/usr/local/include/freetype -I/usr/local/in
clude -I/usr/local/include/mysql -I/home/alven/Download/php-4.2.1/ext/xml/ex
pat  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I/home/alven/Download/php-4.2.1/T
SRM -g -O2 -prefer-pic  -c main.c
In file included from php.h:130,
                 from main.c:26:
/usr/include/unistd.h:247: warning: redefinition of `socklen_t'
php.h:114: warning: `socklen_t' previously declared here
In file included from php.h:304,
                 from main.c:26:
/home/alven/Download/php-4.2.1/TSRM/tsrm_virtual_cwd.h:130: parse error
before `*'
/home/alven/Download/php-4.2.1/TSRM/tsrm_virtual_cwd.h:130: warning: data
definition has no type or storage class
In file included from php.h:313,
                 from main.c:26:
php_reentrancy.h:54: parse error before `*'
In file included from
/home/alven/Download/php-4.2.1/ext/standard/fsock.h:32,
                 from
/home/alven/Download/php-4.2.1/ext/standard/php_standard.h:43,
                 from main.c:52:
php_network.h:55: warning: `struct sockaddr' declared inside parameter list
php_network.h:55: warning: its scope is only this definition or declaration,
which is probably not what you want.
In file included from
/home/alven/Download/php-4.2.1/ext/standard/php_standard.h:43,
                 from main.c:52:
/home/alven/Download/php-4.2.1/ext/standard/fsock.h:63: warning: `struct
in_addr' declared inside parameter list
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/home/alven/Download/php-4.2.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alven/Download/php-4.2.1/main'
make: *** [all-recursive] Error 1
alven@harry:~/Download/php-4.2.1$


//Alv



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to