LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (http://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Problems Compiling pftpfxp-mew on FreeBSD (AMD64) (http://www.linuxquestions.org/questions/%2Absd-17/problems-compiling-pftpfxp-mew-on-freebsd-amd64-380500/)

SupaDupa 11-06-2005 11:49 AM

Problems Compiling pftpfxp-mew on FreeBSD (AMD64)
 
im trying to compile pftpfxp-v0.11.4mew6.tgz on an AMD operton 64 under FreeBSD 5.4.

Code:

g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/include -DTLS main.cc
main.cc: In function `void mywborder(WINDOW*)':
main.cc:54: warning: array subscript has type `char'
main.cc:55: warning: array subscript has type `char'
main.cc:56: warning: array subscript has type `char'
main.cc:57: warning: array subscript has type `char'
main.cc:58: warning: array subscript has type `char'
main.cc:59: warning: array subscript has type `char'
main.cc:60: warning: array subscript has type `char'
main.cc:61: warning: array subscript has type `char'
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/include -DTLS switchserver.cc
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/include -DTLS tcp.cc
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/include -DTLS displayupdate.cc
displayupdate.cc: In member function `void CDisplayHandler::UpdateTabBar(bool)':
displayupdate.cc:842: warning: array subscript has type `char'
displayupdate.cc:845: warning: array subscript has type `char'
displayupdate.cc:846: warning: array subscript has type `char'
displayupdate.cc:848: warning: array subscript has type `char'
displayupdate.cc:849: warning: array subscript has type `char'
displayupdate.cc:851: warning: array subscript has type `char'
displayupdate.cc:852: warning: array subscript has type `char'
displayupdate.cc:877: warning: array subscript has type `char'
displayupdate.cc:880: warning: array subscript has type `char'
displayupdate.cc:881: warning: array subscript has type `char'
displayupdate.cc:883: warning: array subscript has type `char'
displayupdate.cc:884: warning: array subscript has type `char'
displayupdate.cc:886: warning: array subscript has type `char'
displayupdate.cc:887: warning: array subscript has type `char'
displayupdate.cc: In member function `void CDisplayHandler::FetchBusy(CServer*, WINDOW*)':
displayupdate.cc:914: warning: array subscript has type `char'
displayupdate.cc:942: warning: array subscript has type `char'
displayupdate.cc: In member function `void CDisplayHandler::UpdateServerBusy(WINDOW*, char*)':
displayupdate.cc:991: warning: array subscript has type `char'
displayupdate.cc:1005: warning: array subscript has type `char'
displayupdate.cc: In member function `void CDisplayHandler::UpdateFilelistScroll(bool, bool)':
displayupdate.cc:1198: warning: array subscript has type `char'
displayupdate.cc:1201: warning: array subscript has type `char'
displayupdate.cc:1202: warning: array subscript has type `char'
displayupdate.cc:1204: warning: array subscript has type `char'
displayupdate.cc:1205: warning: array subscript has type `char'
displayupdate.cc:1207: warning: array subscript has type `char'
displayupdate.cc:1208: warning: array subscript has type `char'
displayupdate.cc:1255: warning: array subscript has type `char'
displayupdate.cc:1280: warning: array subscript has type `char'
displayupdate.cc:1282: warning: array subscript has type `char'
displayupdate.cc:1283: warning: array subscript has type `char'
displayupdate.cc:1285: warning: array subscript has type `char'
displayupdate.cc:1286: warning: array subscript has type `char'
displayupdate.cc:1288: warning: array subscript has type `char'
displayupdate.cc:1289: warning: array subscript has type `char'
displayupdate.cc: In member function `void CDisplayHandler::UpdateFilelistNewPosition(WINDOW*)':
displayupdate.cc:1600: warning: array subscript has type `char'
displayupdate.cc:1602: warning: array subscript has type `char'
displayupdate.cc:1603: warning: array subscript has type `char'
displayupdate.cc:1605: warning: array subscript has type `char'
displayupdate.cc:1606: warning: array subscript has type `char'
displayupdate.cc:1608: warning: array subscript has type `char'
displayupdate.cc:1609: warning: array subscript has type `char'
displayupdate.cc:1651: warning: array subscript has type `char'
g++ -c -Wall -D_REENTRANT -I../include -O2 -I/usr/local/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
gmake[1]: *** [server.o] Error 1


i cant find a good gcc 3.3 port for AMD-64, i dont know how to fix this

BlingBling 12-17-2005 05:11 PM

u found a resolution yet ?


All times are GMT -5. The time now is 05:47 AM.