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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 09:01:29 2024 UTC