ID: 22574 Updated by: [EMAIL PROTECTED] Reported By: john345 at earthlink dot net -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: SCO OpenServer 5.0.6 PHP Version: 4.3.2-dev New Comment:
Okay, so in configure it's detected correctly, but during compile, it's somehow not found..check your config.log for this: "checking for getaddrinfo" And paste 2 lines before and after that line here. Previous Comments: ------------------------------------------------------------------------ [2003-03-11 16:33:14] john345 at earthlink dot net I copied from the last gcc to the end from the output of make. gcc -Imain/ -I/home/john/downloads/php/php4-STABLE-200303101630/main/ -DPHP_ATOM_INC -I/home/john/downloads/php/php4-STABLE-200303101630/include -I/home/john/downloads/php/php4-STABLE-200303101630/main -I/home/john/downloads/php/php4-STABLE-200303101630 -I/home/john/downloads/php/php4-STABLE-200303101630/Zend -I/home/john/downloads/php/php4-STABLE-200303101630/TSRM -g -O2 -c main/internal_functions.c -o main/internal_functions.o && echo > main/internal_functions.lo /bin/ksh /home/john/downloads/php/php4-STABLE-200303101630/libtool --silent --preserve-dup-deps --mode=link gcc -export-dynamic -g -O2 ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo main/internal_functions.lo -lm -lsocket -o sapi/cgi/php Undefined first referenced symbol in file freeaddrinfo main/network.o getaddrinfo main/network.o sapi/cgi/php: fatal error: Symbol referencing errors. No output written to sapi/cgi/php collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 ------------------------------------------------------------------------ [2003-03-10 09:21:29] [EMAIL PROTECTED] Get the latest stable snapshot first! ------------------------------------------------------------------------ [2003-03-10 09:20:56] [EMAIL PROTECTED] So the configure detects that your system has getaddrinfo() but during compile/link, it fails. Try this: # rm config.cache # ./configure --disable-all --disable-cli # make clean && make And if it fails, paste the last 20 lines of the output from 'make' here. Including the exact error. ------------------------------------------------------------------------ [2003-03-10 08:16:40] john345 at earthlink dot net My DUH. Sorry. This is the line from main/php_config.h. #define HAVE_GETADDRINFO 1 ------------------------------------------------------------------------ [2003-03-09 17:43:33] [EMAIL PROTECTED] rephrased: Search main/php_config.h for line with text HAVE_GETADDRINFO and add that line to this bug report. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22574 -- Edit this bug report at http://bugs.php.net/?id=22574&edit=1