• Synchronet build process not completing

    From Chris Costakis@1:103/705 to GitLab issue in main/sbbs on Tue Mar 22 12:39:44 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/378

    Building Synchronet on Ubuntu 20.04 using the latest development branch of Synchronet as of 3/22/22. The process is failing as follows:Linking gcc.linux.x64.lib.release/libwebsrvr.soLinking gcc.linux.x64.exe.release/sbbs/usr/bin/ld: gcc.linux.x64.lib.release/libwebsrvr.so: undefined reference to `strlcpy'collect2: error: ld returned 1 exit statusmake: *** [GNUmakefile:151: gcc.linux.x64.exe.release/sbbs] Error 1I've tried doing a "make clean" prior to running "make RELEASE=1 symlinks setcap" and still the same result.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Andre Robitaille@1:103/705 to GitLab note in main/sbbs on Tue Mar 22 12:47:45 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/378#note_2487

    Did you do this as your clean command?```./cleanall.sh RELEASE=1```
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Chris Costakis on Tue Mar 22 13:05:29 2022
    Re: Synchronet build process not completing
    By: Chris Costakis to GitLab issue in main/sbbs on Tue Mar 22 2022 12:39 pm


    Linking gcc.linux.x64.lib.release/libwebsrvr.so
    Linking gcc.linux.x64.exe.release/sbbs
    /usr/bin/ld: gcc.linux.x64.lib.release/libwebsrvr.so: undefined reference to `strlcpy' collect2: error: ld returned 1 exit status
    make: *** [GNUmakefile:151: gcc.linux.x64.exe.release/sbbs] Error 1

    I don't know for sure how to resolve that linker error but I would start here:

    https://linux.die.net/man/3/strlcpy

    You may be missing a development library. My first guess is libbsd-devel or something like that but I'm not sure exactly what it is called for ubuntu.

    Try searching on google for: ubuntu devel lib for strlcpy.

    Hope that helps,
    Electrosys
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Chris Costakis on Tue Mar 22 13:25:21 2022
    Re: Synchronet build process not completing
    By: Electrosys to Chris Costakis on Tue Mar 22 2022 01:05 pm


    Linking gcc.linux.x64.lib.release/libwebsrvr.so
    Linking gcc.linux.x64.exe.release/sbbs
    /usr/bin/ld: gcc.linux.x64.lib.release/libwebsrvr.so: undefined
    reference to `strlcpy' collect2: error: ld returned 1 exit status
    make: *** [GNUmakefile:151: gcc.linux.x64.exe.release/sbbs] Error 1

    You may be missing a development library. My first guess is libbsd-devel or something like that but I'm not sure exactly what it is called for ubuntu.

    According to this article, its probably called: libbsd-dev

    https://stackoverflow.com/questions/61998682/making-strlcpy-available-in-linux

    Hope that helps,
    Electrosys
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nelgin@1:103/705 to Chris Costakis on Tue Mar 22 17:14:53 2022
    On Tue, 22 Mar 2022 12:39:44 -0700
    "Chris Costakis" <chris.costakis@VERT> wrote:

    open https://gitlab.synchro.net/main/sbbs/-/issues/378

    Building Synchronet on Ubuntu 20.04 using the latest development
    branch of Synchronet as of 3/22/22. The process is failing as
    follows:

    Linking gcc.linux.x64.lib.release/libwebsrvr.so
    Linking gcc.linux.x64.exe.release/sbbs
    /usr/bin/ld: gcc.linux.x64.lib.release/libwebsrvr.so: undefined
    reference to `strlcpy' collect2: error: ld returned 1 exit status
    make: *** [GNUmakefile:151: gcc.linux.x64.exe.release/sbbs] Error 1

    I've tried doing a "make clean" prior to running "make RELEASE=1
    symlinks setcap" and still the same result.

    run cleanall.sh from your src directory. This has been reported several
    times in the forums and the gib repo.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Chris Costakis@1:103/705 to GitLab issue in main/sbbs on Tue Mar 22 17:54:20 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/378
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Chris Costakis@1:103/705 to GitLab note in main/sbbs on Tue Mar 22 17:54:20 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/378#note_2493

    I did not initially. I just ran that and then the compile worked perfectly. Thank you!
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Wed Mar 23 00:40:08 2022
    Re: Synchronet build process not completing
    By: Electrosys to Chris Costakis on Tue Mar 22 2022 01:25 pm

    Re: Synchronet build process not completing
    By: Electrosys to Chris Costakis on Tue Mar 22 2022 01:05 pm


    Linking gcc.linux.x64.lib.release/libwebsrvr.so
    Linking gcc.linux.x64.exe.release/sbbs
    /usr/bin/ld: gcc.linux.x64.lib.release/libwebsrvr.so: undefined
    reference to `strlcpy' collect2: error: ld returned 1 exit status
    make: *** [GNUmakefile:151: gcc.linux.x64.exe.release/sbbs] Error 1

    You may be missing a development library. My first guess is libbsd-devel or something like that but I'm not sure exactly what it is called for ubuntu.

    According to this article, its probably called: libbsd-dev

    https://stackoverflow.com/questions/61998682/making-strlcpy-available-in-lin ux

    strlcpy is included in xpdev. A clean rebuild is all that was needed.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #9:
    BPS = Bits Per Second
    Norco, CA WX: 65.7øF, 37.0% humidity, 0 mph NNE wind, 0.00 inches rain/24hrs --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)