I'm getting a different error on 10.4.2 with 2.0.4.  MySQL 4.1.12.

./configure --with-mysql
make all

sort.c:68: error: conflicting types for 'sort_and_deliver'
../sort.h:59: error: previous declaration of 'sort_and_deliver' was here

I tried getting around that by changing sort.c. It appeared everything calling sort_and_deliver was expecting sort_result_t as the return type, not dsn_class_t.

It got past that, but a new problem popped up:

ld: common symbols not allowed with MH_DYLIB output format with the -multii_module option /usr/local/mysql/lib/libmysqlclient.a(charset.o) definition of common _all_charsets (size 1024) /usr/local/mysql/lib/libmysqlclient.a(my_error.o) definition of common _errbuff (size 512)
/usr/bin/libtool: internal link edit command failed

I gave up and tried 2.0.3, but I get the same error (MY_DYLIB, not the sort.c one).

So, I tried ./configure --with-mysql --enable-shared=no  on 2.0.4
Then I got the dm_getopt error.

I guess next I'll try upgrading MySQL to 4.1.13...

Jim Youll wrote:

Hi.

i see in the archive that there was a problem with builds related to dm_getopt, and that it's been fixed for (according to the bug tracker) some (most?) BSD... but i can't build on OS/X.

Does anyone have a workaround to successfully make dbmail 2.0.4 on OS/X (10.3.9)?

---------

# ./configure --with-pgsql

# make
[ ... ]

gcc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -c pop3d.c
In file included from misc.h:32,
                 from pop3d.c:41:
/usr/include/unistd.h:183: error: conflicting types for `dm_getopt'
dm_getopt.h:66: error: previous declaration of `dm_getopt'
make[2]: *** [pop3d.o] Error 1

Reply via email to