Martin Spott <[EMAIL PROTECTED]> wrote:

> Down that road we need an additional modification, this time it's for
> SimGear. In simgear/io/, tcp_[server,client] need to be linked against
> '-lxnet' on Solaris. Would anyone incorporate the necessary changes into the
> autoconf mechanism ?

After successful build of metakit, plib and SimGear there's still some
trouble with FlightGear/JSBSim. In the first moment I thought this would be
a deficiency in GCC for Solaris, but probably it just triggers a declaration
fault. Would anyone please have a look ? I'm not able to resolve this
myself. I probably found some hint here:

http://www.geocrawler.com/archives/3/361/1999/1/0/2002408/


make[3]: Entering directory `/usr/local/src/FlightGear/src/FDM/JSBSim'
Making all in filtersjb
make[4]: Entering directory `/usr/local/src/FlightGear/src/FDM/JSBSim/filtersjb'
if g++ -mcpu=hypersparc -mtune=hypersparc -DHAVE_CONFIG_H -I. -I. 
-I../../../../src/Include -I../../../.. -I../../../../src  -I/opt/gnu/include 
-I/usr/local/include -I/usr/local/FlightGear/include -DFGFS -O1 -D_REENTRANT -MT 
FGDeadBand.o -MD -MP -MF ".deps/FGDeadBand.Tpo" \
  -c -o FGDeadBand.o `test -f 'FGDeadBand.cpp' || echo './'`FGDeadBand.cpp; \
then mv ".deps/FGDeadBand.Tpo" ".deps/FGDeadBand.Po"; \
else rm -f ".deps/FGDeadBand.Tpo"; exit 1; \
fi
In file included from /usr/include/netinet/in.h:41,
                 from /usr/include/sys/socket.h:200,
                 from ../FGfdmSocket.h:73,
                 from ../FGOutput.h:57,
                 from ../FGState.h:74,
                 from ../FGEngine.h:283,
                 from ../FGRocket.h:41,
                 from ../FGPropulsion.h:57,
                 from ../FGAircraft.h:56,
                 from ../FGLGear.h:311,
                 from ../FGFCS.h:55,
                 from FGFCSComponent.h:133,
                 from FGDeadBand.h:40,
                 from FGDeadBand.cpp:40:
/usr/include/sys/stream.h:67: error: `struct queue' redeclared as different 
   kind of symbol
/usr/local/include/c++/3.3/bits/stl_queue.h:71: error: previous declaration of 
   `template<class _Tp, class _Sequence = std::deque<_Tp, 
   std::allocator<_CharT> > > class std::queue'
make[4]: *** [FGDeadBand.o] Error 1


Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to