> Well I seem to have a problem getting Spamassassin 3.0.1 to compile.
> I am running Solaris 2.5.1 with Perl 5.8.5 and gcc 3.3.2.  I have been
> able to install all the required perl modules.  Now I want to finally
> install Spamassassin and I get this error:
>
> [...]
>
> gcc  -g -O2 spamc/spamc.c spamc/libspamc.c spamc/utils.c \
>         -o spamc/spamc   -ldl -lnsl -lsocket
> Undefined                       first referenced
>  symbol                             in file
> snprintf                            /var/tmp//ccBlGmez.o
> vsnprintf                           /var/tmp//ccBlGmez.o
> ld: fatal: Symbol referencing errors. No output written to spamc/spamc

Your version of Solaris is far too old.  (You didn't really expect much
sympathy for running an OS that's now 8 1/2 years old and 4 releases
behind the current one, did you?!?)  It doesn't come with snprintf() or
vsnprintf().  See this thread, for example:

http://swish-e.org/Discussion/archive/2002-08/4327.html

        - Greg



Reply via email to