• Compiling Syncterm on the Pi

    From Gryphon@VERT/CYBERIA to All on Friday, January 23, 2015 12:17:00
    Hello All!

    I know that some people here have been able to compile and get Synchronet to run on the Raspberry Pi. I'm glad to report that I have been able to do it
    as well.

    So now I'm moving on to trying to get SyncTerm compiled too. But now I'm having problems. Here's what I'm getting.

    make[1]: Leaving directory '/sbbs/syncterm-20140603/3rdp/build'
    Linking gcc.linux.armv6l.exe.debug/syncterm
    /usr/bin/ld: gcc.linux.armv6l.obj.debug-mt/st_crypt.o: undefined reference
    to symbol 'dlsym@@GLIBC_2.4'
    //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
    collect2: ld returned 1 exit status
    GNUmakefile:149: recipe for target 'gcc.linux.armv6l.exe.debug/syncterm'
    failed
    make: *** [gcc.linux.armv6l.exe.debug/syncterm] Error 1



    Since SBBS compailed so easily, I had hoped that Syncterm would as well.
    You can see that I have the syncterm src dir at /sbbs/synctrm-20140603. I don't know if that's relevant.

    --- Mystic BBS v1.10 A59 (Linux
  • From Gryphon@VERT/CYBERIA to Gryphon on Friday, January 23, 2015 12:56:00
    On 01/23/15, Gryphon said the following...

    Hello All!

    I know that some people here have been able to compile and get
    Synchronet to run on the Raspberry Pi. I'm glad to report that I have been able to do it as well.

    So now I'm moving on to trying to get SyncTerm compiled too. But now I'm having problems. Here's what I'm getting.

    make[1]: Leaving directory '/sbbs/syncterm-20140603/3rdp/build'
    Linking gcc.linux.armv6l.exe.debug/syncterm
    /usr/bin/ld: gcc.linux.armv6l.obj.debug-mt/st_crypt.o: undefined reference to symbol 'dlsym@@GLIBC_2.4'
    //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
    collect2: ld returned 1 exit status
    GNUmakefile:149: recipe for target 'gcc.linux.armv6l.exe.debug/syncterm' failed
    make: *** [gcc.linux.armv6l.exe.debug/syncterm] Error 1



    Since SBBS compailed so easily, I had hoped that Syncterm would as well. You can see that I have the syncterm src dir at /sbbs/synctrm-20140603.
    I don't know if that's relevant.

    Ok, I did some searching on slsym@@GLIBC_2.4 and I found an answer that
    helped.

    export LDFLAGS="$LDFLAGS -ldl"; make

    --- Mystic BBS v1.10 A59 (Linux)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX
  • From Deuce@VERT/SYNCNIX to Gryphon on Friday, February 06, 2015 02:08:04
    Re: Compiling Syncterm on the Pi
    By: Gryphon to All on Fri Jan 23 2015 12:17 pm

    So now I'm moving on to trying to get SyncTerm compiled too. But now I'm having problems. Here's what I'm getting.

    I've never tried building SyncTERM on the Raspberry Pi, so the build system doesn't necessarily work properly. libdl.so should be used on Linux.

    I have just ordered the new Pi, so once that arrives, I'll add build support for it.

    ---
    http://DuckDuckGo.com/ a better search engine that respects your privacy.
    þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)