Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-11 Thread Vikas N Kumar
Hi Martin
Have you been able to compile the simgear/props directory with the Sun
Studio 11 compilers ?
I am getting the static class member initialized twice error in
props.cxx "SGRawValue<>::DefaultValue is initialized twice" for all
the types explicitly defined.

Do you know the fix for this or is this a bug with the Sun compilers
and will I have to locate a patch ?  Apparently in some really old SUn
compilers this was a bug.

Also have you tried compiling Simgear with -xO4 option ? lots of
linking errors occur. Right now running configure has set the compile
options by default to "-g" which is debug mode. I have not tried
explicitly using -xO2, but i will try that when i can get simgear to
build with -g first.

Regards,
Vikas

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-10 Thread Martin Spott
"Curtis Olson" wrote:

> Rumor has it that Robert Osfield is trying to push Don and Producer out of
> the OSG project.  I don't know anything about his motivations and won't
> speculate one way or the other, but I can say that the situation is not
> bathed in happiness on all sides. :-(

I've been exchanging several EMails offline with Don and our
communication was pretty 'smooth' in the end. I know there's much
speculation on what't going on behind the scenes and I'm convinced it's
only a small part that actually surfaced to the list(s) - so we'll
probably never know what actually spraked their dispute.

Both of them have valid claims and I wouldn't want to jump on either
side,

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-05 Thread Martin Spott
Hi Vikas,

"Vikas N Kumar" wrote:

> I tried for a while to build OpenSceneGraph on Solaris 7 with my
> version of X11 and using GNU compilers but there was something wrong
> with X11 and using Sun's OpenGL. So I reinstalled Solaris 10 and have
> now installed the Sun Studio 11 Compilers as well.
> I will restart compiling everything again -- plib, OpenThreads,
> Producer and OpenSceneGraph, Simgear and finally FlightGear.

You might rest at least one day or so, I'm still waiting for Don Burns
to put yet another patch against his Producer 'makedefs' files into
CVS, that allows building on SunOS with SunStudio. He already added
several changes that I sent him so I think it'll be just a matter of
time,

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-02 Thread Vikas N Kumar
On 12/2/06, Martin Spott <[EMAIL PROTECTED]> wrote:
> Oh my   Did you use GCC or the SunStudio compiler ? I tried the
> latter and here the Producer build systems definitely need some more
> tweaks. I hope to get it fixed this weekend.

Well I am using GCC, did not know that Sun was giving out free C/C++
compilers so installed GCC and was using that. Let me get the whole
software working with GCC first. If it does not work with GCC itself,
spending time on this Sun machine will be a waste for me unless i
upgrade the OS to Solaris 10. With such a slow machine, I doubt that
would be a wise decision. I will just run Linux instead on it :)

> foehn: 8:38:01 ~> uname -a
> SunOS foehn 5.10 Generic_118822-30 sun4u sparc
> foehn: 8:38:10 ~> find /usr/openwin/ -name XKBlib\*
> /usr/openwin/share/include/X11/XKBlib.h

This is for Solaris 10, I am using Solaris 7 :) It is not there in
that. In any case regarding drivers, I am looking into it. X11R6 did
not install Xsun, because Sun's version of Xsun (openwin) was already
there. So right now it is a mix-and-match.

-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-02 Thread Arnt Karlsen
On Sat, 2 Dec 2006 07:54:54 + (UTC), Martin wrote in message 
<[EMAIL PROTECTED]>:

> Arnt Karlsen wrote:
> 
> > ..this also means nobody can port FlightGear to Open Solaris,
> 
> Don't feed the trolls 
>   Martin.

..precisely.  ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-02 Thread Martin Spott
"Vikas N Kumar" wrote:

> I have an Ultra 10 SPARC system running the 32-bit kernel and Solaris
> 7 (sunOS 5.7) .

  boot kernel/sparcv9/genunix

