nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: nanoGUI on HP-UX (nearly) fixed
From: Greg Haerr
Date: Thu, 23 Mar 2000 09:26:57 -0700

: Here some error while compiling nanoGUI on HP-UX 10.20 with X11 support:
: 
Please send a patch of any fixes required for hpux, if possible.



: 
: Compiling devfont.c ...
: devfont.c:115: warning: `alphablend' declared `static' but never defined

will fix


: 
: 
: Updating dependencies in /opt/mnprog/u0ymd/src/microwin/src/nanox ...
: client.c:32: warning: No include path in which to find sys/select.h
: Compiling client.c ...
: client.c:32: sys/select.h: No such file or directory
: make[1]: *** [client.o] Error 1
: 
: In HP-UX "select"  is in sys/time.h (automake ?!?   :-)

will #include <sys/time.h> in client.c



: If ttf support is switched off, there should not be a library needed:
: $(TOP)/bin/ftdemo: ftdemo.o $(NANOXCLIENTLIBS) $(TOP)/config
: $(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(NANOXCLIENTLIBS) -lttf

will fix, I forgot about this hack


: 
: 
: 
: Setting colormap in TrueColor? What's wrong with it? The nano-X server core
: dumps:
: 
: 
: XDefaultVisual:
: Visual  class: TrueColor (4)
: id: 33
: bits_per_rgb: 8
: map_entries: 256
: Screen RootDepth: 24
: Screen RootVisual
: Visual  class: TrueColor (4)
: id: 33
: bits_per_rgb: 8
: map_entries: 256
: Depth: 1
: Depth: 24
: Visual: 0
: Visual  class: TrueColor (4)
: id: 33
: bits_per_rgb: 8
: map_entries: 256
: setting colormap
: 
: 
: If I switch to PF_PALETTE:
: 
: XDefaultVisual:
: Visual  class: TrueColor (4)
: id: 33
: bits_per_rgb: 8
: map_entries: 256
: Screen RootDepth: 24
: Screen RootVisual
: Visual  class: TrueColor (4)
: id: 33
: bits_per_rgb: 8
: map_entries: 256
: Depth: 1
: Depth: 24
: Visual: 0
: Visual  class: TrueColor (4)
: id: 33
: bits_per_rgb: 8
: map_entries: 256
: setting colormap
: Shm: Request received
: Shm: Request status=1000000
: Warning: palette index out of range (255)
: fblin4.c:72: failed assertion `c < psd->ncolors'
: 

Well, this is the first non-Linux X that anyone's tried running Microwindows
on.  I'll need to think about this a bit.  How about bin/mdemo?  Does
it run?

Regards,

Greg




nanogui@linuxhacker.org