Board index FlightGear Support Multiplayer

Error making server

Trouble getting online, setting up a server?
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- copy&paste your commandline.

Please, also see Requesting Technical Help.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

Error making server

Postby british_gov » Thu Nov 17, 2011 3:12 pm

Hi All,

I have spent a couple of hours trying to setup a debian box to run multiplayer server as we cannot connect to the online servers from our LAN due to network restrictions. I am using debian 6.0.2.1-i386 and have succesfully configured but when I try to make I get the following output.
Code: Select all
/usr/bin/make  all-recursive
make[1]: Entering directory `/home/nls/fgms-0.9.11'
Making all in src
make[2]: Entering directory `/home/nls/fgms-0.9.11/src'
Making all in simgear
make[3]: Entering directory `/home/nls/fgms-0.9.11/src/simgear'
Making all in debug
make[4]: Entering directory `/home/nls/fgms-0.9.11/src/simgear/debug'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../src    -Wall -MT logstream.o -MD -MP -MF ".deps/logstream.Tpo" -c -o logstream.o logstream.cxx; \
        then mv -f ".deps/logstream.Tpo" ".deps/logstream.Po"; else rm -f ".deps/logstream.Tpo"; exit 1; fi
In file included from logstream.cxx:23:
logstream.hxx: In member function âvirtual int logbuf::overflow(int)â:
logstream.hxx:213: error: âEOFâ was not declared in this scope
logstream.cxx: In member function âstd::string logstream::datestr()â:
logstream.cxx:110: error: âsprintfâ was not declared in this scope
make[4]: *** [logstream.o] Error 1
make[4]: Leaving directory `/home/nls/fgms-0.9.11/src/simgear/debug'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/nls/fgms-0.9.11/src/simgear'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nls/fgms-0.9.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nls/fgms-0.9.11'
make: *** [all] Error 2


Any help will be greatly appreciated, I love FG and want to play with my colleagues!
british_gov
 
Posts: 1
Joined: Thu Nov 17, 2011 3:07 pm

Re: Error making server

Postby BRT » Thu Nov 24, 2011 11:24 am

Maybe try another server...
BRT
 
Posts: 185
Joined: Wed May 25, 2011 4:58 pm

Re: Error making server

Postby Figaro » Thu Nov 24, 2011 11:45 am

BRT, if you had've read "british_gov"s message, you'd know HE CAN'T.

British_gov, unfortunately I have no experience in this, however Quix0r, may be able to help you, maybe drop him a PM.

Cheers,
User avatar
Figaro
 
Posts: 1312
Joined: Fri Feb 25, 2011 10:23 pm
Callsign: 4L-FIG
OS: Ubuntu/Win10

Re: Error making server

Postby BRT » Thu Nov 24, 2011 5:14 pm

same as you i dont have experience,i dont know what SAN is,i was trying to help :-P
BRT
 
Posts: 185
Joined: Wed May 25, 2011 4:58 pm

Re: Error making server

Postby BRT » Thu Nov 24, 2011 5:16 pm

sorry i mean LAN.
BRT
 
Posts: 185
Joined: Wed May 25, 2011 4:58 pm

Re: Error making server

Postby Hooray » Sat Dec 24, 2011 12:39 pm

I only just saw this thread. These errors are trivial to fix actually. All you need to do is qualifying the std:: namespace here or simply adding "using namespace std;" at the top of the file. We actually talked about this a while ago, this is due to different compiler defaults, some of which implicitly look up the std:: namespace, too.

You may also need to include some standard headers for the corresponding functions.

You should be able to find some fixes by searching for "fgms std".

Also check: viewtopic.php?f=18&t=13510&p=136740&hilit=fgms+hooray#p136749

I guess, we should finally add those fixes to the repository?
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU


Return to Multiplayer

Who is online

Users browsing this forum: No registered users and 3 guests