TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Todos
from: Angel Ripoll
date: 2023-02-28 22:48:00
subject: Error compiling husky in

    Hola Todos!

    I'm trying to compile husky on a raspberry PI 3B 64 bits and I can't.
I downloaded the init_build.sh script, ran it, customized huskymak.cfg and ran ./build.sh (I did it with the -j 1 parameter because it hung if I did not put it). In the end it gives me an error that is the following:

******************************************************************************
cd hptzip/Build/obj/; \
ar r libhptzip.a hptzip.o ioapi.o unzip.o zip.o
ar: creating libhptzip.a
cd hptzip/Build/obj/; ar s libhptzip.a
ln -f hptzip/Build/obj/libhptzip.a hptzip/Build/
gcc -s -o hpt/Build/hpt hpt/Build/obj/carbon.o hpt/Build/obj/dupe.o hpt/Build/obj/fcommon.o hpt/Build/obj/global.o hpt/Build/obj/hpt.o hpt/Build/obj/hptafix.o hpt/Build/obj/link.o hpt/Build/obj/perl.o hpt/Build/obj/pktread.o hpt/Build/obj/pktwrite.o hpt/Build/obj/post.o hpt/Build/obj/scan.o hpt/Build/obj/scanarea.o hpt/Build/obj/seenby.o hpt/Build/obj/toss.o areafix/Build/libareafix.a fidoconf/Build/libfidoconf.a smapi/Build/libsmapi.a huskylib/Build/libhusky.a hptzip/Build/libhptzip.a -Xlinker -l:libz.a -Wl,-E  -fstack-protector-strong -L/usr/local/lib -L/usr/lib/aarch64-linux-gnu/perl/5.32/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/../../../aarch64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x18): undefined reference to `main'
/usr/bin/ld: (.text+0x1c): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [hpt/Makefile:99: hpt/Build/hpt] Error 1
******************************************************************************

    I'm not at all familiar with compilations so any help is welcome

    Un saludo,
    Angel Ripoll
    aripoll @ zruspas.org

--- GoldED+/LNX 1.1.5-b20230221 + 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™.