nanogui: nanoGUI on HP-UX (nearly) fixed


Previous by date: 23 Mar 2000 13:51:04 -0000 Re: Kaffe port to Microwindows, Greg Haerr
Next by date: 23 Mar 2000 13:51:04 -0000 Re: Kaffe port to Microwindows, Alan Cox
Previous in thread:
Next in thread: 23 Mar 2000 13:51:04 -0000 Re: nanoGUI on HP-UX (nearly) fixed, Greg Haerr

Subject: nanoGUI on HP-UX (nearly) fixed
From: ####@####.####
Date: 23 Mar 2000 13:51:04 -0000
Message-Id: <TFSLHOTZ@mn.man.de>

Here some error while compiling nanoGUI on HP-UX 10.20 with X11 support:


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


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 ?!?   :-)

gmake[1]: *** [client.o] Error 1
gmake[2]: *** No rule to make target
`/opt/mnprog/u0ymd/src/microwin/src/lib/libnano-X.a', needed by
`/opt/mnprog/u0ymd/src/micr


If ttf support is switched off, there should not be a library needed:

/usr/bin/ld: Can't find library for -lttf
make[2]: *** [/opt/mnprog/u0ymd/src/microwin/src/bin/ftdemo] Error 1


This is the reason why:

$(TOP)/bin/ftdemo: ftdemo.o $(NANOXCLIENTLIBS) $(TOP)/config
$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@ $(NANOXCLIENTLIBS) -lttf



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'


:-(

I run HP-UX and Exceed as X-Server!

But the first demo.sh runs well.   :-)


Martin


Previous by date: 23 Mar 2000 13:51:04 -0000 Re: Kaffe port to Microwindows, Greg Haerr
Next by date: 23 Mar 2000 13:51:04 -0000 Re: Kaffe port to Microwindows, Alan Cox
Previous in thread:
Next in thread: 23 Mar 2000 13:51:04 -0000 Re: nanoGUI on HP-UX (nearly) fixed, Greg Haerr


Powered by ezmlm-browse 0.20.