You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Ashley Krosunger <ak...@hrl.wvu.edu> on 2001/06/05 17:45:31 UTC
os-solaris/7823: Compilation failure from undefined symbols
>Number: 7823
>Category: os-solaris
>Synopsis: Compilation failure from undefined symbols
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: support
>Submitter-Id: apache
>Arrival-Date: Tue Jun 05 08:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: akrosung@hrl.wvu.edu
>Release: 1.3.19
>Organization:
apache
>Environment:
Ultra Sparc 10,SunOS 5.6, Generic_105181-16, Solaris 2.6, Bind 9, gcc-2.95.3, perl-5.6, make-3.76.1
>Description:
Compilation fails on "make" with base configuration, module so enabled and/or libphp4 activated.
If libphp4 is activated, the below inet_* symbols are listed as being undefined in libphp4.a, otherwise, the error is the same.
--snip--
<=== src/modules/standard
<=== src/modules
gcc -c -I./os/unix -I./include -DSOLARIS2=260 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` modules.c
gcc -c -I./os/unix -I./include -DSOLARIS2=260 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` buildmark.c
gcc -DSOLARIS2=260 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` \
-o httpd buildmark.o modules.o modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libex
pat.a -lsocket -lnsl
Undefined first referenced
symbol in file
__inet_addr modules/standard/libstandard.a(mod_access.o)
__inet_ntoa main/libmain.a(http_main.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/export/orion/home0/install/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/export/orion/home0/install/apache_1.3.19'
make: *** [build] Error 2
>How-To-Repeat:
Solaris 2.6, Bind 9, gcc-2.95.3, perl-5.6, make-3.76.1
./configure
make
./configure --enable-module=so
make
after following php 4 instructions:
./configure --enable-module=so --activate-module=src/modules/php4/libphp4.a
make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]