From:             tv2knet at gmail dot com
Operating system: Windows (Cygwin)
PHP version:      5.0.1
PHP Bug Type:     Compile Failure
Bug description:  PHP compilation failed under Cygwin with pcntl (source error?)

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 bug report at http://bugs.php.net/?id=29873&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29873&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29873&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29873&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29873&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29873&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29873&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29873&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29873&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29873&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29873&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29873&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29873&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29873&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29873&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29873&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29873&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29873&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29873&r=float

Reply via email to