Compiling 2.1.3 with drac support?
2006-02-02 by Hubertus A. Haniel
Has anybody managed to do this on a SuSE linux system? I am running SuSE 9.2 professional with db-4.2.52-90 (and the -devel package) and drac 1.12-2 and I am getting the following error during compile time: gcc -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -DUSE_DRAC -D_XOPEN_SOURCE=500 -DDRACDB=\"/etc/mail/dracd.db\" -D_BSD_SOURCE -c -o milter-greylist.o milter-greylist.c milter-greylist.c: In function `check_drac': milter-greylist.c:1269: warning: implicit declaration of function `dbopen' milter-greylist.c:1269: error: `O_SHLOCK' undeclared (first use in this function) milter-greylist.c:1269: error: (Each undeclared identifier is reported only once milter-greylist.c:1269: error: for each function it appears in.) milter-greylist.c:1269: warning: assignment makes pointer from integer without a cast milter-greylist.c:1277: warning: passing arg 2 of pointer to function from incompatible pointer type milter-greylist.c:1277: error: too few arguments to function milter-greylist.c:1278: error: too few arguments to function make: *** [milter-greylist.o] Error 1 If I don't compile dreac support in everything compiles fine. Regards Hubba