should give you a working 64-bit kernel on every Ultra10 it you like -
and if the 64-bit kernel environment is installed - even when it's not
automagically detected by the PROM code. Unfortunately I forgot the
name of the command that allows you to write this to PROM from
userspace on a running system 

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-01 Thread Martin Spott
Arnt Karlsen wrote:

> ..this also means nobody can port FlightGear to Open Solaris,

Don't feed the trolls 
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-01 Thread Martin Spott
"Vikas N Kumar" wrote:

> I successfully built Producer on Solaris 7 just now. My machine is
> very slow, 300MHz Ultra10 SPARC with 128MB RAM.
   ^
Oh my   Did you use GCC or the SunStudio compiler ? I tried the
latter and here the Producer build systems definitely need some more
tweaks. I hope to get it fixed this weekend.

> I had to install X11-R6.9 for this though, since in Solaris 7, there
> is no X11/XKBlib.h in the Xsun installation.

foehn: 8:38:01 ~> uname -a
SunOS foehn 5.10 Generic_118822-30 sun4u sparc
foehn: 8:38:10 ~> find /usr/openwin/ -name XKBlib\*
/usr/openwin/share/include/X11/XKBlib.h

> However, I compiled and built X11-R6.9 and then compiled and built
> Producer successfully without making any changes.

Compiling X11 is a fun thing, especially when you run the build on a
slow machine for multiple days and in the end you get a result that
really works  :-)
I did that on a Sparc2 when early releases of X11R6 were state of the
art   Still I'm unsure if you're gonna find an appropriate
accelerated X display driver for the graphics card of your choice that
works with stock X11R6.9 on the Sun. I expect the NVidia driver for
example to rely on the inftrastructure of Sun's distribution of X11.

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-01 Thread Vikas N Kumar
Hi Martin

On 12/1/06, Martin Spott <[EMAIL PROTECTED]> wrote:
\> I'm currently working with Don Burns to get OpenProducer/CVS to build
> on Solaris (again). The biggest part of the build system is already in

I successfully built Producer on Solaris 7 just now. My machine is
very slow, 300MHz Ultra10 SPARC with 128MB RAM.

I had to install X11-R6.9 for this though, since in Solaris 7, there
is no X11/XKBlib.h in the Xsun installation. From many other
sites/forums on the net, I hear that Solaris 8 had a better Xsun
package which had that file.
However, I compiled and built X11-R6.9 and then compiled and built
Producer successfully without making any changes. OpenThreads also
built fine.

I haven't been able to build OpenSceneGraph since the machine goes out
of virtual memory while compiling, so I will have to build it in
parts.

Vikas


-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-01 Thread Arnt Karlsen
On Sat, 2 Dec 2006 00:31:35 + (UTC), Martin wrote in message 
<[EMAIL PROTECTED]>:

> Hi Vikas,
> 
> "Vikas N Kumar" wrote:
> 
> > The next thing would be to build OpenSceneGraph and its dependents.
> 
> I'm currently working with Don Burns to get OpenProducer/CVS to build
> on Solaris (again). The biggest part of the build system is already in
> a working state, but some includes and/or link libraries (I can't

..their code and build system _is_ GPL too, and not just CDDL?
(AFAIUI, Jörg Schiller was kicked out of Debian because he set up a
litigation trap with cdrecord as GPL code and some headers and the build
system under Sun's CDDL.  He has his own special legal theory on why
he believes this is legal.  Sun too disagrees, they designed the CDDL
specificly to make it and Open Solaris, incompatible with the GPL.

..this also means nobody can port FlightGear to Open Solaris, unless
they the financial _and_ litigation muscles to spank both Microsoft,
Sun, tSCOG, Novell, BSA etc outta court and into bankruptsy court.
http://groklaw.net is the proper venue for further discussion of this.

> remember at the moment) are still not in the right place. I'll post
> here when it's done,
> 
>   Martin.

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-01 Thread Martin Spott
Hi Vikas,

"Vikas N Kumar" wrote:

> The next thing would be to build OpenSceneGraph and its dependents.

I'm currently working with Don Burns to get OpenProducer/CVS to build
on Solaris (again). The biggest part of the build system is already in
a working state, but some includes and/or link libraries (I can't
remember at the moment) are still not in the right place. I'll post
here when it's done,

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-12-01 Thread Vikas N Kumar
"Martin Spott" wrote:
> No idea, but you could help porting the current state of FlightGear to
 > Solaris  :-)

