• Synchronet Compile Issue

    From Jarugzja to All on Tue Jun 30 12:27:31 2020
    Hello,

    I'm not sure if i'm posting in the correct area here but I'm trying to install Synchronet on a Raspberry Pi.

    So far I have had a few stops and have been able to figured out the issue...except this one.

    Every time the compile gets to this point (posted below), it crashes. This has happened on both Raspbian and DietPi. Compile stops for the same issue.

    Any help I could get with this issue would be greatly appreciated.

    Thank you.

    R.J

    [
    Compiling spyon.c
    spyon.c: In function ΓÇÿspyonΓÇÖ:
    spyon.c:103:58: warning: passing argument 6 of ΓÇÿcterm_initΓÇÖ makes integer from pointer without a cast [-Wint-conversion]
    cterm=cterm_init(ti.screenheight-1,ti.screenwidth,1,1,0,NULL,CTERM_EMULATION_ANSI_BBS);
    ^~~~
    In file included from spyon.c:50:0:
    ../../conio/cterm.h:276:43: note: expected ΓÇÿintΓÇÖ but argument is of type Γvoid *ΓÇÖ
    CIOLIBEXPORT struct cterminal* CIOLIBCALL cterm_init(int height, int width, int xpos, int ypos, int backlines, int backcols, struct vmem_cell *scrollback, int emulation);
    ^~~~~~~~~~
    spyon.c:103:8: error: too few arguments to function ΓÇÿcterm_initΓÇÖ
    cterm=cterm_init(ti.screenheight-1,ti.screenwidth,1,1,0,NULL,CTERM_EMULATION_ANSI_BBS);
    ^~~~~~~~~~
    In file included from spyon.c:50:0:
    ../../conio/cterm.h:276:43: note: declared here
    CIOLIBEXPORT struct cterminal* CIOLIBCALL cterm_init(int height, int width, int xpos, int ypos, int backlines, int backcols, struct vmem_cell *scrollback, int emulation);
    ^~~~~~~~~~ ../../build/Common.gmake:455: recipe for target 'gcc.linux.armv7l.obj.release-mt/spyon.o' failed
    make[2]: *** [gcc.linux.armv7l.obj.release-mt/spyon.o] Error 1
    make[2]: Leaving directory '/home/sbbs/sbbs/src/sbbs3/umonitor'
    targets.mk:85: recipe for target 'umonitor' failed
    make[1]: *** [umonitor] Error 2
    make[1]: Leaving directory '/home/sbbs/sbbs/src/sbbs3'
    GNUmakefile:159: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2
    sbbs@raspi:~/sbbs $

    ]
  • From Digital Man to Jarugzja on Wed Jul 1 10:13:53 2020
    Re: Synchronet Compile Issue
    By: Jarugzja to All on Tue Jun 30 2020 12:27 pm

    Hello,

    I'm not sure if i'm posting in the correct area here but I'm trying to install Synchronet on a Raspberry Pi.

    So far I have had a few stops and have been able to figured out the issue...except this one.

    Every time the compile gets to this point (posted below), it crashes. This has happened on both Raspbian and DietPi. Compile stops for the same issue.

    Any help I could get with this issue would be greatly appreciated.

    Thank you.

    R.J

    [
    Compiling spyon.c
    spyon.c: In function ‘spyon’:
    spyon.c:103:58: warning: passing argument 6 of ‘cterm_init’ makes integer from pointer without a cast [-Wint-conversion]

    The correct place to ask Synchronet-support questions is one of the Synchronet-related message areas on DOVE-Net (or USENET or FidoNet).

    That said, the issue you're reporting was fixed on June-30th.

    digital man

    This Is Spinal Tap quote #19:
    Oh then, maybe it's not green. Anyway this is what I sleep in sometimes.
    Norco, CA WX: 64.0°F, 85.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs
  • From Jarugzja to Digital Man on Fri Jul 3 22:05:04 2020
    Re: Synchronet Compile Issue
    By: Digital Man to Jarugzja on Wed Jul 01 2020 10:13 am

    Re: Synchronet Compile Issue
    By: Jarugzja to All on Tue Jun 30 2020 12:27 pm
    Thanks for your response as well as info on where to post in future.

    I did get Synchronet installed on the RasPi on June 30th, but it only worked using the Unix installation.

    Working on getting it configured now.

    Thanks again,

    RJ