I get an odd error when compiling squidGuard.  I had to change the -ldb to
-ldb2 in the configure script to make it recognize BerkeleyDB 2.6.4
(Debian), but now it's giving me an odd error that I don't get.

Here's the info:

make:
making all in src
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -g -O2 
-I/usr/local/BerkeleyDB/include -c sgDb.c
sgDb.c: In function `defined':
sgDb.c:112: too many arguments to function
make: *** [sgDb.o] Error 1

db.h:
        int (*cursor)   __P((DB *, DB_TXN *, DBC **, u_int32_t));

sgDb.c (line 112-115):
  if ((errno = Db->dbp->cursor(Db->dbp, NULL, &Db->dbcp, 0)) != 0) {
    sgLogFatalError("cursor: %s", strerror(errno));
    exit (1);
  }




-- 
"If you continue running Windows, your system may become unstable."
     -- Windows 95 BSOD

Dwayne C. Litzenberger - [EMAIL PROTECTED]

Please always Cc to me when replying to me on the lists.

Advertising Policy: http://www.redrival.com/dlitz/spamoff.html
GnuPG Public Key:   http://www.redrival.com/dlitz/gpgkey.asc
     Fingerprint:   0535 F7CF FF5F 8547 E5A5 695E 4456 FB6C BC39 A4B0

Attachment: pgpQRhwt1opMb.pgp
Description: PGP signature

Reply via email to