httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert E. Whale, CISSP" <aewh...@ABS-CompTech.com>
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
platform.

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.lo
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]: *** [mod_auth_db.so] 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))) {
#endif


What should this clause be?



-- 
Albert E. Whale, CISSP
http://www.abs-comptech.com
----------------------------------------------------------------------
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message