[emailrelay-help] problems compiling emailrelay
SMTP email proxy and relay server
Brought to you by:
graeme_walker
From: Marc L. <mar...@uc...> - 2014-10-05 16:01:03
|
Hello, I'm using email relay for at least 5 years on machines running solaris10. There I could very easily configure, make and install emailrelay 1.8.2 I'm now trying to do the same on openindiana (open source variant of Solaris) and it does not work any more; For 1.8.2, compilations stops with the following message: ...many files get compiled, then: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gcc4.6 -I../../src/glib -I../../src/gssl -g -O2 -MT geventloop_unix.o -MD -MP -MF .deps/geventloop_unix.Tpo -c -o geventloop_unix.o geventloop_unix.cpp geventloop_unix.cpp: In member function ‘void GNet::FdSet::init(const GNet::EventHandlerList&)’: geventloop_unix.cpp:152:3: error: ‘memset’ was not declared in this scope make[3]: *** [geventloop_unix.o] Error 1 make[3]: Leaving directory `/opt/emailrelay-1.8.2/src/gnet' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/emailrelay-1.8.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/emailrelay-1.8.2' gmake: *** [all] Error 2 for 1.9, it stops even earlier when I try to make it I get make all-recursive make[1]: Entering directory `/opt/emailrelay-1.9' Making all in bin make[2]: Entering directory `/opt/emailrelay-1.9/bin' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/opt/emailrelay-1.9/bin' Making all in src make[2]: Entering directory `/opt/emailrelay-1.9/src' Making all in glib make[3]: Entering directory `/opt/emailrelay-1.9/src/glib' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gcc4.6 -I/usr/include/security -g -O2 -MT gpam_linux.o -MD -MP -MF .deps/gpam_linux.Tpo -c -o gpam_linux.o gpam_linux.cpp gpam_linux.cpp: In constructor ‘G::PamImp::PamImp(G::Pam&, const string&, const string&, bool)’: gpam_linux.cpp:110:16: error: invalid conversion from ‘int (*)(int, const pam_message**, pam_response**, void*)’ to ‘int (*)(int, pam_message**, pam_response**, void*)’ [-fpermissive] gpam_linux.cpp: In member function ‘std::string G::PamImp::name() const’: gpam_linux.cpp:180:49: error: invalid conversion from ‘const void**’ to ‘void**’ [-fpermissive] /usr/include/security/pam_appl.h:186:1: error: initializing argument 3 of ‘int pam_get_item(const pam_handle_t*, int, void**)’ [-fpermissive] make[3]: *** [gpam_linux.o] Error 1 make[3]: Leaving directory `/opt/emailrelay-1.9/src/glib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/emailrelay-1.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/emailrelay-1.9' gmake: *** [all] Error 2 Anybody has an idea about what went wrong ? Thsnks Marc |