From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.4-STABLE
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: fails to build with --enable-dio
roman@roman install/php/php-4.2.1 > cat config.nice
126:1 #! /bin/sh
#
# Created by configure
'./configure' \
'--enable-cli' \
'--without-mysql' \
'--disable-session' \
'--with-zlib' \
'--with-bz2' \
'--enable-dio' \
'--with-iconv' \
'--with-ncurses' \
'--with-readline' \
'--disable-session' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--disable-xml' \
"$@"
Making all in dio
gcc -I. -I/home/roman/install/php/php-4.2.1/ext/dio
-I/home/roman/install/php/php-4.2.1/main
-I/home/roman/install/php/php-4.2.1
-I/home/roman/install/php/php-4.2.1/Zend -I/usr/local/include
-I/home/roman/install/php/php-4.2.1/TSRM -g -O2 -c dio.c && touch dio.lo
dio.c: In function `zm_startup_dio':
dio.c:90: `O_SYNC' undeclared (first use in this function)
dio.c:90: (Each undeclared identifier is reported only once
dio.c:90: for each function it appears in.)
*** Error code 1
Stop in /home/roman/install/php/php-4.2.1/ext/dio.
*** Error code 1
Stop in /home/roman/install/php/php-4.2.1/ext/dio.
*** Error code 1
Stop in /home/roman/install/php/php-4.2.1/ext.
*** Error code 1
Stop in /home/roman/install/php/php-4.2.1.
--
Edit bug report at http://bugs.php.net/?id=17206&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17206&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17206&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17206&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17206&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17206&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17206&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17206&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17206&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17206&r=globals