#29873 [Csd]: PHP compilation failed under Cygwin with pcntl (source error?)
| From: | derick@php.net | Date: | Sat, 28 Aug 2004 12:21:16 +0000 |
| Subject: | #29873 [Csd]: PHP compilation failed under Cygwin with pcntl (source error?) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65380@lists.php.net to get a copy of this message | ||
ID: 29873
Updated by: derick@php.net
Reported By: tv2knet at gmail dot com
Status: Closed
Bug Type: Compile Failure
Operating System: Windows (Cygwin)
PHP Version: 5.0.1
New Comment:
I did not test this though, as I don't have cygwin!
Previous Comments:
------------------------------------------------------------------------
[2004-08-28 14:20:56] derick@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2004-08-28 03:42:17] tv2knet at gmail dot com
Description:
------------
PHP compiles fine under Cygwin (latest version) but when I add
--with-pcntl it fails.
I'm sure that compilation of pcntl under cygwin should work.
This is the errormsg during make:
ext/pcntl/pcntl.o(.data+0xf4): In function
`php_register_signal_constants':
/src/php-5.0.1/ext/pcntl/pcntl.c:102: undefined reference to
`_zif_pcntl_getpriority'
ext/pcntl/pcntl.o(.data+0x108):/src/php-5.0.1/ext/pcntl/pcntl.c:102:
undefined reference to `_zif_pcntl_setpriority'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php.exe] Error 1
Reproduce code:
---------------
./configure --with-pcntl
Expected result:
----------------
make works
Actual result:
--------------
Error on compilation
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29873&edit=1