Försöker få igång pftp-mew på min ubuntu-server 6.10 maskin, men det vill sig inte.
Följer denna guide:
http://forum.swecheck.net/viewtopic.php?pid=5525
Har kört in openssl och det gick fint.
Sen tog jag hem såsen till pftp-mew, packa upp, körde ./configure, sen make. då får jag detta:
Kod: Markera allt
cd src;make;cd ..
make[1]: Entering directory `/home/brange/ftp/pftp/pftpfxp-mew/src'
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/ssl/include -DTLS main.cc
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/ssl/include -DTLS switchserver.cc
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/ssl/include -DTLS tcp.cc
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/ssl/include -DTLS displayupdate.cc
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/ssl/include -DTLS server.cc
server.cc: In member function ‘void CServer::SortFilelist(bool, bool)’:
server.cc:5360: error: array bound forbidden after parenthesized type-id
server.cc:5360: note: try removing the parentheses around the type-id
server.cc:5361: error: array bound forbidden after parenthesized type-id
server.cc:5361: note: try removing the parentheses around the type-id
make[1]: *** [server.o] Error 1
make[1]: Leaving directory `/home/brange/ftp/pftp/pftpfxp-mew/src'
*edit*
Löst!:)
Sök efter
dir_list,, första träffen så ändrar man till:
dir_list = new FILELIST *[dir_count];
file_list = new FILELIST *[file_count];
alltså tar bort paranteserna kring FILELIST.