From:             patrick dot laux at bessy dot de
Operating system: linux-SuSE 9.0
PHP version:      4.3.4
PHP Bug Type:     Compile Failure
Bug description:  Earnings for signal handler and Error in error.c

Description:
------------
Hello 
 
Some Problems 
Compiling PHP 4.3.4 at SuSE 9.0 patch level from 
2004-02-03.  
Following configuration options:  
 
 
 

Reproduce code:
---------------
Following configuration options: 
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--libexecdir=/usr/
lib/apache/php --with-config-file-path=/etc/httpd
--with-sysconfigdir=/etc/httpd --with-exec-dir=/srv/www/bin
--enable-sigchild --wi
th-openssl=/usr -with-zlib=/usr --with-zlib-dir=/usr --with-bz2=/usr
--enable-calendar --with-jpeg-dir=/usr --enable-dba --with-inif
ile --with-flatfile --enable-dbase --enable-dio --with-dom=/usr
--with-dom-xslt=/usr --enable-exif --enable-filepro --enable-ftp --w
ith-gd=/usr/local --with-zlib-dir=/usr --with-xpm-dir=/usr/X11R6
--with-ttf=/usr --with-freetype=/usr --with-gettext=/usr --with-hyp
erwave --with-java=/usr/lib/java --with-ldap=/usr --enable-mbstring
--with-mcal=/usr --with-mcrypt=/usr --with-openssl-dir=/usr --wi
thout-mysql --with-ncurses=/usr --with-oci8=/opt/oracle/product/9ir2
--with-oracle=/opt/oracle/product/9ir2 --with-iodbc=/usr --with
-unixODBC=/usr --with-pdflib=/usr/local --with-png-dir=/usr
--with-tiff-dir=/usr --with-readline=/usr --with-recode=/usr --with-mm=/
usr --enable-shmop --enable-sockets --with-ming=/usr/local
--enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --with-e
xpat-dir=/usr --with-iconv-dir=/usr --with-xslt-sablot=/usr --enable-yp

Actual result:
--------------
Crashes with: 
/bin/sh /srv/ftp/www/php-4.3.4/libtool --silent 
--preserve-dup-deps --mode=compile gcc  -Iext/standard/ 
-I/srv/ftp/www/php-4.3.4/ext/standard/ -DPHP_ATOM_INC -I/
srv/ftp/www/php-4.3.4/include -I/srv/ftp/www/php-4.3.4/
main -I/srv/ftp/www/php-4.3.4 -I/srv/ftp/www/php-4.3.4/
Zend -I/usr/include/libxml2 -I/usr/X11R6/include -I/
include -I/usr/local/include -I/srv/ftp/www/php-4.3.4/ext/
mbstring/mbregex -I/srv/ftp/www/php-4.3.4/ext/mbstring/
libmbfl -I/srv/ftp/www/php-4.3.4/ext/mbstring/libmbfl/mbfl 
-I/usr/include/mcal -I/opt/oracle/product/9ir2/rdbms/
public -I/opt/oracle/product/9ir2/rdbms/demo -I/opt/
oracle/product/9ir2/plsql/public  -I/srv/ftp/www/
php-4.3.4/TSRM  -g -O2  -prefer-pic -c /srv/ftp/www/
php-4.3.4/ext/standard/exec.c -o ext/standard/exec.lo 
/srv/ftp/www/php-4.3.4/ext/standard/exec.c: In function 
`php_Exec': 
/srv/ftp/www/php-4.3.4/ext/standard/exec.c:165: `SIGCHLD' 
undeclared (first use in this function) 
/srv/ftp/www/php-4.3.4/ext/standard/exec.c:165: (Each 
undeclared identifier is reported only once 
/srv/ftp/www/php-4.3.4/ext/standard/exec.c:165: for each 
function it appears in.) 
/srv/ftp/www/php-4.3.4/ext/standard/exec.c:165: `SIG_DFL' 
undeclared (first use in this function) 
/srv/ftp/www/php-4.3.4/ext/standard/exec.c:165: warning: 
assignment makes pointer from integer without a cast 
/srv/ftp/www/php-4.3.4/ext/standard/exec.c:184: warning: 
assignment makes pointer from integer without a cast 
make: *** [ext/standard/exec.lo] Fehler 1 
 
and hav warnings at mcal, sockets, posix, hyperwave module 
like: 
 
In file included from /usr/include/asm/sigcontext.h:4, 
                 from /usr/include/bits/sigcontext.h:28, 
                 from /usr/include/signal.h:326, 
                 from /srv/ftp/www/php-4.3.4/ext/sockets/
sockets.c:56: 
/usr/include/linux/compiler.h:71: warning: 
`__attribute_used__' redefined 
/usr/include/sys/cdefs.h:195: warning: this is the 
location of the previous definition 
 
 

-- 
Edit bug report at http://bugs.php.net/?id=27159&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27159&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27159&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27159&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27159&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27159&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27159&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27159&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27159&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27159&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27159&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27159&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27159&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27159&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27159&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27159&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27159&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27159&r=float

Reply via email to