Subj : Re: SyncTERM issues in OBSD
To   : Atroxi
From : Sprite
Date : Sat Dec 19 2020 07:59 am

 Re: Re: SyncTERM issues in OB
 By: Sprite to Atroxi on Fri Dec 18 2020 05:33:43

   Looks like I'm having some issues compiling syncterm on my OBSD system,
too.  I'm running the latest version, not sure if you are or not, but this is
the error blurb that I got in compilation...
   Does anybody know if Deuce is still around?

---error blurb from synctermcompilation follows---
Compiling curs_cio.c
curs_cio.c:111:2: error: unknown type name 'cchar_t'; did you mean 'wchar_t'?
       cchar_t cha;
       ^~~~~~~
       wchar_t
/usr/include/stdlib.h:53:19: note: 'wchar_t' declared here
typedef __wchar_t       wchar_t;
                       ^
curs_cio.c:335:2: warning: implicit declaration of function 'setcchar' is
     invalid in C99 [-Wimplicit-function-declaration]
       setcchar(&cha, wch, attr, cpair, NULL);
       ^
curs_cio.c:336:8: warning: implicit declaration of function 'add_wch' is
invalid
     in C99 [-Wimplicit-function-declaration]
       ret = add_wch(&cha);
             ^
curs_cio.c:447:2: error: unknown type name 'cchar_t'; did you mean 'wchar_t'?
       cchar_t cchar;
       ^~~~~~~
       wchar_t
/usr/include/stdlib.h:53:19: note: 'wchar_t' declared here
typedef __wchar_t       wchar_t;
                       ^
curs_cio.c:473:4: warning: implicit declaration of function 'mvin_wch' is
     invalid in C99 [-Wimplicit-function-declaration]
                       mvin_wch(y, x, &cchar);
                       ^
curs_cio.c:474:16: error: member reference base type 'wchar_t' (aka 'int') is
     not a structure or union
                       attr = cchar.attr;
                              ~~~~~^~~~~
curs_cio.c:475:31: error: member reference base type 'wchar_t' (aka 'int') is
     not a structure or union
                       thischar = ext_char = cchar.chars[0];
                                             ~~~~~^~~~~~
curs_cio.c:953:9: warning: implicit declaration of function 'get_wch' is
invalid
     in C99 [-Wimplicit-function-declaration]
               while(get_wch(&ch)==ERR) {
                     ^
4 warnings and 4 errors generated.
gmake[1]: *** [../build/Common.gmake:456:
clang.openbsd.obj.debug-mt/curs_cio.o] Error 1
gmake[1]: Leaving directory '/usr/local/src/syncterm-1.1/src/conio'
gmake: *** [../build/Common.gmake:503: ciolib-mt] Error 2
found$
---end of copypasta---

   Anyway let me know if this is the same error message you're getting or not,
we can get some information together for Deuce wherever he's at these days. :)

---
� Synchronet � Tinfoil Tetrahedron BBS - skulking seedily against the Brave New World