php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2030 Got this error in doing a make, by following your step by step guide
Submitted: 1999-08-11 05:33 UTC Modified: 1999-08-11 11:13 UTC
From: nick at fdd dot co dot uk Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.12 OS: RedHat 5.2
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nick at fdd dot co dot uk
New email:
PHP Version: OS:

 

 [1999-08-11 05:33 UTC] nick at fdd dot co dot uk
This is php4 goto this error following your install instructions

      -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a  -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -L/usr/src/php-4.0b2/ext/pcre/pcrelib -lpcre -L/usr/src/php-4.0b2/regex -lregex  -lgdbm     -lpam -ldl -lgd -lm -lcrypt -lnsl  -lresolv -rdynamic  -lm -lcrypt
main/libmain.a(http_main.o): In function `main':
http_main.o(.text+0x3db8): multiple definition of `main'
modules/php4/libphp4.a(cgi_main.o):/usr/src/php-4.0b2/cgi_main.c:197: first defined here
ld: Warning: size of symbol `main' changed from 1399 to 1614 in http_main.o
modules/php4/libphp4.a(mod_php4.o): In function `send_php':
mod_php4.o(.text+0x63c): undefined reference to `apache_php_module_main'
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.6/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.6'
make: *** [build] Error 2
[root@fddox-wf01 apache_1.3.6]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
gcc version 2.7.2.3
[root@fddox-wf01 apache_1.3.6]# 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-11 11:13 UTC] rasmus at cvs dot php dot net
Your apxs script is broken.  Wait for the next release of
Apache and upgrade.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 22:01:28 2024 UTC