Hi. To be able to compile in Solaris 8/9, there is a couple of changes to
be done in the source code, specially to add scandir fuctions. I cannot
track down all of them now, but I have binary packages made from 1.1
source code, both for x86 and Sparc. If you like, I can send them by
email.

Alejandro Marin

> Anyone running on Solaris 8 out there?  I was able to compile before
> (v1.0)
> but had serious stability problems, was hoping to revisit.  I cannot
> compile
> again, any help would be greatly appreciated..  I downloaded the latest
> version from CVS.
>
> Thanks
>
> Enter new libraries (preceed each by -l) or press RETURN to keep this
> setting:
> -lmysqlclient -lcrypto -lsec -lgen -lsocket -lnsl -ldl -lresolv
> ./build.sh: [-f: command not found
>
> Creating makefile..
>
> Done. You can now make dbmail by running 'make clean all'.
> Do you want this to be executed right now?
> y
> rm -f *.o core mysql/*.o
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o list.o
> list.c
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o debug.o
> debug.c
> debug.c: In function `trace':
> debug.c:74: warning: implicit declaration of function `vsyslog'
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o pipe.o
> pipe.c
> pipe.c: In function `insert_messages':
> pipe.c:289: warning: subscript has type `char'
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o mime.o
> mime.c
> mime.c: In function `mime_readheader':
> mime.c:230: warning: subscript has type `char'
> cc -o mysql/dbmysql.o -c mysql/dbmysql.c -L/usr/local/mysql/lib
> -I/usr/local/mysql/include -I.
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o dbmd5.o
> dbmd5.c
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o md5.o
> md5.c
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o bounce.o
> bounce.c
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o forward.o
> forward.c
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o
> memblock.o
> memblock.c
> cc -o mysql/dbauthmysql.o -c mysql/dbauthmysql.c -L/usr/local/mysql/lib
> -I/usr/local/mysql/include -I.
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o config.o
> config.c
> config.c: In function `ReadConfig':
> config.c:63: warning: subscript has type `char'
> config.c:90: warning: subscript has type `char'
> config.c:94: warning: subscript has type `char'
> cc -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H   -c -o misc.o
> misc.c
> misc.c: In function `itoa':
> misc.c:50: warning: implicit declaration of function `malloc'
> cc      -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE -DHAVE_CRYPT_H 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/mysql/lib -I/usr/local/mysql/include -I. -lmysqlclient
> -lcrypto
> -lsec -lgen -lsocket -lnsl -ldl -lresolv
> main.c: In function `main':
> main.c:53: warning: implicit declaration of function `openlog'
> /usr/local/mysql/lib/libmysqlclient.a(password.o): In function `scramble':
> password.o(.text+0x288): undefined reference to `floor'
> password.o(.text+0x344): undefined reference to `floor'
> /usr/local/mysql/lib/libmysqlclient.a(password.o): In function
> `check_scramble':
> password.o(.text+0x580): undefined reference to `floor'
> password.o(.text+0x648): undefined reference to `floor'
> /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
> `my_uncompress':
> my_compress.o(.text+0x9c): undefined reference to `uncompress'
> /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
> `my_compress_alloc':
> my_compress.o(.text+0x12c): undefined reference to `compress'
> collect2: ld returned 1 exit status
> make: *** [smtp] Error 1
> Sorry, Make failed.
> Please report any problems to the mailing list: dbmail@dbmail.org
> <mailto:dbmail@dbmail.org>
> You can find more information (including how to subscribe to the
> mailinglist) on www.dbmail.org <http://www.dbmail.org>
> bash-2.03# cd /usr/local/mysql/lib
>
>

Reply via email to