* ken mays -- Thursday 13 April 2006 20:54:
> Here is a copy of my error log while compiling
> FlightGear 0.9.10 on Solaris 8 x86 {117351-35} with
> GCC 3.4.5 


> FGfdmSocket.cpp: In constructor
> `JSBSim::FGfdmSocket::FGfdmSocket(int)':
> FGfdmSocket.cpp:128: error: `FIONBIO' was not declared
> in this scope

Is this a linuxism in JSBSim's
src/FDM/JSBSim/input_output/FGfdmSocket.cpp":182?

  ioctl(sckt_in, FIONBIO, &NoBlock);

Maybe you need to write an #if branch for Solaris. Could the JSBSim
people have a look at that?



> In file included from fg_init.cxx:102:
> ../../src/Scenery/tilemgr.hxx:52: error: `queue' is
> already declared in this scope

I checked all headers in fgfs/sg that contain "queue", and all of them are
protected against repeated loading (via #ifndef _FOO_H). Does Solaris
include anything by default that defines queue already? You could
call gcc with the -E option and check the output for 'queue'
definitions.

m.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to