Subj : Re: SyncTERM issues in OB
To : Atroxi
From : Digital Man
Date : Sun Dec 20 2020 05:20 pm
Re: Re: SyncTERM issues in OB
By: Atroxi to Sprite on Sun Dec 20 2020 10:13 pm
> -=> Sprite wrote to Atroxi <=-
>
> Sp> Re: Re: SyncTERM issues in OB
> Sp> By: Sprite to Atroxi on Fri Dec 18 2020 05:33:43
>
> Sp> Looks like I'm having some issues compiling syncterm on my OBSD system, too. I'm running the latest version, not sure
> Sp> if
> Sp> you are or
> Sp> not, but this is the error blurb that I got in compilation...
> Sp> Does anybody know if Deuce is still around?
>
> Sp> ---error blurb from synctermcompilation follows---
> Sp> Compiling curs_cio.c
> Sp> curs_cio.c:111:2: error: unknown type name 'cchar_t'; did you mean 'wchar_t'?
> Sp> cchar_t cha;
> Sp> ^~~~~~~
> Sp> wchar_t
> Sp> /usr/include/stdlib.h:53:19: note: 'wchar_t' declared here
> Sp> typedef __wchar_t wchar_t;
> Sp> ^
> Sp> curs_cio.c:335:2: warning: implicit declaration of function 'setcchar'
> Sp> is
> Sp> invalid in C99 [-Wimplicit-function-declaration]
> Sp> setcchar(&cha, wch, attr, cpair, NULL);
> Sp> ^
> Sp> curs_cio.c:336:8: warning: implicit declaration of function 'add_wch'
> Sp> is invalid
> Sp> in C99 [-Wimplicit-function-declaration]
> Sp> ret = add_wch(&cha);
> Sp> ^
> Sp> curs_cio.c:447:2: error: unknown type name 'cchar_t'; did you mean 'wchar_t'?
> Sp> cchar_t cchar;
> Sp> ^~~~~~~
> Sp> wchar_t
> Sp> /usr/include/stdlib.h:53:19: note: 'wchar_t' declared here
> Sp> typedef __wchar_t wchar_t;
> Sp> ^
> Sp> curs_cio.c:473:4: warning: implicit declaration of function 'mvin_wch'
> Sp> is
> Sp> invalid in C99 [-Wimplicit-function-declaration]
> Sp> mvin_wch(y, x, &cchar);
> Sp> ^
> Sp> curs_cio.c:474:16: error: member reference base type 'wchar_t' (aka
> Sp> 'int') is
> Sp> not a structure or union
> Sp> attr = cchar.attr;
> Sp> ~~~~~^~~~~
> Sp> curs_cio.c:475:31: error: member reference base type 'wchar_t' (aka
> Sp> 'int') is
> Sp> not a structure or union
> Sp> thischar = ext_char = cchar.chars[0];
> Sp> ~~~~~^~~~~~ curs_cio.c:953:9: warning: implicit declaration of function
> Sp> 'get_wch'
> Sp> is invalid
> Sp> in C99 [-Wimplicit-function-declaration]
> Sp> while(get_wch(&ch)==ERR) {
> Sp> ^
> Sp> 4 warnings and 4 errors generated.
> Sp> gmake[1]: *** [../build/Common.gmake:456: clang.openbsd.obj.debug-mt/curs_cio.o] Error 1
> Sp> gmake[1]: Leaving directory '/usr/local/src/syncterm-1.1/src/conio'
> Sp> gmake: *** [../build/Common.gmake:503: ciolib-mt] Error 2
> Sp> found$
> Sp> ---end of copypasta---
>
> Sp> Anyway let me know if this is the same error message you're getting
> Sp> or not, we can get some information together for Deuce wherever he's at these days. :)
>
> Hey Sprite,
>
> Yes, this is exactly the error message that I was getting when I was trying to install syncterm too.
Did you try Deuce's latest commit?
<git_Deuce>
https://gitlab.synchro.net/main/sbbs/-/commit/c3427ac62b50fdf717df81bd
<git_Deuce> Modified src/conio/curs_fix.h
<git_Deuce> Attempt to work around OpenBSD shipping with a 12-year-old version
<git_Deuce> of ncurses.
<@Deuce> sprite, I just committed a possible fix for the ncurses issue.
--
digital man
This Is Spinal Tap quote #18:
Sustain, listen to it. Don't hear anything. You would though were it playing.
Norco, CA WX: 73.9�F, 11.0% humidity, 2 mph SSW wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net