PHP compilation failed under Cygwin with pcntl (source error?)
| 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 |
|
||||||||||
| 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
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
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2004-08-28 14:20 UTC] derick@php.net
[2004-08-28 14:21 UTC] derick@php.net