Motif App. Works in 2.6 but Not in Solaris 8

Motif App. Works in 2.6 but Not in Solaris 8

Post by Stew Pelega » Fri, 10 Aug 2001 23:05:42



We have a motif that runs fine in Solaris 2.6, but when we run it in
Solaris 8, we get
the following error:

  Could not find desired 8 bit PseudoColor visual
  Trying 24 bit DirectColor.
  Could not obtain either required Visual, exiting.

When we run the app on a Solaris 2.6 box and export the display to a
Solaris 8 box,
we get the same error.  Any suggestions?  Thanks.

 
 
 

Motif App. Works in 2.6 but Not in Solaris 8

Post by Stefaan A Eecke » Sat, 11 Aug 2001 01:31:23




Quote:> We have a motif that runs fine in Solaris 2.6, but when we run it in
> Solaris 8, we get
> the following error:

>   Could not find desired 8 bit PseudoColor visual
>   Trying 24 bit DirectColor.
>   Could not obtain either required Visual, exiting.

> When we run the app on a Solaris 2.6 box and export the display to a
> Solaris 8 box,
> we get the same error.  Any suggestions?  Thanks.

It's a problem with the application. Obviously, the Solaris 8
machine doesn't have the visuals required by the application.

Try

$ xdpyinfo

on the box and see if it has a 24-bit DirectColor visual.

Some information on the Solaris 8 machine (like the framebuffer
it uses) would lead to a better answer, or even a workaround.

--
Stefaan
--
Every modification you make to a third-party software product is just one
more thing that you have to document, maintain, reimplement with upgrades,
and explain to your co-workers.  Most of the time this is a very bad idea.


 
 
 

Motif App. Works in 2.6 but Not in Solaris 8

Post by Stew Peleg » Sat, 11 Aug 2001 04:53:02




> #   We have a motif that runs fine in Solaris 2.6, but when we run it in
> #   Solaris 8, we get
> #   the following error:
> #  
> #     Could not find desired 8 bit PseudoColor visual
> #     Trying 24 bit DirectColor.
> #     Could not obtain either required Visual, exiting.
> #  
> #   When we run the app on a Solaris 2.6 box and export the display to a
> #   Solaris 8 box,
> #   we get the same error.  Any suggestions?  Thanks.

> Have you looked over the framebuffer FAQ?

> http://www.sunhelp.org/faq/FrameBuffer.html

Thanks for pointing me in the right direction.  I was able to gather from
the FAQ that the X server needed the following parameters to enable the
motif app. to run:

        ...defclass PseudoColor defdepth 8

Also, a co-worker said that the problem might go away by installing the
4/01 release of Solaris 8.

--
Stewart Pelegan
Computer Sciences Corporation
301.921.3206
Fax: 301.921.0985

 
 
 

Motif App. Works in 2.6 but Not in Solaris 8

Post by Andrew Muell » Sat, 11 Aug 2001 05:46:14



> We have a motif that runs fine in Solaris 2.6, but when we run it in
> Solaris 8, we get
> the following error:

>   Could not find desired 8 bit PseudoColor visual
>   Trying 24 bit DirectColor.
>   Could not obtain either required Visual, exiting.

> When we run the app on a Solaris 2.6 box and export the display to a
> Solaris 8 box,
> we get the same error.  Any suggestions?  Thanks.

What application is it? Can you re-compile it?
Make sure to cross-post in comp.windows.x.motif.

-Andrew Mueller
http://synecdoche.net/~andy

 
 
 

1. Errors compiling Wingz 1.4 Add-ins (Linux 1.3.99, GCC 2.6)

I use the Wingz spreadsheet under a SunOs 4.1.3 at work, and am trying
to set up a similar environment on my Linux system.  To do this I need
to compile Wingz external add-ins.

(Nice spreadsheet by the way. See the homepage at:
 http://www.wingz.com/Welcome.html)

The problem is that I am unable to link after compiling.  The add-in
code has no 'main', as it is in a file $WINGZ/lib/libwztools.a.  On
SunOs, doing a:

gcc -O -I$(WINGZ)/include -c TestFunc.c -o TestFunc.o
gcc -O -I$(WINGZ)/include -o great_zot TestFunc.o \
       -L$(WINGZ)/lib -lwztools -lm            

works great, but under Linux the link fails with a message like:

/usr/lib/crt1.o (...) undefined symbol 'main'

'nm' shows 'main' as being defined in $WINGZ/lib/libwztools.a, so
I am at a loss to how to get this to compile.

        Linux Kernel:   1.3.99
        Wingz version:  1.4
        GCC version:    2.6

Any hints would be greatly appreciated.

Shaun
----------------------------------------------------------------------
Shaun Lawson           Tel:    [+81]3-5571-7388
Assistant Vice Pres.   WWW:    http://www.atrium.com/shaun


2. GNOME screen blanking

3. Plug-ins not not seen by Gimp

4. SCSI CDROM

5. Motif apps very slow with Solaris 2.6

6. top for SMP...sorta working

7. how do 'plug-ins' work?

8. Let's talk NIS

9. IP Accounting doesn't work for PPP dial-ins :-(( ??

10. Does uemacs really work ins SysV.2?

11. getty_ps2.0.7 Still my modem does not accepts dial-ins.

12. In search of Solaris 2.5 Netscape Navigator 3.0 plug ins

13. Code fragments/plug-ins for solaris?