4.0.3RC2 reports on *BSD, ia64 and Linux: ok overall

From: Date: Tue, 03 Oct 2000 21:42:18 +0000
Subject: 4.0.3RC2 reports on *BSD, ia64 and Linux: ok overall
Groups: php.qa 
Request: Send a blank email to php-qa+get-1415@lists.php.net to get a copy of this message
Here're reports with 4.0.3RC2 (from php.net/~andi) on various platforms. The only problem would be build broken on Digital Unix with gcc when enabling sockets. Since RC1, one specific bug is fixed, one way to check this is that phpinfo() now display images on Netscape Unix. Bug #4180 can be closed. Funny detail: there're exact similar warning compilation build on two different 64-bit machines. - 1st platform. NetBSD 1.3.3 x86 gcc 2.7.2.2, default BSD make, no bison. ./configure --with-config-file-path=/space/www/etc/httpd/conf/php_cgi \ --enable-discard-path \ --with-gd=/u/guest/www/mbin/i386-NetBSD \ --with-mysql \ --with-dbase \ --with-zlib=/u/guest/www/mbin/i386-NetBSD \ --with-mcrypt=/u/guest/www/mbin/i386-NetBSD \ --with-mhash=/u/guest/www/mbin/i386-NetBSD \ --enable-ftp \ --enable-trans-sid \ --enable-sockets \ --enable-track-vars \ --enable-inline-optimization \ --with-jpeg-dir=/u/guest/www/mbin/i386-NetBSD \ --with-imap=/u/guest/www/mbin/i386-NetBSD/lib make gives: sockets.c: In function `php_if_recvmsg': sockets.c:1608: warning: assignment from incompatible pointer type sockets.c:1614: warning: assignment from incompatible pointer type sockets.c:1667: warning: assignment from incompatible pointer type sockets.c:1673: warning: assignment from incompatible pointer type sockets.c: In function `php_if_sendmsg': sockets.c:1746: warning: assignment from incompatible pointer type sockets.c:1770: warning: assignment from incompatible pointer type /home/sas/src/php4/ext/standard/url_scanner_ex. re:19: warning: Header file /home/sas/src/php4/ext/standard/php.h exists, but is not readable /home/sas/src/php4/ext/standard/url_scanner_ex.re:31: warning: Header file /home/sas/src/php4/ext/standard/php_globals.h exists, but is not readable /home/sas/src/php4/ext/standard/url_scanner_ex.re:33: warning: Header file /home/sas/src/php4/ext/standard/basic_functions.h exists, but is not readable /home/sas/src/php4/ext/standard/url_scanner_ex.re:39: warning: Header file /home/sas/src/php4/ext/standard/php_smart_str.h exists, but is not readable The latter problem is due to #line directives not supported by gcc 2.7.2.2 when parser is not regenerated by bison (not installed on this machine), Jani Taskinen had corrected many of them earlier but these just appeared very recently (less than 3 days ago I think). The #line are in (at least): ext/standard/url_scanner_ex.c - 2nd platform. NetBSD 1.4.2 x86 egcs 2.91.60, default BSD make ./configure --enable-sockets --enable-ftp --enable-dbase --with-mysql make gives: dbug.c:323: warning: deprecated symbol "unix" is no longer predefined - 3rd platform. OpenBSD 2.6 x86 gcc 2.95.1, default BSD make ./configure --enable-sockets --enable-ftp --enable-dbase --with-mysql make gives: sockets.c: In function `php_if_recvmsg': sockets.c:1608: warning: assignment from incompatible pointer type sockets.c:1614: warning: assignment from incompatible pointer type sockets.c:1667: warning: assignment from incompatible pointer type sockets.c:1673: warning: assignment from incompatible pointer type sockets.c: In function `php_if_sendmsg': sockets.c:1746: warning: assignment from incompatible pointer type sockets.c:1770: warning: assignment from incompatible pointer type - 4th platform. Linux 2.4.0-test8-SMP ia64 gcc 2.9-ia64-000216-final, make 3.79.1. ./configure --enable-sockets --enable-ftp --enable-dbase --with-mysql make gives: php_ini.c: In function `php_ini_refresh_caches': php_ini.c:161: warning: cast to pointer from integer of different size php_mysql.c: In function `php_mysql_do_connect': php_mysql.c:499: warning: cast from pointer to integer of different size tsrm_virtual_cwd.c: In function `virtual_getcwd': tsrm_virtual_cwd.c:251: warning: passing arg 1 of `virtual_getcwd_ex' from incompatible pointer type - 5th platform. OSF1 V4.0 878 alpha gcc 2.7.2.3, default make. sockets won't compile so I didn't bother... see my previous report with RC1. :) ./configure --enable-ftp --enable-dbase --with-mysql make gives: php_ini.c: In function `php_ini_refresh_caches': php_ini.c:161: warning: cast to pointer from integer of different size php_mysql.c: In function `php_mysql_do_connect': php_mysql.c:499: warning: cast from pointer to integer of different size tsrm_virtual_cwd.c: In function `virtual_getcwd': tsrm_virtual_cwd.c:243: warning: passing arg 1 of `virtual_getcwd_ex' from incompatible pointer type btw, how can I tell ./configure to use native CC from OSF instead of gcc ? - 6th platform. Linux 2.2.17, glibc 2.1.3 x86 egcs 2.91.66, make 3.78.1 ./configure --enable-sockets --enable-ftp --enable-dbase --with-mysql no warnings, builds fine. -- Olivier.Cahagne@epita.fr

« previous php.qa (#1415) next »