ID:               38373
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbug at dodgeit dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Debian Sarge
 PHP Version:      4.4.3
 New Comment:

Can't reproduce with any GCC version from 3.3.1 to 3.4.5.
Unfortunately I don't have a Debian machine to test it.


Previous Comments:
------------------------------------------------------------------------

[2006-08-09 23:08:17] phpbug at dodgeit dot com

Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)

------------------------------------------------------------------------

[2006-08-09 08:35:10] [EMAIL PROTECTED]

What is the version of GCC ?
Please do not paste such huge text anymore.

------------------------------------------------------------------------

[2006-08-09 00:09:46] phpbug at dodgeit dot com

I've attempted to recompile multiple times (make clean, make, make
install), no change.

I'm using a stock Debian Sarge with the 2.6.8 kernel; no custom
modifications.

Have tried to build against Apache 2.2.2 as well as 1.3.7
(--with-apxs), the result is exactly the same in both cases.

I am able to build php 5 successfully against Apache 2.2.2, though, on
the same box.

I can provide other system information if needed; just let me know what
you need.


the command that fails is below (and more output).

/bin/sh /var/build/php-4.4.3/libtool --silent --preserve-dup-deps
--mode=link gcc -export-dynamic -g -O2
    regex/regcomp.lo regex/regexec.lo regex/regerror.lo
