[Uronode] axmail version 2.1.1 - compile error and fix

Boudewijn (Bob) Tenty bobtenty at gmail.com
Wed Oct 29 21:49:13 CDT 2014

axmail  version 2.1.1

Be advised that compiling axmail with the later versions of gcc will 
fail " with undefined reference to `crypt' ".
axmail is linked against the crypt library and with the old compilers 
you could place the -l flag/option
at the beginning or the end of your gcc command line but nowadays the 
link flag is only allowed at the
end of the gcc command line.

In the "Makefile" change line 38 just below "axmail: $(MODULES)"

Original line 38

         $(LD) $(LDFLAGS) -o axmail $(MODULES) $(LIBS)

new line 38

         $(LD) -o axmail $(MODULES) $(LDFLAGS)

With this change it will compile without problem.



More information about the Uronode mailing list