Hi,
I'm trying to compile pftp-shit a mod of pftp on my Fedora Core 5 box. I've got gcc-c++ and ncurses installed however I get this compile error:
Code:
[root@localhost pftp-shit.v.1.5]# gmake
cd src;gmake;cd ..
gmake[1]: Entering directory `/root/pftp-shit.v.1.5/src'
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/include -DTLS main.cc
main.cc: In function âint main(int, char**)â:
main.cc:1071: warning: unused variable âiâ
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/include -DTLS switchserver.cc
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/include -DTLS tcp.cc
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/include -DTLS displayupdate.cc
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/include -DTLS server.cc
server.cc: In member function âvoid CServer::SortFilelist(bool, bool)â:
server.cc:4980: error: array bound forbidden after parenthesized type-id
server.cc:4980: note: try removing the parentheses around the type-id
server.cc:4981: error: array bound forbidden after parenthesized type-id
server.cc:4981: note: try removing the parentheses around the type-id
gmake[1]: *** [server.o] Error 1
gmake[1]: Leaving directory `/root/pftp-shit.v.1.5/src'
I have also tried pftp-mew and have the same error. If anyone can help it would be muchly appreciated
thanks