ieh
Verified User
$ ./ncftp.sh
[...]
Then after a few more successes:
Any ideas on where to go from here? Compiling binaries is definitely not something I have much experience with yet.
[...]
Compiling io_listmem.c: [OK]
Compiling io_put.c: [OK]
Compiling io_putfiles.c: [OK]
Compiling io_putmem.c: [OK]
Compiling io_putonefile.c: [OK]
Compiling io_sendfile.c: [ERROR]
gcc -D_REENTRANT -O2 -W -Wall -Wno-format-y2k -DLINUX= -DLINUX_GLIBC=21700 -D
O_S="linux-x86_64-glibc2.17" -DHAVE_CONFIG_H -DLINUX= -DLINUX_GLIBC=21700 -I/
usr/local/directadmin/scripts/packages/ncftp-3.2.6 -I/usr/local/directadmin/s
cripts/packages/ncftp-3.2.6/libncftp -I/usr/local/directadmin/scripts/package
s/ncftp-3.2.6/sio -I/usr/local/directadmin/scripts/packages/ncftp-3.2.6/Strn
io_sendfile.c -c
io_sendfile.c: In function ‘DoSendfileAvailable’:
io_sendfile.c:137:32: error: operator '>=' has no left operand
#elif defined(LINUX) && (LINUX >= 22000)
^
io_sendfile.c: In function ‘DoSendfile’:
io_sendfile.c:269:30: error: operator '>=' has no left operand
#if defined(LINUX) && (LINUX >= 22000)
^
io_sendfile.c:361:30: error: operator '>=' has no left operand
#if defined(LINUX) && (LINUX >= 22000)
^
make[1]: *** [io_sendfile.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/scripts/packages/ncftp-3.2.6/libncftp'
make: *** [libs] Error 2
make[1]: Entering directory `/usr/local/directadmin/scripts/packages/ncftp-3.2.6/ncftp'
Compiling cmds.c: [OK]
Compiling cmdlist.c: [OK]
Compiling ls.c: [OK]
Compiling main.c: [OK]
Compiling shell.c: [OK]
Compiling util.c: [OK]
Then after a few more successes:
make[1]: *** No rule to make target `../libncftp/libncftp.a', needed by `../bin/ncftp'. Stop.
make[1]: Leaving directory `/usr/local/directadmin/scripts/packages/ncftp-3.2.6/ncftp'
make: *** [install] Error 2
Any ideas on where to go from here? Compiling binaries is definitely not something I have much experience with yet.