building PHP with cygwin - dies at fopencookie ???
| From: | Jason Barnett | Date: | Sun, 22 Aug 2004 08:54:42 +0000 |
| Subject: | building PHP with cygwin - dies at fopencookie ??? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-24440@lists.php.net to get a copy of this message | ||
Hey guys I'm back! I actually have a problem of my own - I've tried (unsuccessfully) recently to build PHP5.0.0 from source, but no dice. I've read through the install instructions, but I just can't make heads or tails of my problem. I am probably missing something simple.
The last part of my config.log shows:
configure:15051: checking for fopencookie
configure:15079: gcc -o conftest -g -O2 conftest.c 1>&5
/cygdrive/c/DOCUME~1/JASBAR~1.BL-/LOCALS~1/Temp/ccW7W621.o(.text+0x16): In function `main':
/lib/php_source/configure:15073: undefined reference to `_fopencookie'
collect2: ld returned 1 exit status
configure: failed program was:
#line 15056 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char fopencookie(); below. */#include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */char fopencookie(); int main() { /* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_fopencookie) || defined (__stub___fopencookie)
choke me
#else
fopencookie();
#endif
; return 0; }