From:             [EMAIL PROTECTED]
Operating system: RedHat 7.2 (kernel 2.4.19)
PHP version:      4CVS-2002-10-18
PHP Bug Type:     Compile Failure
Bug description:  compile zlib and pcre as shared fails

I've tried to complile additional modules for as shared with the latest
snap (18.10.2002) http://snaps.php.net/php4-latest.tar.gz and the
operation failed - the same with php version 4.2.3 produces all chosen
modules without any problems
here's what I've done:

./configure --with-apache=/usr/src/apache_1.3.27 --with-mysql=shared,/usr
--enable-dba=shared --with-db3=/usr --with-gd=shared
--with-zlib=shared,/usr --with-pcre-regex=shared --with-curl=shared,/usr
--enable-bcmath=shared --enable-posix=shared  --enable-calendar=shared
--enable-ctype=shared --enable-filepro=shared  --enable-shmop=shared 
--enable-sysvsem=shared  --enable-sysvshm=shared --with-xml=shared 
--enable-wddx=shared  --with-domxml=shared,/usr --enable-ftp=shared 
--enable-sockets=shared   --enable-yp=shared  --enable-dbase=shared 
--enable-exif=shared

and then:
make

and I've got this error:
ext/standard/image.o: In function `php_handle_swc':
/usr/src/php-4.3.0-021018/ext/standard/image.c:222: undefined reference to
`uncompress'
/usr/src/php-4.3.0-021018/ext/standard/image.c:242: undefined reference to
`uncompress'
ext/standard/aggregation.o: In function `aggregate_methods':
/usr/src/php-4.3.0-021018/ext/standard/aggregation.c:103: undefined
reference to `pcre_get_compiled_regex'
/usr/src/php-4.3.0-021018/ext/standard/aggregation.c:126: undefined
reference to `php_pcre_exec'
ext/standard/aggregation.o: In function `aggregate_properties':
/usr/src/php-4.3.0-021018/ext/standard/aggregation.c:209: undefined
reference to `pcre_get_compiled_regex'
/usr/src/php-4.3.0-021018/ext/standard/aggregation.c:232: undefined
reference to `php_pcre_exec'
main/SAPI.o: In function `sapi_header_op':
/usr/src/php-4.3.0-021018/main/SAPI.c:519: undefined reference to
`zlib_globals'
main/SAPI.o: In function `sapi_send_headers':
/usr/src/php-4.3.0-021018/main/SAPI.c:668: undefined reference to
`zlib_globals'
/usr/src/php-4.3.0-021018/main/SAPI.c:669: undefined reference to
`zlib_globals'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


without options:
--with-zlib=shared,/usr --with-pcre-regex=shared 
the whole thing compiles fine
-- 
Edit bug report at http://bugs.php.net/?id=19973&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19973&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19973&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19973&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19973&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19973&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19973&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19973&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19973&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19973&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19973&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19973&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19973&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=19973&r=isapi

Reply via email to