php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8852 undefined reference to `compress'
Submitted: 2001-01-23 09:47 UTC Modified: 2001-04-10 09:50 UTC
From: artem at osp dot ru Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Linux 2.2.18
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: artem at osp dot ru
New email:
PHP Version: OS:

 

 [2001-01-23 09:47 UTC] artem at osp dot ru
Can't complile apache when use static php & mysql
There are like bug :5651

need  patch src/Makefile in apache
add -lz to end of LIBS1


<=== src/modules/php4
<=== src/modules
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DRUSSIAN_APACHE -DNO_DBM_REWRITEMAP
 -I/usr3/home/artem/download/php-4.0.4pl1 -I/usr3/home/artem/download/php-4.0.4p
l1/main -I/usr3/home/artem/download/php-4.0.4pl1/main -I/usr3/home/artem/downloa
d/php-4.0.4pl1/Zend -I/usr3/home/artem/download/php-4.0.4pl1/Zend -I/usr3/home/a
rtem/download/php-4.0.4pl1/TSRM -I/usr3/home/artem/download/php-4.0.4pl1/TSRM -I
/usr3/home/artem/download/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite `./apaci`
modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DRUSSIAN_APACHE -DNO_DBM_REWRITEMAP
 -I/usr3/home/artem/download/php-4.0.4pl1 -I/usr3/home/artem/download/php-4.0.4p
l1/main -I/usr3/home/artem/download/php-4.0.4pl1/main -I/usr3/home/artem/downloa
d/php-4.0.4pl1/Zend -I/usr3/home/artem/download/php-4.0.4pl1/Zend -I/usr3/home/a
rtem/download/php-4.0.4pl1/TSRM -I/usr3/home/artem/download/php-4.0.4pl1/TSRM -I
/usr3/home/artem/download/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite `./apaci`
buildmark.c
gcc  -DLINUX=2 -DRUSSIAN_APACHE -DNO_DBM_REWRITEMAP -I/usr3/home/artem/download/
php-4.0.4pl1 -I/usr3/home/artem/download/php-4.0.4pl1/main -I/usr3/home/artem/do
wnload/php-4.0.4pl1/main -I/usr3/home/artem/download/php-4.0.4pl1/Zend -I/usr3/h
ome/artem/download/php-4.0.4pl1/Zend -I/usr3/home/artem/download/php-4.0.4pl1/TS
RM -I/usr3/home/artem/download/php-4.0.4pl1/TSRM -I/usr3/home/artem/download/php
-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite `./apaci`   -rdynamic \
      -o httpd buildmark.o modules.o modules/extra/libextra.a modules/standard/l
ibstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
 lib/expat-lite/libexpat.a  -Wl,-rpath,/usr2/mysql/lib/mysql  -rdynamic -L/usr2/
mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4
 -lpam  -ldl -lmysqlclient -lresolv -lm -ldl -lcrypt -lnsl  -lresolv   -lm -lcry
pt -ldl
/usr2/mysql/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_uncompres
s':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/usr2/mysql/lib/mysql/libmysqlclient.a(my_compress.o): In function `my_compress_
alloc':
my_compress.o(.text+0x123): undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: ????? ?? ??????? `/usr3/home/artem/download/apache_1.3.12rusPL29.7/src'
make[1]: *** [build-std] Error 2
make[1]: ????? ?? ??????? `/usr3/home/artem/download/apache_1.3.12rusPL29.7'
make: *** [build] Error 2

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-03 20:08 UTC] sniper@php.net
Duplicate of #6981

 [2001-03-10 14:32 UTC] sniper@php.net
This should be fixed now. Please try the latest CVS snapshot from http://snaps.php.net/

--Jani

 [2001-04-10 09:50 UTC] sniper@php.net
No feedback. If this happens with soon to be released PHP 4.0.5 too, reopen this bug report.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 13:01:29 2025 UTC