okay im trying to compile dbmail-cuurent on FreeBSD 5.1-current Alpha
and it fails with 

bauthmysql.o -L/usr/local/lib/mysql -lmysqlclient -lcrypt
imapcommands.o: In function `_ic_getquotaroot':
imapcommands.o(.text+0x7208): undefined reference to
`quota_get_quotaroot'
imapcommands.o(.text+0x720c): undefined reference to
`quota_get_quotaroot'
imapcommands.o(.text+0x7234): undefined reference to `quota_get_quota'
imapcommands.o(.text+0x7238): undefined reference to `quota_get_quota'
imapcommands.o(.text+0x7288): undefined reference to `quota_free'
imapcommands.o(.text+0x728c): undefined reference to `quota_free'
imapcommands.o: In function `_ic_getquota':
imapcommands.o(.text+0x7378): undefined reference to `quota_get_quota'
imapcommands.o(.text+0x737c): undefined reference to `quota_get_quota'
imapcommands.o(.text+0x73a8): undefined reference to `quota_free'
imapcommands.o(.text+0x73ac): undefined reference to `quota_free'
gmake: *** [imapd] Error 1

notice the same thing happens with dbmail-1.1

any help would be appreciated so i can migrate the mailserver
and update the version of dbmail im running

bash-2.05b# uname -a
FreeBSD axp.microbsd.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sun Jul 27
08:47:41 EDT 2003    
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  alpha
bash-2.05b#
bash-2.05b# cc -v
Using built-in specs.
Configured with: FreeBSD/alpha system compiler
Thread model: posix
gcc version 3.3.1 [FreeBSD] 20030711 (prerelease)
bash-2.05b#

bash-2.05b# gmake
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o mysql/dbmysql.o
mysql/dbmysql.c
mysql/dbmysql.c: In function `db_update_message_multiple':
mysql/dbmysql.c:723: warning: long unsigned int format, different type
arg (arg 5)
mysql/dbmysql.c: In function `db_imap_append_msg':
mysql/dbmysql.c:2497: warning: long unsigned int format, different type
arg (arg 5)
mysql/dbmysql.c: In function `db_copymsg':
mysql/dbmysql.c:3389: warning: long unsigned int format, different type
arg (arg 5)
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o dbmd5.o dbmd5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o md5.o md5.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o bounce.o bounce.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o forward.o forward.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o memblock.o memblock.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o mysql/dbauthmysql.o
mysql/dbauthmysql.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o config.o config.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o misc.o misc.c
misc.c: In function `itoa':
misc.c:50: warning: implicit declaration of function `malloc'
misc.c:50: warning: cast to pointer from integer of different size
cc      -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE main.c -o dbmail-smtp
list.o debug.o pipe.o mime.o mysql/dbmysql.o dbmd5.o md5.o bounce.o
forward.o memblock.o mysql/dbauthmysql.o config.o misc.o
-L/usr/local/lib/mysql -lmysqlclient -lcrypt
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o pop3.o pop3.c
pop3.c: In function `pop3_handle_connection':
pop3.c:108: warning: long unsigned int format, different type arg (arg
4)
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o serverchild.o
serverchild.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o server.o server.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE pop3d.c -o dbmail-pop3d pop3.o
list.o debug.o mysql/dbmysql.o serverchild.o server.o dbmd5.o md5.o
mime.o misc.o memblock.o mysql/dbauthmysql.o config.o
-L/usr/local/lib/mysql -lmysqlclient -lcrypt
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE maintenance.c -o
dbmail-maintenance debug.o list.o dbmd5.o md5.o mysql/dbmysql.o mime.o
memblock.o mysql/dbauthmysql.o config.o -L/usr/local/lib/mysql
-lmysqlclient -lcrypt
maintenance.c: In function `main':
maintenance.c:231: warning: long unsigned int format, different type arg
(arg 2)
maintenance.c:232: warning: long unsigned int format, different type arg
(arg 3)
maintenance.c:290: warning: long unsigned int format, different type arg
(arg 2)
maintenance.c:291: warning: long unsigned int format, different type arg
(arg 3)
maintenance.c:340: warning: long unsigned int format, different type arg
(arg 2)
maintenance.c:341: warning: long unsigned int format, different type arg
(arg 3)
maintenance.c:391: warning: long unsigned int format, different type arg
(arg 2)
maintenance.c:392: warning: long unsigned int format, different type arg
(arg 3)
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o imap4.o imap4.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o imaputil.o imaputil.c
imaputil.c: In function `quoted_string_out':
imaputil.c:2244: warning: int format, different type arg (arg 3)
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o imapcommands.o
imapcommands.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o rfcmsg.o rfcmsg.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o mysql/dbmsgbufmysql.o
mysql/dbmsgbufmysql.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE   -c -o mysql/dbsearchmysql.o
mysql/dbsearchmysql.c
cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE imapd.c -o dbmail-imapd
imap4.o debug.o mysql/dbmysql.o serverchild.o server.o config.o list.o
dbmd5.o md5.o imaputil.o imapcommands.o mime.o misc.o memblock.o
rfcmsg.o mysql/dbmsgbufmysql.o mysql/dbsearchmysql.o mysql/dbauthmysql.o
-L/usr/local/lib/mysql -lmysqlclient -lcrypt
imapcommands.o: In function `_ic_getquotaroot':
imapcommands.o(.text+0x7208): undefined reference to
`quota_get_quotaroot'
imapcommands.o(.text+0x720c): undefined reference to
`quota_get_quotaroot'
imapcommands.o(.text+0x7234): undefined reference to `quota_get_quota'
imapcommands.o(.text+0x7238): undefined reference to `quota_get_quota'
imapcommands.o(.text+0x7288): undefined reference to `quota_free'
imapcommands.o(.text+0x728c): undefined reference to `quota_free'
imapcommands.o: In function `_ic_getquota':
imapcommands.o(.text+0x7378): undefined reference to `quota_get_quota'
imapcommands.o(.text+0x737c): undefined reference to `quota_get_quota'
imapcommands.o(.text+0x73a8): undefined reference to `quota_free'
imapcommands.o(.text+0x73ac): undefined reference to `quota_free'
gmake: *** [imapd] Error 1


Reply via email to