ID:               27159
 Updated by:       [EMAIL PROTECTED]
 Reported By:      patrick dot laux at bessy dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: linux-SuSE 9.0
 PHP Version:      4.3.4
 New Comment:

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. 


Previous Comments:
------------------------------------------------------------------------

[2004-02-05 11:37:48] 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 
 
 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27159&edit=1

Reply via email to