Greetings All!
In the process of moving a bbs to a VM (linux) so I am doing a fresh install of hpt ... Ive built it many times on linux without issue until tonight...
Heres how I built.. I copied make file to husky src dir...
I compiled in this order using * sudo make all install *
Huskylib
Smapi
Fidoconf
Areafix
All seemed to do just fine
Then HPT failed with this output...
sudo make all install
gcc -Ih -I/usr/local/include -c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC -Wall -DUNIX src/fcommon.c
src/fcommon.c: In function `createTempPktFileName_legasy':
src/fcommon.c:297:79: error: incompatible type for argument 1 of `aka2str'
w_log(LL_CREAT, "pktFile %s created for [%s]", link->pktFile, aka2str(link->hisAka));
~~~~^~~~~~~~
In file included from src/fcommon.c:84:
/usr/local/include/fidoconf/common.h:171:17: note: expected `const hs_addr * const' {aka `const struct _netaddr * const'} but argument is of type `hs_addr' {aka `struct _netaddr'}
HUSKYEXT char * aka2str(const hs_addr * const p_aka);
^~~~~~~
src/fcommon.c: In function `createTempPktFileName':
src/fcommon.c:320:79: error: incompatible type for argument 1 of `aka2str'
w_log(LL_CREAT, "pktFile %s created for [%s]", link->pktFile, aka2str(link->hisAka));
~~~~^~~~~~~~
In file included from src/fcommon.c:84:
/usr/local/include/fidoconf/common.h:171:17: note: expected `const hs_addr * const' {aka `const struct _netaddr * const'} but argument is of type `hs_addr' {aka `struct _netaddr'}
HUSKYEXT char * aka2str(const hs_addr * const p_aka);
^~~~~~~
src/fcommon.c: In function `createPackFileName':
src/fcommon.c:417:67: error: incompatible type for argument 1 of `aka2str'
xscatprintf(&tmp2, "hpt %s ", aka2str(config->addr[0]));
~~~~~~~~~~~~^~~
In file included from src/fcommon.c:84:
/usr/local/include/fidoconf/common.h:171:17: note: expected `const hs_addr * const' {aka `const struct _netaddr * const'} but argument is of type `struct _netaddr'
HUSKYEXT char * aka2str(const hs_addr * const p_aka);
^~~~~~~
src/fcommon.c:418:40: error: incompatible type for argument 1 of `aka2str'
xstrcat(&tmp2, aka2str(*aka));
^~~~
In file included from src/fcommon.c:84:
/usr/local/include/fidoconf/common.h:171:17: note: expected `const hs_addr * const' {aka `const struct _netaddr * const'} but argument is of type `hs_addr' {aka `struct _netaddr'}
HUSKYEXT char * aka2str(const hs_addr * const p_aka);
^~~~~~~
make: *** [makefile.inc:28: fcommon.o] Error 1
----
Regards,
Rick Smith (Nitro)
... BBSing is fun, isn't it?
--- GoldED+/LNX 1.1.5-b20180707
* Origin: ----> Abacus Sysop Point --->>>>bbs.abon.us:2323 (1:105/10.1)
|