php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27159 Earnings for signal handler and Error in error.c
Submitted: 2004-02-05 11:37 UTC Modified: 2004-02-10 17:57 UTC
From: patrick dot laux at bessy dot de Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.3.4 OS: linux-SuSE 9.0
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-02-05 11:37 UTC] patrick dot laux at bessy dot de
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 
 
 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-05 21:50 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Sounds like a problem with your system headers. Both 
SIGCHLD and SIG_DFL should be defined by your signal.h 
header. 
 [2004-02-10 17:57 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 09:01:31 2024 UTC