• sbbs fails to compile

    From Nelgin@nelgin@EOTLBBS.remove-9vb-this to digialman on Mon May 25 16:05:41 2020
    From Newsgroup: alt.bbs.synchronet

    To: digialman
    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
    --- Synchronet 3.18a-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.18a-Linux NewsLink 1.113