• Unknown type is curs_cio.c:865

    From Karloch@HISPAMSX to All on Fri Apr 17 18:35:35 2020
    Each month I update my Synchronet install with the latest CVS build, but the current one is failing to compile with the following error:

    curs_cio.c: In function `curs_getch':
    curs_cio.c:865:2: error: unknown type name `wint_t'; did you mean `uint8_t'?

    Source tree is clean, and the machine is an Ubuntu 18.04 amd64.
    I compile with the options: RELEASE=1 USE_DOSEMU=1 SYMLINK=1

    Regards,
    Carlos

    ---
    ■ Synchronet ■ HISPAMSX BBS - The 8-bit MSX computers BBS - 2:341/111@fidonet
  • From Digital Man to Karloch on Fri Apr 17 16:37:06 2020
    Re: Unknown type is curs_cio.c:865
    By: Karloch to All on Fri Apr 17 2020 06:35 pm

    Each month I update my Synchronet install with the latest CVS build, but the current one is failing to compile with the following error:

    curs_cio.c: In function `curs_getch':
    curs_cio.c:865:2: error: unknown type name `wint_t'; did you mean `uint8_t'?

    Source tree is clean, and the machine is an Ubuntu 18.04 amd64.
    I compile with the options: RELEASE=1 USE_DOSEMU=1 SYMLINK=1

    A new depedency was added:
    http://wiki.synchro.net/install:nix:prerequisites

    "Note:
    On some Debian derived systems (e.g. Ubuntu Linux), libncurses-dev installs libncurses5-dev, and you get wint_t errors while building, you will need to install libncursesw5-dev."

    digital man

    This Is Spinal Tap quote #5:
    Nigel Tufnel: Authorities said... best leave it... unsolved.
    Norco, CA WX: 63.1°F, 64.0% humidity, 7 mph SSE wind, 0.00 inches rain/24hrs
  • From Karloch@HISPAMSX to Digital Man on Sat Apr 18 22:54:56 2020
    Re: Unknown type is curs_cio.c:865
    By: Digital Man to Karloch on Fri Apr 17 2020 16:37:06

    Hi digital man!

    A new depedency was added: http://wiki.synchro.net/install:nix:prerequisites

    "Note:
    On some Debian derived systems (e.g. Ubuntu Linux), libncurses-dev installs libncurses5-dev, and you get wint_t errors while building, you will need to install libncursesw5-dev."

    I didn't notice there was a new dependency. After installing it the compilation and the upgrade worked like a charm.

    Thank you!
    Carlos

    ---
    ■ Synchronet ■ HISPAMSX BBS - The 8-bit MSX computers BBS - 2:341/111@fidonet