Hi all. This is my first encounter with dbmail and its community. I'm looking 
foward to working with both.

I hope to be able to ulimately replace UW Imapd with dbmail. But first of all 
it should run. I downloaded the sources and now try to compile. I get some 
unresolved references I cannot explain. It looks like some scalars, defined in 
db.h, won't stick. The output from make is below. Can anyone get me going 
again? I work with Linux 2.4.19. Gcc is version 3.2. Mysql  Ver 11.18 Distrib 
3.23.53a.

Also I cannot quite place all instructions in the INSTALL file. They look as if 
they apply to an older version.

Regards, Jan Klaverstijn


Making all in mysql
make[1]: Entering directory `/disk2/home/jan/rpms/dbmail/mysql'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/disk2/home/jan/rpms/dbmail/mysql'
Making all in pgsql
make[1]: Entering directory `/disk2/home/jan/rpms/dbmail/pgsql'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/disk2/home/jan/rpms/dbmail/pgsql'
Making all in .
make[1]: Entering directory `/disk2/home/jan/rpms/dbmail'
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c list.c
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c debug.c
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c dbmd5.c
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c md5.c
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c mime.c
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c main.c
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c pipe.c
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c bounce.c
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c 
forward.c
gcc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\"  -I. -I.      -g -O2 -c 
memblock.c
gcc  -g -O2  -o dbmail-smtp  list.o debug.o dbmd5.o md5.o mime.o main.o pipe.o 
bounce.o forward.o memblock.o  
main.o: In function `main':
/home/jan/rpms/dbmail/main.c:53: undefined reference to `db_connect'
/home/jan/rpms/dbmail/main.c:56: undefined reference to `auth_connect'
/home/jan/rpms/dbmail/main.c:192: undefined reference to `db_disconnect'
/home/jan/rpms/dbmail/main.c:193: undefined reference to `auth_disconnect'
/home/jan/rpms/dbmail/main.c:58: undefined reference to `db_disconnect'
pipe.o: In function `insert_messages':
/home/jan/rpms/dbmail/pipe.c:183: undefined reference to `auth_check_user'
/home/jan/rpms/dbmail/pipe.c:355: undefined reference to 
`db_insert_message_block'
/home/jan/rpms/dbmail/pipe.c:385: undefined reference to `db_update_message'
/home/jan/rpms/dbmail/pipe.c:389: undefined reference to `db_check_sizelimit'
/home/jan/rpms/dbmail/pipe.c:400: undefined reference to `auth_get_userid'
/home/jan/rpms/dbmail/pipe.c:290: undefined reference to `db_insert_message'
/home/jan/rpms/dbmail/pipe.c:299: undefined reference to 
`db_insert_message_block'
/home/jan/rpms/dbmail/pipe.c:206: undefined reference to `auth_check_user'
/home/jan/rpms/dbmail/pipe.c:224: undefined reference to `auth_user_exists'
bounce.o: In function `bounce':
/home/jan/rpms/dbmail/bounce.c:27: undefined reference to `db_get_config_item'
/home/jan/rpms/dbmail/bounce.c:28: undefined reference to `db_get_config_item'
/home/jan/rpms/dbmail/bounce.c:30: undefined reference to `db_get_config_item'
forward.o: In function `pipe_forward':
/home/jan/rpms/dbmail/forward.c:42: undefined reference to `db_get_config_item'
/home/jan/rpms/dbmail/forward.c:167: undefined reference to 
`db_send_message_lines'
/home/jan/rpms/dbmail/forward.c:214: undefined reference to 
`db_send_message_lines'
collect2: ld returned 1 exit status
make[1]: *** [dbmail-smtp] Error 1
make[1]: Leaving directory `/disk2/home/jan/rpms/dbmail'
make: *** [all-recursive] Error 1

Reply via email to