Hi ulrich,

you can send your mail to the mailing list: dbmail@dbmail.org

From the make output it seems you have changed the makefile manually - what exactly is pgsql/libpgsqldbmail.a? It does not seem to exist on our systems. Furthermore you did not include all the appropriate library files on the make line - you should check IMAP_OBJECTS (or in fact every XX_OBJECTS variable) in makefile.concept as included in CVS.

hope this helps!

regards roel


Eelco van Beek - IC&S heeft op zondag, 2 feb 2003 om 21:35 (Europe/Amsterdam) het volgende geschreven:

huh? Dit vat ik niet?

Eelco

Begin forwarded message:

From: Ulrich Spoerlein <[EMAIL PROTECTED]>
Date: zon feb 2, 2003  21:31:48 Europe/Amsterdam
To: [EMAIL PROTECTED]
Subject: Compiling dbmail 1.0 impossible

Hi there,

I'm trying to make a "port" of dbmail for FreeBSD, but I'm stuck at
compiling dbmail successfully. I'm trying to get it working with posgresql support first. Sadly the Makefile is completely hosed and linking fails
several times because of unresolved symbols:
cc -O2 -pipe -march=pentium -o dbmail-imapd -lpq imap4.o debug.o list.o dbmd5.o md5.o imaputil.o imapcommands.o mime.o misc.o memblock.o rfcmsg.o imapd.o pgsql/libpgsqldbmail.a -L/usr/local/lib
imapd.o: In function `main':
imapd.o(.text+0xc9): undefined reference to `ReadConfig'
imapd.o(.text+0xe0): undefined reference to `ReadConfig'
imapd.o(.text+0xfc): undefined reference to `SetTraceLevel'
imapd.o(.text+0x11f): undefined reference to `GetDBParams'
imapd.o(.text+0x13c): undefined reference to `CreateSocket'
imapd.o(.text+0x1ba): undefined reference to `StartServer'
imapd.o: In function `SetConfigItems':
imapd.o(.text+0x3e4): undefined reference to `GetConfigValue'
imapd.o(.text+0x478): undefined reference to `GetConfigValue'
imapd.o(.text+0x510): undefined reference to `GetConfigValue'
imapd.o(.text+0x5b2): undefined reference to `GetConfigValue'
imapd.o(.text+0x64a): undefined reference to `GetConfigValue'
imapd.o(.text+0x6cf): more undefined references to `GetConfigValue' follow
gmake[1]: *** [dbmail-imapd] Error 1

cc -O2 -pipe -march=pentium -o dbmail-imapd -lpq imap4.o debug.o list.o dbmd5.o md5.o imaputil.o imapcommands.o mime.o misc.o memblock.o rfcmsg.o imapd.o config.o pgsql/libpgsqldbmail.a -L/usr/local/lib
imapd.o: In function `main':
imapd.o(.text+0x13c): undefined reference to `CreateSocket'
imapd.o(.text+0x1ba): undefined reference to `StartServer'
gmake[1]: *** [dbmail-imapd] Error 1

cc -O2 -pipe -march=pentium -o dbmail-maintenance -lpq debug.o list.o dbmd5.o md5.o mime.o memblock.o maintenance.o pgsql/libpgsqldbmail.a -L/usr/local/lib
maintenance.o: In function `main':
maintenance.o(.text+0x61): undefined reference to `ReadConfig'
maintenance.o(.text+0x6d): undefined reference to `SetTraceLevel'
maintenance.o(.text+0x8a): undefined reference to `GetDBParams'
gmake[1]: *** [dbmail-maintenance] Error 1


I was able to tweak the Makefile, so that it compiles farther, but right
now I'm stuck here:
cc -DPACKAGE=\"dbmail-smtp\" -DVERSION=\"1.0\" -I. -I. -O2 -pipe -march=pentium -c settings.c
settings.c: In function `main':
settings.c:61: warning: assignment makes pointer from integer without a cast cc -O2 -pipe -march=pentium -o dbmail-config -lpq list.o md5.o debug.o dbmd5.o mime.o memblock.o settings.o pgsql/libpgsqldbmail.a -L/usr/local/lib
settings.o: In function `main':
settings.o(.text+0xb9): undefined reference to `db_clear_config'
settings.o(.text+0x1b2): undefined reference to `db_insert_config_item'
gmake[1]: *** [dbmail-config] Error 1

I can't find 'db_clear_config' or 'db_insert_config_item' anywhere defined
in the Code, even Googling the Web only brought results from the
mailinglist archive.
So i'm curious as to the whereabouts of these functions. Are you willing to help me make a Port for FreeBSD, so thousands of people can easily use your
software?

_________________________
E.J.A. van Beek
ICT Manager
IC&S
T: +31 30 2322878
F: +31 30 2322305

PGP-key:
www.ic-s.nl/keys/eelco.txt


Met vriendelijke groet,


Roel Rozendaal


_________________________
R.A. Rozendaal
ICT Manager
IC&S
T: +31 30 2322878
F: +31 30 2322305
www.ic-s.nl

Reply via email to