• syncterm compile

    From Dumas Walker@VERT/CAPCITY2 to All on Tuesday, December 12, 2023 18:42:04
    Got the following error on a pi3 running bookworm.

    Linking gcc.linux.armv7l.exe.debug/syncterm
    /usr/bin/ld: /home/mlp/syncterm-1.1/src/../3rdp/gcc.linux.armv7l.debug/cl/libcl .a(sendmsg.o): in function `waitForObject':
    sendmsg.c:(.text+0xed0): undefined reference to `pthread_yield'
    collect2: error: ld returned 1 exit status
    make: *** [GNUmakefile:104: gcc.linux.armv7l.exe.debug/syncterm] Error 1

    I tried both:
    make
    and
    make SRC_ROOT=~/syncterm-1.1/src

    Both end with this message. I am guessing missing package but since the dependencies are not documented (period!) I am having an issue guessing which one. Any ideas? Thanks!

    #

    ---
    ■ Synchronet ■ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Digital Man@VERT to Dumas Walker on Tuesday, December 12, 2023 19:41:51
    Re: syncterm compile
    By: Dumas Walker to All on Tue Dec 12 2023 06:42 pm

    Got the following error on a pi3 running bookworm.

    Linking gcc.linux.armv7l.exe.debug/syncterm
    /usr/bin/ld: /home/mlp/syncterm-1.1/src/../3rdp/gcc.linux.armv7l.debug/cl/libcl .a(sendmsg.o): in function `waitForObject':
    sendmsg.c:(.text+0xed0): undefined reference to `pthread_yield'
    collect2: error: ld returned 1 exit status
    make: *** [GNUmakefile:104: gcc.linux.armv7l.exe.debug/syncterm] Error 1

    I tried both:
    make
    and
    make SRC_ROOT=~/syncterm-1.1/src

    Both end with this message. I am guessing missing package but since the dependencies are not documented (period!) I am having an issue guessing which one. Any ideas? Thanks!

    My guess: libpthread, which is part of libc6 package according to this: https://packages.debian.org/cgi-bin/search_contents.pl?word=libpthread.so.0&searchmode=searchfiles&case=insensitive&version=unstable&arch=i386
    --
    digital man (rob)

    Steven Wright quote #34:
    If at first you don't succeed, skydiving is not for you.
    Norco, CA WX: 55.7°F, 73.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Dumas Walker@VERT/CAPCITY2 to DIGITAL MAN on Wednesday, December 13, 2023 09:24:00
    Linking gcc.linux.armv7l.exe.debug/syncterm
    /usr/bin/ld: /home/mlp/syncterm-1.1/src/../3rdp/gcc.linux.armv7l.debug/cl/libcl .a(sendmsg.o): in function `waitForObject':
    sendmsg.c:(.text+0xed0): undefined reference to `pthread_yield'
    collect2: error: ld returned 1 exit status
    make: *** [GNUmakefile:104: gcc.linux.armv7l.exe.debug/syncterm] Error 1

    My guess: libpthread, which is part of libc6 package according to this: https://packages.debian.org/cgi-bin/search_contents.pl?word=libpthread.so.0&se
    chmode=searchfiles&case=insensitive&version=unstable&arch=i386

    Nope -- "libc6 is already the newest version."

    For fun, I installed every Sychronet dependency onto the pi, except the one marked Netscape because syncterm doesn't have a WWW interface. Still no
    dice.

    I am going to try asking in the irc, too. Thanks.


    * SLMR 2.1a * I'll have one brain on drugs with bacon, toast and juice.

    ---
    ■ Synchronet ■ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Dumas Walker@VERT/CAPCITY2 to DIGITAL MAN on Wednesday, December 13, 2023 14:38:00
    My guess: libpthread, which is part of libc6 package according to this: >https://packages.debian.org/cgi-bin/search_contents.pl?word=libpthread.so.0&sea
    chmode=searchfiles&case=insensitive&version=unstable&arch=i386

    Turned out to be a bug and deuce already squashed it. libc6 didn't support that call anymore so he changed it to use a different call. Also, sounded
    like he found an issue with the SSH or SSL that he fixed.

    Compiles and works good now!


    * SLMR 2.1a * Florida -- the Punshine State.

    ---
    ■ Synchronet ■ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP