You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Marc Slemko <ma...@znep.com> on 1997/09/13 01:10:24 UTC
Re: mod_auth-any/1128: make: Fatal error: Command failed for target `mod_auth_db.o' (fwd)
The following reply was made to PR mod_auth-any/1128; it has been noted by GNATS.
From: Marc Slemko <ma...@znep.com>
To: Apache bugs database <ap...@apache.org>
Subject: Re: mod_auth-any/1128: make: Fatal error: Command failed for target `mod_auth_db.o' (fwd)
Date: Fri, 12 Sep 1997 17:06:54 -0600 (MDT)
---------- Forwarded message ----------
Date: Fri, 12 Sep 1997 16:01:17 -0700 (PDT)
From: Bob Van Cleef <va...@microunity.com>
To: Marc Slemko <ma...@hyperreal.org>
Cc: apache-bugdb@apache.org, marc@apache.org
Subject: Re: mod_auth-any/1128: make: Fatal error: Command failed for target `mod_auth_db.o'
On Fri, 12 Sep 1997, Marc Slemko wrote:
> Synopsis: make: Fatal error: Command failed for target `mod_auth_db.o'
>
> State-Changed-From-To: open-closed
> State-Changed-By: marc
> State-Changed-When: Fri Sep 12 12:36:37 PDT 1997
> State-Changed-Why:
> You need to use the 1.85 compatability mode as described
> in the db man page. Apache does not use the 2.x calls,
> but the 1.85 ones. You may be able to make it work
> by replacing the include <db.h> with include <db_185.h>
> or you may need to take more effort.
Replacing the <db.h> entry in mod_auth_db.c with <db_185.h>
allowed the module to compile, but the failure moved onto the
linking stage... with the non-definition of db_open.
Done building module subdirectories
gcc -c -Iregex -O2 -DSUNOS4 -DUSEBCOPY -DSTATUS mod_auth_db.c
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 modules/proxy/libproxy.a
mod_alias.o mod_access.o mod_auth.o mod_auth_anon.o mod_auth_db.o
mod_auth_dbm.o mod_headers.o mod_usertrack.o mod_browser.o
regex/libregex.a -ldbm
collect2: ld returned 2 exit status
ld: Undefined symbol
_dbopen
*** Error code 1
make: Fatal error: Command failed for target `httpd'
Bob
><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><>
Bob Van Cleef, Member of Technical Staff (408) 734-8100
MicroUnity Systems Engineering, Inc. FAX (408) 734-8136
475 Potrero Ave., Sunnyvale, CA 94086 vancleef@microunity.com