ID:               19973
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: RedHat 7.2 (kernel 2.4.19)
 PHP Version:      4CVS-2002-10-18
 New Comment:

Same thing on Mandrake 9.0


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

[2002-10-18 05:37:21] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=19973&edit=1

Reply via email to