Hi Martin,
I have started working on it.
I have an Ultra 10 SPARC system running the 32-bit kernel and Solaris
7 (sunOS 5.7) .
I have successfully installed freeglut, the  current development
version of plib , current development version of OpenAL.
I am trying to build SimGear now, and I have made very minor changes
to configure.ac regarding Solaris and plib.
The next thing would be to build OpenSceneGraph and its dependents.
And finally FlightGear.

i shall keep you posted on all changes I might have had to make
regarding building on Solaris.

Is anyone else building the current CVS development version on Solaris ?

Regards,
Vikas

-- 
http://www.vikaskumar.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-11-30 Thread Martin Spott
Hi Vikas,

"Vikas N Kumar" wrote:
> Hi All
> I have an AMD64 machine that runs a 64-bit flavor of GNU/Linux.
> I have a Sun SPARC64 machine that runs Solaris 7 with a gnu compiler toolset.

> Now if I want to use both these machines to run FlightGear, will it
> work. Say I run Flightgear on the AMD64 and the panel display of FG on
> SPARC64.
> 1)  Will it work ?

Yes, it will work. You'll be able to direct the $DISPLAY to the Sun,
but don't expect tremendous frame rates. The performance will be
comparable to that when running FG locallly on the Sun.

> As of today I do not have a good Gfx card for the SPARC64, so I have not tried
> running/compiling FG on it, but if this scenario works, I will spend
> some cash/time/effort getting one.

I guess this requires a significant amount of cash bacause you might
need at last a graphics card of the XVR-4000 class or better to run
FlightGear decently.

> 4) If it does not work, and if I install Linux on the SPARC64, will
> the endianness make a difference. Will it work then ?

No idea, but you could help porting the current state of FlightGear to
Solaris  :-)

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Linux - Solaris && AMD64-SPARC64 interfacing

2006-11-30 Thread Curtis Olson

On 11/30/06, Vikas N Kumar <[EMAIL PROTECTED]> wrote:


Hi All
I have an AMD64 machine that runs a 64-bit flavor of GNU/Linux.
I have a Sun SPARC64 machine that runs Solaris 7 with a gnu compiler
toolset.

Now if I want to use both these machines to run FlightGear, will it
work. Say I run Flightgear on the AMD64 and the panel display of FG on
SPARC64.
1)  Will it work ?



This should work.  The binary udp packet transmission does it's best to
account for platform and endianess differences.

2)  Is data transfer between two flight gear apps done only via XML ?


I've always done binary udp packets ... I'm not aware of an XML option for
transfering data.

3) Isn't XML very slow ?


It could be depending on what you are doing or it could be fast enough,
again depending on what you are doing.

Remember that the endianness of the AMD64 and SPARC64 are different.


As of today I do not have a good Gfx card for the SPARC64, so I have not
tried
running/compiling FG on it, but if this scenario works, I will spend
some cash/time/effort getting one.

4) If it does not work, and if I install Linux on the SPARC64, will
the endianness make a difference. Will it work then ?



FlightGear transmits the udp binary packets in network byte order so
endianess shouldn't be a problem.  We've also been careful to make sure we
use a minimum of 4 bytes data values (even for booleans).  This greatly
reduces the chance that you'll run into a packing mismatch between two
different systems or compilers.  That's no guarantee that you can't find a
way to trip it up, but the current system has been shown to work on a great
variety of systems.

Curt.
--
Curtis Olson - University of Minnesota - FlightGear Project
http://baron.flightgear.org/~curt/  http://www.humanfirst.umn.edu/
http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel