building PHP with cygwin - dies at fopencookie ???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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; }

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux