php.net |  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
Votes:1
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:
 [2004-08-28 03:42 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-28 14:20 UTC] 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 14:21 UTC] derick@php.net
I did not test this though, as I don't have cygwin!
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 09:02:28 2014 UTC