Firstly, that looks like the wrong linker. You will need to create a unique
path for the DbMail build terminal session that gives oprecedence to your
GNU tools, automake, autoconf, libtool, GCC, ld etc.
2) Wrong version DbMail. You will *not* get 2.1.1-Unstable working on
Solaris.
3) *IF* you have a full GNU set of tools, you might be able to build DbMail
2.0.4 on Solaris 9, but it will be a fight. The big issue will be the linker
and the libs. I can't remember (long ago now) how I pulled it all together
but for sure, after running config (make sure you have bash installed) I had
to edit the LDFLAGS in config.status and run ./config.status or bash
config.status to fix all the Makefiles.
Probably the best thing to do is to run configure and then read
config.status and you will see where the flags are wrong and fix them to
match your system.
You will need a bit of patience as DbMail is totally GNU and Solaris is
totally *NOT* GNU in a manner of speaking :o)
Good luck.
best...
Mike
----- Original Message -----
From: "Mohammad Salaque" <***@gmail.com>
To: "DBMail mailinglist" <***@dbmail.org>
Sent: Saturday, July 09, 2005 11:24 PM
Subject: Re: [Dbmail] Compile error in Solaris 9
i fixd that problem now getting
gcc -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/local/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith
-Wstrict-prototypes -o .libs/dbmail-smtp main.o -L/usr/local/lib
../.libs/libdbmail.a
/export/home/admin/dbmail-2.1.1/mysql/.libs/libsqldbmail.so
-L/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql/libmysqlclient.so -lz -lposix4 -lcrypt
-lgen -lsocket -lm /usr/local/lib/libgmime-2.0.so -lnsl -lgobject-2.0
-lglib-2.0 -R/usr/local/lib/dbmail -R/usr/local/mysql/lib/mysql
-R/usr/local/lib
Undefined first referenced
symbol in file
strcasestr ./.libs/libdbmail.a(pipe.o)
g_mime_shutdown main.o
inet_aton ./.libs/libdbmail.a(dm_cidr.o)
g_str_has_suffix ./.libs/libdbmail.a(misc.o)
ld: fatal: Symbol referencing errors. No output written to .libs/dbmail-smtp
collect2: ld returned 1 exit status
make[2]: *** [dbmail-smtp] Error 1
make[2]: Leaving directory `/export/home/admin/dbmail-2.1.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/admin/dbmail-2.1.1'
make: *** [all-recursive-am] Error 2
Post by Mohammad Salaquehello ppl. if anyone could help me i could migrate my full system to
DBmail. and I like to .
Post by Mohammad Salaquei have download dmail-2.1.1 and trying to in install that in my
Solaris. getting follwiong error.
gcc -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/local/include/gmime-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith
-Wstrict-prototypes -o .libs/dbmail-smtp main.o -L/usr/local/lib
./.libs/libdbmail.a
/export/home/admin/dbmail-2.1.1/mysql/.libs/libsqldbmail.so
-L/usr/local/mysql/lib/mysql
/usr/local/mysql/lib/mysql/libmysqlclient.so -lz -lposix4 -lcrypt
-lgen -lsocket -lm /usr/local/lib/libgmime-2.0.so -lnsl -lgobject-2.0
-lglib-2.0 -R/usr/local/lib/dbmail -R/usr/local/mysql/lib/mysql
-R/usr/local/lib
Undefined first referenced
symbol in file
strcasestr ./.libs/libdbmail.a(pipe.o)
g_mime_shutdown main.o
inet_aton ./.libs/libdbmail.a(dm_cidr.o)
g_str_has_suffix ./.libs/libdbmail.a(misc.o)
ld: fatal: Symbol referencing errors. No output written to
.libs/dbmail-smtp
collect2: ld returned 1 exit status
make[2]: *** [dbmail-smtp] Error 1
make[2]: Leaving directory `/export/home/admin/dbmail-2.1.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/admin/dbmail-2.1.1'
make: *** [all-recursive-am] Error 2
bash-2.05#
Looking for help
M. Salaque
Post by Mohammad SalaqueDear all
Today while trying to install dbmail-2.0.4 in my Solaris 9 (SunOS test
5.9 Generic_118558-06 sun4u sparc SUNW,UltraAX-i2 Solaris) i get the
following error
sort.c:68: error: conflicting types for 'sort_and_deliver'
../sort.h:49: error: previous declaration of 'sort_and_deliver' was here
sort.c:68: error: conflicting types for 'sort_and_deliver'
../sort.h:49: error: previous declaration of 'sort_and_deliver' was here
sort.c:83: error: `SORT_FAILURE' undeclared (first use in this function)
sort.c:83: error: (Each undeclared identifier is reported only once
sort.c:83: error: for each function it appears in.)
sort.c:92: error: `SORT_OVER_QUOTA' undeclared (first use in this function)
sort.c:98: error: `SORT_WEIRD_ERROR' undeclared (first use in this function)
sort.c:103: error: `SORT_SUCCESS' undeclared (first use in this function)
gmake[2]: *** [sort.lo] Error 1
gmake[2]: Leaving directory `/export/home/admin/dbmail-2.0.4/sort'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/admin/dbmail-2.0.4'
gmake: *** [all-recursive-am] Error 2
i did apply 01_quota.dpatch . and using gmake . as when using make i
am receiving the fallowing error
mksh: Fatal error in reader: = missing from replacement macro reference
Regards.
Salaque
--
Got my mail ?
--
Got my mail ?
--
Got my mail ?