• sbbs fails to compile

    From Nelgin@VERT/EOTLBBS to digialman on Mon May 25 09:05:41 2020
    Seems your smblib update broke compiles on Linux. Tried it on both Debian and CentOS.

    ../../smblib/gcc.linux.x64.lib.debug/libsmb.a(smbstr.o): In function `smb_msgattrstr':
    /home/bbs/sbbs/src/smblib/smbstr.c:469: undefined reference to `strlcpy' ../../smblib/gcc.linux.x64.lib.debug/libsmb.a(smbstr.o): In function `smb_auxattrstr':
    /home/bbs/sbbs/src/smblib/smbstr.c:486: undefined reference to `strlcpy' ../../smblib/gcc.linux.x64.lib.debug/libsmb.a(smbstr.o): In function `smb_netattrstr':
    /home/bbs/sbbs/src/smblib/smbstr.c:501: undefined reference to `strlcpy' collect2: error: ld returned 1 exit status

    This is preceeded by this:
    smbstr.c: In function 'smb_msgattrstr':
    smbstr.c:469:2: warning: implicit declaration of function 'strlcpy'
    [-Wimplicit-function-declaration]
    strlcpy(outstr, str, maxlen);

    Thanks,
    Nigel

    ---
    ■ Synchronet ■ End Of The Line BBS - endofthelinebbs.com