[milters] Archive

Lists Index Date Thread Search

Article: 416
From: Aaron Berg
Date: 2005-03-30 18:47:11 -0500
Subject: lib snert compile error gcc 3.3.5

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support

Using gcc 3.3, Berkeley db 4.2, and sendmail 8.13. I ran ./configure 
distclean first. Then a straight ./configure and make. On make the 
following error occured.

Cache.c: In function `CacheBdbOpen':
Cache.c:330: error: `DBTXN' undeclared (first use in this function)
Cache.c:330: error: (Each undeclared identifier is reported only once
Cache.c:330: error: for each function it appears in.)
Cache.c:330: error: parse error before "name"
make[1]: *** [Cache.o] Error 1
make[1]: Leaving directory `/usr/src/com/snert/src/lib/util'
make: *** [build] Error 1

Failing on this line:
rc = db->open(db, DBTXN name, (const char *) 0, DB_HASH, 

This is on a fresh debian Sarge built box. Has anyone else seen this 
type of error? Thanks for any help anyone can provide.

Aaron Berg
VoyageurWeb Engineering
209 South Second St., Suite 314
P.O. Box 205 Mankato, MN 56002-0205
(507) 344-2280

Lists Index Date Thread Search