Hello Angel,
Saturday March 13 2021, Angel Ripoll wrote to Todos:
AR> root@bbs:/srv/fido/src/husky/fidoconf# make all
AR> gcc -Wall -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -O3
AR> -DUNIX -DCFGDIR=\"/etc/fido\" -DPATH_DELIM=\'/\' -c -fPIC -Wall -ggdb
AR> -DUNIX -I.. -Wno-char-subscripts -Ifidoconf -I/usr/include
AR> src/afixcmn.c src/afixcmn.c: In function
AR> ‘createXMSG’: src/afixcmn.c:342:67: error: ‘FTSC_DATE_SIZE’
AR> undeclared (first use in this function); did you mean
AR> ‘XMSG_TO_SIZE’? strncpy((char *)msgHeader.__ftsc_date, (char
AR> *)msg->datetime, FTSC_DATE_SIZE);
AR> ^~~~~~~~~~~~~~
AR> XMSG_TO_SIZE src/afixcmn.c:342:67: note: each undeclared identifier is
AR> reported only once for each function it appears in
AR> make: *** [makefile.inc:27: afixcmn.o] Error 1
AR> How can i fix it?
FTSC_DATE_SIZE is defined in smapi. The error means you did not install smapi after compiling it. You have to install every subproject producing a library before compiling the next subproject.
When I build rpm packages for Husky I bypass the installation of library subprojects during build by building everything together. I use `mock --chain` for that.
Michael
... node (at) f1042 (dot) ru
--- GoldED+/LNX 1.1.5-b20180707
* Origin: Moscow, Russia (2:5020/1042)
|