#28271 [NEW]: proc_open.c:753: error: `TIOCNOTTY' undeclared

From: Date: Tue, 04 May 2004 12:33:23 +0000
Subject: #28271 [NEW]: proc_open.c:753: error: `TIOCNOTTY' undeclared
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59202@lists.php.net to get a copy of this message
From: admin at iut-info dot ens dot univ-reims dot fr Operating system: HP-UX 11i PHP version: 5.0.0RC2 PHP Bug Type: Compile Failure Bug description: proc_open.c:753: error: `TIOCNOTTY' undeclared Description: ------------ On HP-UX 11i compilation of PHP-5.0.0RC failed (Ok until /php5-200403131230) ./configure \ --prefix=/opt/APACHE/php \ --without-sqlite \ --with-oci8 \ --with-apache=../apache_1.3.29 \ --with-gd \ --with-pdflib=/opt/pdflib \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr/local \ --with-tiff-dir=/usr/local \ --with-freetype-dir=/usr/local \ --with-zlib \ --with-bz2 \ --enable-sigchild \ --with-mysql=/opt/mysql \ --with-pgsql=/opt/pgsql \ --with-tsrm-pthreads \ --with-dom \ --with-libxml \ --with-xsl \ --enable-ftp \ --with-snmp=/usr/local \ --with-imap=/usr/local/imap \ --with-imap-ssl=/usr/local \ --with-openssl=/usr/local \ --enable-sockets Make failed with : gcc -Iext/standard/ -I/home/sys/install/php-5.0.0RC2/ext/standard/ -DPHP_ATOM_INC -I/home/sys/install/php-5.0.0RC2/include -I/home/sys/install/php-5.0.0RC2/main -I/home/sys/install/php-5.0.0RC2 -I/home/sys/install/php-5.0.0RC2/Zend -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/imap/include -I/opt/mysql/include/mysql -I/oracle/app/oracle/product/8.1.7/rdbms/public -I/oracle/app/oracle/product/8.1.7/rdbms/demo -I/opt/pdflib/include -I/opt/pgsql/include -I/home/sys/install/php-5.0.0RC2/TSRM -g -O2 -c /home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c -o ext/standard/proc_open.o && echo > ext/standard/proc_open.lo /home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c: In function `zif_proc_open': /home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c:753: error: `TIOCNOTTY' undeclared (first use in this function) /home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c:753: error: (Each undeclared identifier is reported only once /home/sys/install/php-5.0.0RC2/ext/standard/proc_open.c:753: error: for each function it appears in.) *** Error exit code 1 --------------------------------- Declaration of `TIOCNOTTY' is present in <sys/ioctl.h> ------------- Workaround -------------------- Adding this declaration in proc_open.c is a temporary solution (build successed). ------------------------------------------- Cordialy -- Edit bug report at http://bugs.php.net/?id=28271&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28271&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28271&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28271&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28271&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28271&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28271&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28271&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28271&r=support Expected behavior: http://bugs.php.net/fix.php?id=28271&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28271&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28271&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28271&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28271&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28271&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28271&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28271&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28271&r=float

« previous php.bugs (#59202) next »