php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #478 modules/extra/libextra.a: could not read symbols
Submitted: 1998-06-26 00:20 UTC Modified: 1998-06-26 01:54 UTC
From: boydbria at pilot dot msu dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0 Latest CVS OS: Redhat 5.0 Linux 2.0.31
Private report: No CVE-ID: None
 [1998-06-26 00:20 UTC] boydbria at pilot dot msu dot edu
I have followed compiling instructions from README.configure
in apache-1.3.0, and still am having problems with final stages of compile.  Here is what happens:

gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DUSE_HSREGEX `../../apaci`
mod_actions.c
gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DUSE_HSREGEX `../../apaci`
mod_userdir.c
gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DUSE_HSREGEX `../../apaci`
mod_alias.c
gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DUSE_HSREGEX `../../apaci`
mod_access.c
gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DUSE_HSREGEX `../../apaci`
mod_auth.c
gcc -c  -I../../os/unix -I../../include   -DLINUX=2 -DUSE_HSREGEX `../../apaci`
mod_setenvif.c
rm -f libstandard.a
ar cr libstandard.a mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o mod_
include.o mod_autoindex.o mod_dir.o mod_cgi.o mod_asis.o mod_imap.o mod_actions.
o mod_userdir.o mod_alias.o mod_access.o mod_auth.o mod_setenvif.o
ranlib libstandard.a
<=== src/modules/standard                                                      ===> src/modules/extra
rm -f libextra.a
ar cr libextra.a libphp3.a
ranlib libextra.a
<=== src/modules/extra
<=== src/modules
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DUSE_HSREGEX `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DUSE_HSREGEX `./apaci` buildmark.c
gcc  -DLINUX=2 -DUSE_HSREGEX `./apaci`    \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/extr
a/libextra.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a  -lm -
lcrypt
modules/extra/libextra.a: could not read symbols: Archive has no index; run ranl
ib to add one
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/local/apache_1.3.0/src'
make[1]: *** [build-std] Error 2                              make[1]: Leaving directory `/usr/local/apache_1.3.0'
make: *** [build] Error 2
[root@nic-c5-250 apache_1.3.0]# 
Here is my configure for apache..
When doing php3 it compiles pretty easily, still having troubles with getting to sync with apache.
./configure --prefix=/usr/local/apache_1.3.0 --activate-module=src/modules/extra/libphp3.a

Any help would be apreciated.

Thank you.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-06-26 01:54 UTC] rasmus
Please stop submitting these bug reports.  You are not following the instructions in README.configure at all.  Go find the section in that file that refers to PHP, please, and you will see that you should not be using --activate-module=src/modules/extra/libphp3.a at all.  Both the Apache and the PHP docs specifically say to use: --activate-module=src/modules/php3/libphp3.a

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC