php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #575 Compilation of Apache 1.3.1 with PHP as a module fails.
Submitted: 1998-07-23 09:29 UTC Modified: 1998-07-23 10:49 UTC
From: rob at zeus dot hud dot ac dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.2a OS: SPARC Solaris 2.6
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: rob at zeus dot hud dot ac dot uk
New email:
PHP Version: OS:

 

 [1998-07-23 09:29 UTC] rob at zeus dot hud dot ac dot uk
I'm compiling PHP3.0.2a as an Apache 1.3.1 module on Solaris 2.5.1 using gcc 2.7.2. I'm an old hand with PHP, so I prefer to use the ./setup script to configure things. Everything seems fine in the PHP build, but when I ./Configure and try to make Apache, compilation fails with

<=== src/modules
gcc -c  -I./os/unix -I./include   -DSOLARIS2=251 -DUSE_HSREGEX -DSERVER_SUBVERSION=\"PHP/3.0.2a\" `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DSOLARIS2=251 -DUSE_HSREGEX -DSERVER_SUBVERSION=\"PHP/3.0.2a\" `./apaci` buildmark.c
gcc  -DSOLARIS2=251 -DUSE_HSREGEX -DSERVER_SUBVERSION=\"PHP/3.0.2a\" `./apaci`    \
      -o httpd buildmark.o modules.o  modules/standard/libstandard.a  modules/php3/libphp3.a  main/libmain.a  ./os/unix/libos.a  ap/libap.a regex/libregex.a  -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3            -L/spare/msql/lib -lmsql         -L/spare/gd/lib -lgd    -lm -ldl -lnsl -lsocket  -lresolv  -lsocket -lnsl
Undefined			first referenced
 symbol  			    in file
charset_vbprintf                    modules/php3/libphp3.a(main.o)
ld: fatal: Symbol referencing errors. No output written to httpd
*** Error code 1
make: Fatal error: Command failed for target `target_static'
Current working directory /spare/apache/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /spare/apache
*** Error code 1
make: Fatal error: Command failed for target `build'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-23 10:49 UTC] rasmus
Known bug in setup.  Fixed in CVS.  Edit your do-conf file and remove the "--with-mod_charset=no" and then type: ./do-conf
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 06:00:01 2026 UTC