TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Michael Dukelsky
from: Angel Ripoll
date: 2021-03-13 18:23:00
subject: Error compiling fidoconf

*** respondiendo un mensaje puesto en el  rea personal (personal).

    Hola Michael!

13 Mar 21 10:57, Michael Dukelsky escribi˘ a Angel Ripoll:

 AR>>     How can i fix it?

 MD> FTSC_DATE_SIZE is defined in smapi. The error means you did not install
 MD> smapi after compiling it. You have to install every subproject producing a
 MD> library before compiling the next subproject.

    I did it.

****************
root@bbs:/usr/src/ftn/husky/smapi# make all install
make: No se hace nada para 'all'.
mkdir -p //usr/include/smapi
install -c -m 444 smapi/api_jam.h //usr/include/smapi
install -c -m 444 smapi/api_jamp.h //usr/include/smapi
install -c -m 444 smapi/api_sdm.h //usr/include/smapi
install -c -m 444 smapi/api_sdmp.h //usr/include/smapi
install -c -m 444 smapi/api_sq.h //usr/include/smapi
install -c -m 444 smapi/api_sqp.h //usr/include/smapi
install -c -m 444 smapi/apidebug.h //usr/include/smapi
install -c -m 444 smapi/msgapi.h //usr/include/smapi
install -c -m 444 smapi/old_msg.h //usr/include/smapi
mkdir -p //usr/lib64
install -c -m 444 libsmapi.a //usr/lib64
root@bbs:/usr/src/ftn/husky/smapi# make all install^C
root@bbs:/usr/src/ftn/husky/smapi# cd ..
root@bbs:/usr/src/ftn/husky# cd fidoconf/
root@bbs:/usr/src/ftn/husky/fidoconf# make all install
gcc -Wall -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -O3 -DUNIX -DCFGDIR=\"/etc/fido\" -DPATH_DELIM=\'/\' -c -fPIC -Wall -ggdb -DUNIX -I.. -Wno-char-subscripts -Ifidoconf -I/usr/include src/afixcmn.c
src/afixcmn.c: In function `createXMSG':
src/afixcmn.c:342:67: error: `FTSC_DATE_SIZE' undeclared (first use in this function); did you mean `XMSG_TO_SIZE'?
     strncpy((char *)msgHeader.__ftsc_date, (char *)msg->datetime, FTSC_DATE_SIZE);
                                                                   ^~~~~~~~~~~~ ~~
                                                                   XMSG_TO_SIZE
src/afixcmn.c:342:67: note: each undeclared identifier is reported only once for each function it appears in
make: *** [makefile.inc:27: afixcmn.o] Error 1
root@bbs:/usr/src/ftn/husky/fidoconf#
****************

    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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.