Subj : Error compiling fidoconf To : Michael Dukelsky From : Angel Ripoll Date : Mon Mar 15 2021 00:06:40 Hola Michael! 14 Mar 21 17:09, Michael Dukelsky escribió a Angel Ripoll: MD> Hello Angel, MD> Please pull fidoconf and rebuild it. Fixed fidoconf! Now i can't complile areafix: **************** src/areafix.c: In function ‘processAreaFix’: src/areafix.c:3706:29: error: incompatible type for argument 1 of ‘addrComp’ [...] src/areafix.c:4292:62: error: incompatible type for argument 1 of ‘aka2str’ w_log(LL_ERR, "Unknown link address %s", aka2str(&toAddr)); ^~~~~~~ In file included from src/areafix.c:65: /usr/local/include/fidoconf/common.h:166:16: note: expected ‘hs_addr’ {aka ‘const struct _netaddr’} but argument is of type ‘hs_addr *’ {aka ‘struct _netaddr *’} HUSKYEXT char *aka2str(const hs_addr aka); ^~~~~~~ src/areafix.c:4296:41: error: incompatible type for argument 1 of ‘aka2str’ toAka = (*call_sstrdup)(aka2str(&toLink->hisAka)); ^~~~~~~~~~~~~~~ In file included from src/areafix.c:65: /usr/local/include/fidoconf/common.h:166:16: note: expected ‘hs_addr’ {aka ‘const struct _netaddr’} but argument is of type ‘hs_addr *’ {aka ‘struct _netaddr *’} HUSKYEXT char *aka2str(const hs_addr aka); ^~~~~~~ src/areafix.c:4272:26: warning: variable ‘rt’ set but not used [-Wunused-but-set-variable] s_link_robot * rf, * rt = NULL; ^~ src/areafix.c:4272:20: warning: variable ‘rf’ set but not used [-Wunused-but-set-variable] s_link_robot * rf, * rt = NULL; ^~ make: *** [Makefile:47: areafix.o] Error 1 ftn@bbs:/usr/src/ftn/husky/areafix$ *************** MD> BTW it is not recommended to compile a program from root. It is better to MD> build it this way: Ok. Un saludo, Angel Ripoll aripoll @ zruspas.org --- GoldED+/LNX 1.1.5-b20180707 + HPT 1.9 + Binkd 1.1 en Debian * Origin: Synchronet - bbs.zruspas.org - Zruspa's BBS - (2:341/66) .