What happened with dbmail-config in dbmail-1.1?

Makefile
all: smtp pop3d maintenance imapd user // (but no "config")

config: $(CONFIG_OBJECTS) settings.c
        $(CC) $(CFLAGS) settings.c -o dbmail-config $(CONFIG_OBJECTS) $(DIRS) 
$(LIB)

Okay, lets try to compile it separately:

Box #1
su-2.05a# make config
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE settings.c -o dbmail-config 
mysql/dbmysql.o list.o md5.o debug.o dbmd5.o mime.o memblock.o 
mysql/dbauthmysql.o config.o -L/usr/local/lib/mysql/ 
-I/usr/local/include/mysql/ -lmysqlclient -lcrypto
settings.c: In function `main':
settings.c:39: warning: implicit declaration of function `auth_connect'
settings.c:56: warning: implicit declaration of function `db_clear_config'
settings.c:67: warning: implicit declaration of function `strchr'
settings.c:67: warning: assignment makes pointer from integer without a cast
settings.c:77: warning: implicit declaration of function `db_insert_config_item'
/tmp/ccFXLzBJ.o: In function `main':
/tmp/ccFXLzBJ.o(.text+0xd4): undefined reference to `db_clear_config'
/tmp/ccFXLzBJ.o(.text+0x15e): undefined reference to `db_insert_config_item'
*** Error code 1

Stop in /root/soft/mail/cvs/dbmail.

Box #2
su-2.05b# make config
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE settings.c -o dbmail-config 
mysql/dbmysql.o list.o md5.o debug.o dbmd5.o mime.o memblock.o 
mysql/dbauthmysql.o config.o -L/usr/local/lib/mysql/ 
-I/usr/local/include/mysql/ -lmysqlclient -lcrypto
settings.c: In function `main':
settings.c:39: warning: implicit declaration of function `auth_connect'
settings.c:56: undefined or invalid # directive
settings.c:67: warning: implicit declaration of function `strchr'
settings.c:67: warning: assignment makes pointer from integer without a cast
settings.c:77: warning: implicit declaration of function `db_insert_config_item'
*** Error code 1

Stop in /root/soft/dbmail-1.1.

So, make config fails every time on several FreeBSD 4.7-RELEASE boxes and
I cannot put /etc/dbmail.conf to dbmail database and make it works.
Are there any alternative ways to put config to database?

-- 
Wbr
Dmitry Kozhevnikov //  Chita.RU // Agatelecom Ltd.
system administrator // mailto:[EMAIL PROTECTED] // UIN 123400035

Reply via email to