LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 11-06-2005, 11:49 AM   #1
SupaDupa
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
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
 
Old 12-17-2005, 05:11 PM   #2
BlingBling
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
u found a resolution yet ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 5.4 or 6.0? AMD64? ilhbutshm *BSD 1 08-30-2005 05:05 AM
pftpfxp-mew problems. k1piee Linux - Software 0 07-24-2005 04:28 PM
Compiling for AMD64 processor gsrikanth Linux - General 1 04-13-2005 02:49 AM
FreeBSD 5.3 current for AMD64 Mouse Config for X EnderWiggin1337 Linux - Newbie 1 01-24-2005 04:19 PM
no linux.ko? (FreeBSD 5.3 Release, amd64) sheepdogj15 *BSD 0 12-29-2004 07:54 PM


All times are GMT -5. The time now is 12:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration