******** 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
hptzip depends on minizip. Try setting USE_HPTZIP=0 and see if that works.
hptzip depends on minizip. Try setting USE_HPTZIP=0 and see if that works.
Thanks for answering but it still doesn't work
*********************************************************
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 -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/Scrt
.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 *********************************************************
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 370 |
Nodes: | 16 (2 / 14) |
Uptime: | 125:24:31 |
Calls: | 7,905 |
Calls today: | 1 |
Files: | 12,972 |
Messages: | 5,792,754 |