|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29873 PHP compilation failed under Cygwin with pcntl (source error?)
Submitted: 2004-08-28 03:42 UTC Modified: 2004-08-28 14:21 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: tv2knet at gmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.1 OS: Windows (Cygwin)
Private report: No CVE-ID: None
 [2004-08-28 03:42 UTC] tv2knet at gmail dot com
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-28 14:20 UTC]
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
Thank you for the report, and for helping us make PHP better.
 [2004-08-28 14:21 UTC]
I did not test this though, as I don't have cygwin!
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Feb 28 07:01:28 2024 UTC