Re: [Flightgear-devel] Bug-Report for FGFS v0.8.0

2002-11-15 Thread Andy Ross
Roland Häder wrote:
> But what about "fixing-out" some compiler warnings?

Most of those appeared with gcc 3.2, I believe.  They don't look too
scary to me -- mostly C++ standardization stuff.  I'm sure they'll be
fixed soon.

Scanning through it quickly, it looks like mostly David's code.
Sloppy bum; we oughta fire that guy. :)

Andy

-- 
Andrew J. RossNextBus Information Systems
Senior Software Engineer  Emeryville, CA
[EMAIL PROTECTED]  http://www.nextbus.com
"Men go crazy in conflagrations.  They only get better one by one."
 - Sting (misquoted)


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



Re: [Flightgear-devel] Bug-Report for FGFS v0.8.0

2002-11-15 Thread Martin Spott
> Hmmm, for it seems he hasn't linked any metakit library?

He did:

> libmk4.so.0 => /usr/lib/libmk4.so.0 (0x4003c000)

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



Re: [Flightgear-devel] Bug-Report for FGFS v0.8.0

2002-11-15 Thread Roland Häder
Hello,

I got this from ldd command:
libmk4.so.0 => /usr/lib/libmk4.so.0 (0x4003c000)
libz.so.1 => /lib/libz.so.1 (0x40081000)
libglut.so.3 => /usr/lib/libglut.so.3 (0x4009)
libGL.so.1 => /usr/lib/libGL.so.1 (0x400c8000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4010f000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40125000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40172000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4017c000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40194000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4019c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401ab000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4026b000)
libm.so.6 => /lib/libm.so.6 (0x40281000)
libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 
(0x402a4000)
libc.so.6 => /lib/libc.so.6 (0x402f1000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40419000)
libdl.so.2 => /lib/libdl.so.2 (0x40737000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)

Hmmm, for it seems he hasn't linked any metakit library?

Ok, I'm going to check it with statically linked metakit

Regards,
  Roland Haeder


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



Re: [Flightgear-devel] Bug-Report for FGFS v0.8.0

2002-11-14 Thread Andy Ross
Roland Häder wrote:
> fgfs: relocation error: fgfs: undefined symbol: __10c4_StoragePCci

Very complete bug report.  Unfortunately, it's a FAQ. :)

The metakit library you linked when compiling against isn't the one
that is getting picked up by the shared linker at runtime.  Try an
"ldd fgfs" to find out which one is getting chosen, and delete that
one if possible.

Better yet, link against metakit statically.  C++ library have no
business being shared.

Andy

-- 
Andrew J. RossNextBus Information Systems
Senior Software Engineer  Emeryville, CA
[EMAIL PROTECTED]  http://www.nextbus.com
"Men go crazy in conflagrations.  They only get better one by one."
 - Sting (misquoted)


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



[Flightgear-devel] Bug-Report for FGFS v0.8.0

2002-11-14 Thread Roland Häder
Hello!

I got it finnally compiled und the following enviroment:

- SuSE Linux 8.0 PRO (7 CDs)  with Kernel 2.4.19-MOSIX (see 
http://www.mosix.org for further details)
- AMD Dual-System on ASUS-Board
- nVidia GeForce ][ MX 200 64 MB SDRAM AGP
- FMWM2 window manager
- ALSA 0.9 SoundSystem for SoundBlaster Live! Value PCI
- GNU C Compiler which comes with the Distri CDs.

I also have installed the latest NVIDIA_GLX and NVIDIA_KERNEL packages from 
www.nvidia.com and I have the latest stable XFree86 Server with fully running 
OpenGL subsystem.

Here's the output while comiling (make 2>make_debug.log):

panel_io.cxx: In function `class FGPanelAction * readAction(const 
SGPropertyNode *, float, float)':
panel_io.cxx:189: warning: choosing `SGPropertyNode_ptr::operator 
SGPropertyNode *()' over `SGPropertyNode_ptr::operator const SGPropertyNode 
*() const'
panel_io.cxx:189: warning:   for conversion from `SGPropertyNode_ptr' to 
`const SGPropertyNode *'
panel_io.cxx:189: warning:   because conversion sequence for the argument is 
better
input.cxx: In method `void FGInput::_init_keyboard()':
input.cxx:457: warning: choosing `SGPropertyNode_ptr::operator SGPropertyNode 
*()' over `SGPropertyNode_ptr::operator const SGPropertyNode *() const'
input.cxx:457: warning:   for conversion from `SGPropertyNode_ptr' to `const 
SGPropertyNode *'
input.cxx:457: warning:   because conversion sequence for the argument is 
better
input.cxx: In method `void FGInput::_read_bindings(const SGPropertyNode *, 
vector > *, int)':
input.cxx:834: warning: choosing `SGPropertyNode_ptr::operator SGPropertyNode 
*()' over `SGPropertyNode_ptr::operator const SGPropertyNode *() const'
input.cxx:834: warning:   for conversion from `SGPropertyNode_ptr' to `const 
SGPropertyNode *'
input.cxx:834: warning:   because conversion sequence for the argument is 
better
model.cxx: In method `RotateAnimation::RotateAnimation(SGPropertyNode_ptr)':
model.cxx:479: warning: choosing `SGPropertyNode_ptr::operator SGPropertyNode 
*()' over `SGPropertyNode_ptr::operator const SGPropertyNode *() const'
model.cxx:479: warning:   for conversion from `SGPropertyNode_ptr' to `const 
SGPropertyNode *'
model.cxx:479: warning:   because conversion sequence for the argument is 
better
model.cxx: In method 
`TranslateAnimation::TranslateAnimation(SGPropertyNode_ptr)':
model.cxx:527: warning: choosing `SGPropertyNode_ptr::operator SGPropertyNode 
*()' over `SGPropertyNode_ptr::operator const SGPropertyNode *() const'
model.cxx:527: warning:   for conversion from `SGPropertyNode_ptr' to `const 
SGPropertyNode *'
model.cxx:527: warning:   because conversion sequence for the argument is 
better
newmat.cxx: In method `FGNewMat::ObjectGroup::ObjectGroup(SGPropertyNode *)':
newmat.cxx:204: warning: choosing `SGPropertyNode_ptr::operator SGPropertyNode 
*()' over `SGPropertyNode_ptr::operator const SGPropertyNode *() const'
newmat.cxx:204: warning:   for conversion from `SGPropertyNode_ptr' to `const 
SGPropertyNode *'
newmat.cxx:204: warning:   because conversion sequence for the argument is 
better

And here's the fatal message from fgfs. I already have removed the old 
binaries from  Version 0.7.0: 

linux_box:~ # fgfs --enable-game-mode --airport-id=EDDH
FlightGear:  Version 0.8.0
Built with GNU C++ version 2.95

Scanning for root: command line
fg_root = /usr/local/lib/FlightGear
Reading global preferences
Finished Reading global preferences
Reading default aircraft: c172 from 
/usr/local/lib/FlightGear/Aircraft/c172-set.xml
Processing command line arguments
Finished command line arguments
Opening a window: 800x600
game mode params = width=800 height=600 bpp=16
GeForce2 MX/AGP/3DNOW!
Max texture size = 2048
Depth buffer bits = 16
NewAirportInit EDDH
Reading menu entries.
fgfs: relocation error: fgfs: undefined symbol: __10c4_StoragePCci

Any ideas?

Best regards,
  Roland Haeder


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