ID: 30358 User updated by: marek at lewczuk dot com Reported By: marek at lewczuk dot com -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: windows/cygwin PHP Version: 5.0.2 New Comment:
Fixed in latest CVS sources. Previous Comments: ------------------------------------------------------------------------ [2004-10-20 10:09:35] marek at lewczuk dot com Fixed in latest CVS sources. ------------------------------------------------------------------------ [2004-10-08 10:28:23] marek at lewczuk dot com Description: ------------ I want to use php5 on cygwin (latest version). Compilation is successful if "configure" was run without any additions (so php will work in cgi mode - no cli etc). But, I need to use php with apache - so php-cli will be compiled. My configure looks like this: ./configure --with-apxs2=/usr/local/apache2/bin/apxs Configure don't return any errors, but make fails on compiling sapi/cli/php.exe. Here is the result: ... internal_functions_cli.lo -lcrypt -lcrypt -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lcrypt -lxml2 -lz -liconv -lm -lcrypt -o sa pi/cli/php.exe main/internal_functions_cli.lo(.text+0x17): In function `php_startup_internal_ex tensions': /usr/src/php-5.0.2/main/internal_functions_cli.c:68: undefined reference to `_ph p_startup_extensions' main/internal_functions_cli.lo(.data+0x0):/usr/src/php-5.0.2/main/internal_funct ions_cli.c:67: undefined reference to `_xml_module_entry' main/internal_functions_cli.lo(.data+0x4):/usr/src/php-5.0.2/main/internal_funct ions_cli.c:67: undefined reference to `_tokenizer_module_entry' main/internal_functions_cli.lo(.data+0x8):/usr/src/php-5.0.2/main/internal_funct ions_cli.c:68: undefined reference to `_basic_functions_module' main/internal_functions_cli.lo(.data+0xc):/usr/src/php-5.0.2/main/internal_funct ions_cli.c:68: undefined reference to `_sqlite_module_entry' main/internal_functions_cli.lo(.data+0x10):/usr/src/php-5.0.2/main/internal_func tions_cli.c:68: undefined reference to `_spl_module_entry' main/internal_functions_cli.lo(.data+0x14):/usr/src/php-5.0.2/main/internal_func tions_cli.c:68: undefined reference to `_simplexml_module_entry' main/internal_functions_cli.lo(.data+0x18):/usr/src/php-5.0.2/main/internal_func tions_cli.c:68: undefined reference to `_session_module_entry' main/internal_functions_cli.lo(.data+0x1c):/usr/src/php-5.0.2/main/internal_func tions_cli.c:69: undefined reference to `_posix_module_entry' main/internal_functions_cli.lo(.data+0x20):/usr/src/php-5.0.2/main/internal_func tions_cli.c:69: undefined reference to `_pcre_module_entry' main/internal_functions_cli.lo(.data+0x28):/usr/src/php-5.0.2/main/internal_func tions_cli.c:69: undefined reference to `_dom_module_entry' main/internal_functions_cli.lo(.data+0x2c):/usr/src/php-5.0.2/main/internal_func tions_cli.c:69: undefined reference to `_ctype_module_entry' main/internal_functions_cli.lo(.data+0x30):/usr/src/php-5.0.2/main/internal_func tions_cli.c:69: undefined reference to `_libxml_module_entry' /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../libcygwin.a(libcmain.o)(.text+0x7 d): undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make: *** [sapi/cli/php.exe] Error 1 ... I don't know if this is php problem or cygwin... Reproduce code: --------------- ./configure --with-apxs2=/usr/local/apache2/bin/apxs make Expected result: ---------------- should compile Actual result: -------------- fails ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30358&edit=1