regex/regfree.lo ext/standard/array.lo ext/standa
rd/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_com
pat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo
ext/standard/head.lo ext/standard/html.lo ex
t/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo
ext/standard/lcg.lo ext/standard/link.lo ex
t/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo
ext/standard/metaphone.lo ext/standard/microt
ime.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/sca
nf.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/strnat
cmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo
ext/standard/url_scanner_ex.lo ext/st
andard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo
ext/standard/php_fopen_wrapper.lo ext/stan
dard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo
ext/standard/ftok.lo ext/standard/ag
gregation.lo ext/standard/sha1.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo
TSRM/tsrm_virtual_cwd.lo main/main.l
o main/snprintf.lo main/spprintf.lo main/php_sprintf.lo
main/safe_mode.lo main/fopen_wrappers.lo main/all
oca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo
main/php_content_types.lo main/stn/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/z
end_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 Z
end/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 Zen
d/zend_strtod.lo Zend/zend_execute.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo main/internal_functions_cli.
lo -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt  -o
sapi/cli/php
sapi/cli/php_cli.lo(.text+0x18): In function `print_module_info':
/var/build/php-4.4.3/sapi/cli/php_cli.c:124: undefined reference to
`php_printf'
sapi/cli/php_cli.lo(.text+0x91): In function `print_modules':
/var/build/php-4.4.3/sapi/cli/php_cli.c:142: undefined reference to
`zend_hash_init'
sapi/cli/php_cli.lo(.text+0xb2):/var/build/php-4.4.3/sapi/cli/php_cli.c:143:
undefined reference to `modu
le_registry'
sapi/cli/php_cli.lo(.text+0xbb):/var/build/php-4.4.3/sapi/cli/php_cli.c:143:
undefined reference to `zend
_hash_copy'
sapi/cli/php_cli.lo(.text+0xc5):/var/build/php-4.4.3/sapi/cli/php_cli.c:144:
undefined reference to `zend
_qsort'
sapi/cli/php_cli.lo(.text+0xdb):/var/build/php-4.4.3/sapi/cli/php_cli.c:144:
undefined reference to `zend
_hash_sort'
sapi/cli/php_cli.lo(.text+0xf2):/var/build/php-4.4.3/sapi/cli/php_cli.c:145:
undefined reference to `zend
_hash_apply_with_argument'
sapi/cli/php_cli.lo(.text+0xfa):/var/build/php-4.4.3/sapi/cli/php_cli.c:146:
undefined reference to `zend
_hash_destroy'
sapi/cli/php_cli.lo(.text+0x127): In function `print_extension_info':
/var/build/php-4.4.3/sapi/cli/php_cli.c:151: undefined reference to
`php_printf'
sapi/cli/php_cli.lo(.text+0x162): In function `print_extensions':
/var/build/php-4.4.3/sapi/cli/php_cli.c:166: undefined reference to
`zend_extensions'
sapi/cli/php_cli.lo(.text+0x179):/var/build/php-4.4.3/sapi/cli/php_cli.c:166:
undefined reference to `zen
d_llist_copy'
sapi/cli/php_cli.lo(.text+0x191):/var/build/php-4.4.3/sapi/cli/php_cli.c:168:
undefined reference to `zen
d_llist_sort'
sapi/cli/php_cli.lo(.text+0x1a8):/var/build/php-4.4.3/sapi/cli/php_cli.c:169:
undefined reference to `zen
d_llist_apply_with_argument'
sapi/cli/php_cli.lo(.text+0x1b0):/var/build/php-4.4.3/sapi/cli/php_cli.c:170:
undefined reference to `zen
d_llist_destroy'
sapi/cli/php_cli.lo(.text+0x225): In function `sapi_cli_ub_write':
/var/build/php-4.4.3/sapi/cli/php_cli.c:205: undefined reference to
`php_handle_aborted_connection'
sapi/cli/php_cli.lo(.text+0x281): In function
`sapi_cli_register_variables':
/var/build/php-4.4.3/sapi/cli/php_cli.c:233: undefined reference to
`php_import_environment_variables'
sapi/cli/php_cli.lo(.text+0x29a):/var/build/php-4.4.3/sapi/cli/php_cli.c:236:
undefined reference to `php
_register_variable'
sapi/cli/php_cli.lo(.text+0x2b3):/var/build/php-4.4.3/sapi/cli/php_cli.c:237:
undefined reference to `php
_register_variable'
sapi/cli/php_cli.lo(.text+0x2cc):/var/build/php-4.4.3/sapi/cli/php_cli.c:239:
undefined reference to `php
_register_variable'
sd_strndup'
sapi/cli/php_cli.lo(.text+0x805):/var/build/php-4.4.3/sapi/cli/php_cli.c:459:
undefined reference to `zen
d_register_constant'
sapi/cli/php_cli.lo(.text+0x80d):/var/build/php-4.4.3/sapi/cli/php_cli.c:461:
undefined reference to `_ef
ree'
sapi/cli/php_cli.lo(.text+0x815):/var/build/php-4.4.3/sapi/cli/php_cli.c:462:
undefined reference to `_ef
ree'
sapi/cli/php_cli.lo(.text+0x81d):/var/build/php-4.4.3/sapi/cli/php_cli.c:463:
undefined reference to `_ef
ree'
sapi/cli/php_cli.lo(.text+0x8e6): In function `cli_seek_file_begin':
/var/build/php-4.4.3/sapi/cli/php_cli.c:475: undefined reference to
`php_printf'
sapi/cli/php_cli.lo(.text+0x9aa): In function `main':
/var/build/php-4.4.3/sapi/cli/php_cli.c:548: undefined reference to
`sapi_startup'
sapi/cli/php_cli.lo(.text+0xa4a):/var/build/php-4.4.3/sapi/cli/php_cli.c:582:
undefined reference to `php
_module_startup'
sapi/cli/php_cli.lo(.text+0xa57):/var/build/php-4.4.3/sapi/cli/php_cli.c:593:
undefined reference to `exe
cutor_globals'
sapi/cli/php_cli.lo(.text+0xa6e):/var/build/php-4.4.3/sapi/cli/php_cli.c:593:
undefined reference to `exe
cutor_globals'
sapi/cli/php_cli.lo(.text+0xa7d):/var/build/php-4.4.3/sapi/cli/php_cli.c:593:
undefined reference to `exe
cutor_globals'
sapi/cli/php_cli.lo(.text+0xa8c):/var/build/php-4.4.3/sapi/cli/php_cli.c:880:
undefined reference to `exe
cutor_globals'
sapi/cli/php_cli.lo(.text+0xa9f):/var/build/php-4.4.3/sapi/cli/php_cli.c:880:
undefined reference to `exe
cutor_globals'
sapi/cli/php_cli.lo(.text+0xaac):/var/build/php-4.4.3/sapi/cli/php_cli.c:883:
undefined reference to `php
_request_shutdown'
sapi/cli/php_cli.lo(.text+0xabc):/var/build/php-4.4.3/sapi/cli/php_cli.c:885:
undefined reference to `exe
cutor_globals'
sapi/cli/php_cli.lo(.text+0xad1):/var/build/php-4.4.3/sapi/cli/php_cli.c:891:
undefined reference to `sap
i_shutdown'
sapi/cli/php_cli.lo(.text+0xae4):/var/build/php-4.4.3/sapi/cli/php_cli.c:889:
undefined reference to `php
_module_shutdown'
sapi/cli/php_cli.lo(.text+0xb06):/var/build/php-4.4.3/sapi/cli/php_cli.c:594:
undefined reference to `zen
d_llist_init'
sapi/cli/php_cli.lo(.text+0xb0c):/var/build/php-4.4.3/sapi/cli/php_cli.c:596:
undefined reference to `zen
d_uv'
sapi/cli/php_cli.lo(.text+0xb14):/var/build/php-4.4.3/sapi/cli/php_cli.c:598:
undefined reference to `exe
cutor_globals'
sapi/cli/php_cli.lo(.text+0xb1f):/var/build/php-4.4.3/sapi/cli/php_cli.c:597:
undefined reference to `com
piler_globals'
sapi/cli/php_cli.lo(.text+0xb79):/var/build/php-4.4.3/sapi/cli/php_cli.c:607:
undefined reference to `zen
d_alter_ini_entry'
sapi/cli/php_cli.lo(.text+0xbb2):/var/build/php-4.4.3/sapi/cli/php_cli.c:608:
undefined reference to `zen
d_alter_ini_entry'
sapi/cli/php_cli.lo(.text+0xbeb):/var/build/php-4.4.3/sapi/cli/php_cli.c:609:
undefined reference to `zen
d_alter_ini_entry'
sapi/cli/php_cli.lo(.text+0xc24):/var/build/php-4.4.3/sapi/cli/php_cli.c:610:
undefined reference to `zen
......
sapi/cli/php_cli.lo(.text+0x1220):/var/build/php-4.4.3/sapi/cli/php_cli.c:769:
undefined reference to `php_body_write'
sapi/cli/php_cli.lo(.text+0x25e): In function `sapi_cli_flush':
/var/build/php-4.4.3/sapi/cli/php_cli.c:221: undefined reference to
`php_handle_aborted_connection'
sapi/cli/php_cli.lo(.text+0x5fb): In function
`php_register_command_line_global_vars':
/var/build/php-4.4.3/sapi/cli/php_cli.c:414: undefined reference to
`_efree'
sapi/cli/php_cli.lo(.data+0x2c):/var/build/php-4.4.3/sapi/cli/php_cli.c:126:
undefined reference to `php_module_shutdown_wrapper'
sapi/cli/php_cli.lo(.data+0x48): In function `module_name_cmp':
/var/build/php-4.4.3/sapi/cli/php_cli.c:133: undefined reference to
`zend_error'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

------------------------------------------------------------------------

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/38373

-- 
Edit this bug report at http://bugs.php.net/?id=38373&edit=1

Reply via email to