httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert E. Whale, CISSP" <>
Subject [users@httpd] Problems Compiling Apache 1.3.27 on Solaris 5.7
Date Tue, 01 Apr 2003 14:51:55 GMT
I am installing from Source on a Sun Solaris 2.7 Sun Sparc Server.  I
have to re-install in order to support the PHP Software for the

While compiling the software, I encounter the following errors:

gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=270 -DEAPI
`../../apaci` -fPIC -DSHARED_MODULE mod_auth_db.c && mv mod_auth_db.o
mod_auth_db.c: In function `get_db_pw':
mod_auth_db.c:175: warning: passing arg 2 of pointer to function from
incompatible pointer type
mod_auth_db.c:175: warning: passing arg 4 of pointer to function makes
pointer from integer without a cast
mod_auth_db.c:175: too few arguments to function
make[4]: *** [] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/share/src/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/share/src/apache_1.3.27'
make: *** [build] Error 2

The file mod_auth_db, lines 173-180 contain the following:

#if defined(DB3) || defined(DB4)
    if (   db_create(&f, NULL, 0) != 0
        || f->open(f, auth_dbpwfile, NULL, DB_HASH, DB_RDONLY, 0664) !=
0) {
#elif defined(DB2)
    if (db_open(auth_dbpwfile, DB_HASH, DB_RDONLY, 0664, NULL, NULL, &f)
!= 0) {#else
    if (!(f = dbopen(auth_dbpwfile, O_RDONLY, 0664, DB_HASH, NULL))) {

What should this clause be?

Albert E. Whale, CISSP
ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
Sr. Security, Network, and Systems Consultant
Founding Board of Directors of Pittsburgh FBI - InfraGard

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message