Hello Michael!
28 Sep 23, Michael Dukelsky wrote to All:
MD> I added hptutil to makefiles. Now you can build it using build.sh
I added hptutil to the PROGRAMMS in huskymak.cfg. First build.sh:
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 15 (delta 10), reused 15 (delta 10), pack-reused 0
Unpacking objects: 100% (15/15), 7.25 KiB | 741.00 KiB/s, done.
From https://github.com/huskyproject/huskybse
b335cfa..070eb9c master -> origin/master
Updating b335cfa..070eb9c
Fast-forward
Makefile | 16 +++++++++++-----
husky.spec.in | 31 +++++++++++++++++++++++++++++++
huskymak.cfg | 2 +-
huskymak.cfg.bsd | 2 +-
huskymak.cfg.macos | 2 +-
huskymak.cfg.mgw | 2 +-
huskymak.rpm.cfg | 2 +-
script/spec_configure | 41 ++++++++++++++++++++++++++++++++++-------
8 files changed, 81 insertions(+), 17 deletions(-)
diff: ./huskymak.cfg.new: No such file or directory
Makefile:508: hptutil/Makefile: No such file or directory
gmake: *** No rule to make target 'hptutil/Makefile'. Stop.
Second build.sh run:
Already up to date.
remote: Enumerating objects: 544, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 544 (delta 14), reused 29 (delta 12), pack-reused 506
Receiving objects: 100% (544/544), 173.34 KiB | 3.21 MiB/s, done.
Resolving deltas: 100% (343/343), done.
Generating hptutil/h/cvsdate.h
diff: ./huskymak.cfg.new: No such file or directory
[ -d hptutil/Build/ ] || mkdir -m 755 -p hptutil/Build/
[ -d hptutil/Build/dep/ ] || mkdir -m 755 -p hptutil/Build/dep/
[ -d hptutil/Build/obj/ ] || mkdir -m 755 -p hptutil/Build/obj/
gzip -c hptutil/man/hptutil.1 > hptutil/Build/hptutil.1.gz
clang -Wall -c -g0 -O3 -fomit-frame-pointer -fPIC -DUNIX -Ihptutil/h/ -Ifidoconf/ -Ismapi/ -Ihuskylib/ -o hptutil/Build/obj/fixarea.o hptutil/src/fixarea.c
[...]
clang -Wall -c -g0 -O3 -fomit-frame-pointer -fPIC -DUNIX -Ihptutil/h/ -Ifidoconf/ -Ismapi/ -Ihuskylib/ -o hptutil/Build/obj/undelete.o hptutil/src/undelete.c
hptutil/src/purgearea.c:133:10: warning: variable 'frame_prev' set but not used [-Wunused-but-set-variable]
FOFS frame_prev;
^
hptutil/src/linkarea.c:574:45: warning: result of comparison of constant -1 with expression of type 'dword' (aka 'unsigned int') is always true [-Wtautological-constant-out-of-range-compare]
if(msginfo[i]->msgidCRC != -1L &&
~~~~~~~~~~~~~~~~~~~~ ^ ~~~
1 warning generated.
Executable start:
hptutil/fbsd 1.9 2023-09-28
Usage: hptutil [options]
Options: sort - sort unread messages by time and date
link - reply-link messages
So building looks fine on fbsd.
I did not test hptutil in real action.
Regards
Kai
--- GoldED+/LNX 1.1.4.7
* Origin: Monobox (2:240/77)
|