• Ifmail

    From Joacim Melin@2:201/120 to All on Wed Feb 28 18:40:14 2018
    Hi all,

    in our effort to move Fidonet.org to a more stable and accessible infrastructure, we have hit a small snag: Ifmail. Ifmail was written to work as a gateway between Fidonet and the Internet with UUCP as a bridge and the software in all it's greatness does not compile on CentOS 7 on a x86-64 server.


    I'm no C programmer, so we need help here. We get this:

    In file included from lutil.c:10:0: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
    #error "GCC no longer implements <varargs.h>."
    ^
    /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
    #error "Revise your code to use <stdarg.h>."
    ^
    lutil.c: In function 'loginf':
    lutil.c:139:1: error: expected declaration specifiers before 'va_dcl'
    va_dcl
    ^
    lutil.c:189:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'va_dcl'
    va_dcl
    ^
    lutil.c:239:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'va_dcl'
    va_dcl
    ^
    lutil.c:263:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
    char *s;
    ^
    lutil.c:269:13: error: 's' undeclared (first use in this function)
    if (strlen(s) == strspn(s,"0123456789"))
    ^
    lutil.c:269:13: note: each undeclared identifier is reported only once for each
    function it appears in
    lutil.c:290:3: warning: 'return' with a value, in function returning void [enabled by default]
    return 0L;
    ^
    lutil.c:295:2: warning: 'return' with a value, in function returning void [enabled by default]
    return tv;
    ^
    lutil.c: At top level:
    lutil.c:21:12: warning: 'syslog_opened' defined but not used [-Wunused-variable]
    static int syslog_opened=0;
    ^
    make[1]: *** [lutil.o] Error 1
    make[1]: Leaving directory `/etc/ifmail/iflib'
    make: *** [all] Error 2

    The code wasn't updated by the original author for 17 years or so, and some modifications was made to it back in march of 2011 by Lars Kellog-Steadman.

    Can anyone help out?

    Lars fork: https://github.com/larsks/ifmail-lks

    The original repo: https://sourceforge.net/projects/ifmail/

    Thanks,

    Joacim


    --- NiKom v2.3.1
    * Origin: Delta City (deltacity.se, Vallentuna, Sweden) (2:201/120.0)