php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5300 undefined referance to 'zend_error'
Submitted: 2000-07-01 08:00 UTC Modified: 2000-07-09 11:34 UTC
From: schooner at slip dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1 OS: Linux (RedHat 6.0)
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: schooner at slip dot net
New email:
PHP Version: OS:

 

 [2000-07-01 08:00 UTC] schooner at slip dot net
installed tar balls
   apache_1.3.12
   mysql-3.22.32
   php-4.0.1

I followed the steps in FAQ section 6.7 and got stuck.

./configure --prefix=/usr/local/apache \
            --enabled-shared=max \
            --activate-module=src/modules/php4/libphp4.a

Last line of compile is:
gcc -DLINUX=2 -I/usr/local/src/php-4.0.1 -I/usr/local/src/php-4.0.1/main -I/usr/local/src/php-4.0.1/main -I/usr/local/php-4.0.1/Zend -I/usr/local/src/php-4.0.1/Zend -I/usr/local/php-4.0.1 -DUSE_EXPAT -I./lib/expat-lite './apaci' -rdynamic \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat-lite.a -Wl,-rpath,/usr/local/mysql/lib/mysql -rdynamic -L/usr/local/mysql/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -ldl -lmysqlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt -ldl

Complete error message from gcc is:
modules/php4/libphp4.a(mod_php4.o)(.data+0x28): undefined referance to 'zend_error'

I hope this information is useful.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-09 11:34 UTC] schooner at slip dot net
Upgraded to php-4.0.1p12 and problem was solved
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 02:00:01 2026 UTC