Hi there,
As an introduction, I'd say that I'm a french FreeBSD developer,
sponsored by my company to provide support to free software in
general. FreeBSD is a very cool OS, well designed, rock stable...
Have a look at http://www.freebsd.org, but I'm sure you've already
eared about it.
I was recently looking for a graphic environment for embedded systems
and found the GGI pages. Seem's to be very good software, but
unfortunatly not supported by *BSD. So, let's try a port.
This is the reason why I join the list today.
Thanks for your help!
On Sun, Nov 19, 2000 at 05:17:19PM +0100, Marcus Sundberg wrote:
> Andreas Beck <[EMAIL PROTECTED]> writes:
>
> > > Just to summarize the pb, demo programs coredump when reaching the X
> > > library (XCreateWindow) during or after the ggiSetMode call. I'd rather
> > > post the process stack to the ML.
> >
> > Argl ... strange. I ran LibGGI sucessfully on Solaris and IRIX, so I wonder
> > what is different for BSD ...
>
> We've been passing uninitialized parameters to XCreateWindow() for
> ages. :-(
> For some reason it never caused any problems until recently, as 0
> happens to be a valid value for all affected parametsr. It should
> be fixed as of yesterday. Fix is included for reference.
It works. It was due to the missing -lc_r, argh. Hopefully libc_r
and libc are being merged in the FreeBSD project.
Here is a summary of the how demo programs work:
demo
----
Starts, waits for the key input, then after a long time, it draws
the page of colored text. It appears that only the last frame is
actually displayed. Then the same result for the various other
frames.
flying_ggis
-----------
ok.
pageflip
--------
/usr/lib/libc.so: WARNING! setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: WARNING! des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING! encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
/usr/lib/libc.so: WARNING! des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp()
Would it be possible to avoid these warnings?
saver
-----
LibGGI: Failed to set mode: [P8/8]
Cannot open one of the default modes.
then stops.
slimy
-----
LibGGI: Failed to set mode: [P8/8]
Error switching to 8bpp mode.
then stops.
stars
-----
ok.
textdemo
--------
LibGGI: Failed to set mode: 80x25.V80x25.D9x14.[T4/16]
lt-textdemo: unable to set text mode, retrying with terminfo.
lt-textdemo in free(): warning: chunk is already free.
then stops.
Tell me the debug level you need to understand this.
--
Nicolas Souchu
Alc�ve - Open Source Software Engineer - http://www.alcove.fr