php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28271 proc_open.c:753: error: `TIOCNOTTY' undeclared
Submitted: 2004-05-04 14:33 UTC Modified: 2004-05-04 15:07 UTC
From: admin at iut-info dot ens dot univ-reims dot fr Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.0RC2 OS: HP-UX 11i
Private report: No CVE-ID: None
 [2004-05-04 14:33 UTC] admin at iut-info dot ens dot univ-reims dot fr
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-04 15:07 UTC] admin at iut-info dot ens dot univ-reims dot fr
File is Ok in PHP5-200405041230
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 14:01:30 2024 UTC