www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Golder <ro...@cpd.co.uk>
Subject general/597: 'Undefined reference to __inet_ntoa' during compilation.
Date Mon, 19 May 1997 16:50:02 GMT

>Number:         597
>Category:       general
>Synopsis:       'Undefined reference to __inet_ntoa' during compilation.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Mon May 19 09:50:01 1997
>Originator:     rossg@cpd.co.uk
>Organization:
apache
>Release:        1.2b10
>Environment:
Linux esprit.cpd.co.uk 2.0.29 #2 Wed Mar 12 19:09:14 GMT 1997 i586
>Description:
gcc    -o httpd alloc.o http_main.o http_core.o http_config.o http_request.o http_log.o http_protocol.o
rfc1413.o util.o util_script.o modules.o buff.o md5c.o util_md5.o explain.o http_bprintf.o
util_date.o util_snprintf.o mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o mod_status.o
mod_info.o mod_include.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_headers.o mod_usertrack.o mod_browser.o regex/libregex.a
 
http_main.o: In function `default_server_hostnames':
http_main.o(.text+0x163c): undefined reference to `__inet_ntoa'
http_main.o: In function `new_connection':
http_main.o(.text+0x16ec): undefined reference to `__inet_ntoa'
http_main.o: In function `make_sock':
http_main.o(.text+0x1e8b): undefined reference to `__inet_ntoa'
http_config.o: In function `get_addresses':
http_config.o(.text+0x1365): undefined reference to `__inet_addr'
http_protocol.o: In function `check_fulluri':
http_protocol.o(.text+0xbe1): undefined reference to `__inet_ntoa'
util.o: In function `get_virthost_addr':
util.o(.text+0x1845): undefined reference to `__inet_addr'
make: *** [httpd] Error 1
 
>How-To-Repeat:
Hmmm. I imagine it's something wrong with my configuration, rather than a bug, but I have
a fairly ordinary configuration, so others may also have this problem.
>Fix:
It looks like it needs to link in the library that contains the '__inet' functions, but I
don't know what library it is
>Audit-Trail:
>Unformatted:



Mime
View raw message