php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1564 Linking error while making apache
Submitted: 1999-06-18 07:01 UTC Modified: 1999-06-19 09:51 UTC
From: christian at gay-web dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.9 OS: Linux-2.2.7 (based on SuSE 6.1 -
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: christian at gay-web dot de
New email:
PHP Version: OS:

 

 [1999-06-18 07:01 UTC] christian at gay-web dot de
I want to compile the apache-1.3.6 with php 3.0.9, php as a module
Compiling apache alone OK, PHP alone OK, apache with PHP-mod OK,
but last step (=linking all to httpd) fails with following report :

<=== modules
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DUSE_HSREGEX  modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DUSE_HSREGEX  buildmark.c
gcc  -DLINUX=2 -DUSE_HSREGEX     \
      -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  -lm -lcrypt -lndbm
modules.o(.data+0x5c): undefined reference to `modphp3_module'
modules.o(.data+0xc0): undefined reference to `modphp3_module'
collect2: ld returned 1 exit status
make: *** [target_static] Error 1


Any idea ? 

I try compiling on different machines, but everytime the same.
It looks like a PHP-specific error with this version.... 3.0.7. works fine!

Regards
Christian

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-19 05:19 UTC] rasmus at cvs dot php dot net
You mis-typed somewhere along the way.  Probably on your Apache ./configure line.
modphp3_module must be something you typed somehow.  Follow the installation
instructions *exactly* and it will work.
 [1999-06-19 09:51 UTC] christian at gay-web dot de
Yes, you're right... shame over me!!

But there are some compile-warning in the new PCRE-Module...
Hope that there are no risks to use the apache-daemon....

Many Thanks!!
Christian
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 14:00:02 2026 UTC