You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Fabien Coelho <co...@cri.ensmp.fr> on 1999/09/27 09:03:16 UTC
os-solaris/5069: Apache does not compile on one intel solaris 2.7 machine : mine;-)
>Number: 5069
>Category: os-solaris
>Synopsis: Apache does not compile on one intel solaris 2.7 machine : mine;-)
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Sep 27 00:10:01 PDT 1999
>Last-Modified:
>Originator: coelho@cri.ensmp.fr
>Organization:
apache
>Release: 1.3.9
>Environment:
SunOS palo-alto.ensmp.fr 5.7 Generic_106542-04 i86pc i386
gcc version 2.8.1
>Description:
the httpd link fails because it cannot find the __inet_ntoa function.
> nm src/main/http_main.o | grep ntoa
U __inet_ntoa
> nm /usr/lib/libnsl.a | grep ntoa
U inet_ntoa
U inet_ntoa
U inet_ntoa_r
inet_ntoa.o:
00000030 T inet_ntoa
00000000 T inet_ntoa_r
humm the symbols don't look the same...
>How-To-Repeat:
tar xzf apache_1.3.9.tar.gz
cd apache_1.3.9
./configure
make
[...]
gcc -DSOLARIS2=270 -DUSE_EXPAT -I./lib/expat-lite `./apaci` \
-o httpd buildmark.o modules.o modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.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
>Fix:
not at the time!
maybe it's my fault, but I don't know...
>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! ]