On Fri, 29 Nov 2002, Rodolphe Ortalo wrote: > Hello, > > When trying to compile libggi & libgii (a CVS version from Wednesday IIRC) > --with-kii I have a few problems.
Hi! I just tried KGI, too. Finally I got the star demo working using the Mach64 driver w/o acceleration. Unfortunately, libgii's input target didn't work, so I was forced to push the reset button to 'exit' the stars demo. I had to fix libgii's kii input target and libggi's kgi-target for this, plus some kii header. I've committed all changes. > Up to now, I've been obliged to apply a few fixes to "kii.h" (see diff) > and I'm wondering if there are correct. And as <kgi/system.h> > should be included by kii.h, I now have the following error: > > /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../input/kii >-I../.. -I../../../include -I../../include -I /usr/local/kgiwip/build/include >-D_REENTRANT -D_THREAD_SAFE -DDEBUG -g -Wall -c ../../../input/kii/input.c > gcc -DHAVE_CONFIG_H -I. -I../../../input/kii -I../.. -I../../../include >-I../../include -I /usr/local/kgiwip/build/include -D_REENTRANT -D_THREAD_SAFE >-DDEBUG -g -Wall -Wp,-MD,.deps/input.pp -c ../../../input/kii/input.c -fPIC -DPIC -o >input.lo > In file included from /usr/local/kgiwip/build/include/kii/kii.h:36, > from ../../../input/kii/input.c:33: > /usr/local/kgiwip/build/include/kgi/system.h:63: #error HOST_OS or HOST_CPU not >defined > /usr/local/kgiwip/build/include/kgi/system.h:100: #error check this, no type >definitions included? > /usr/local/kgiwip/build/include/kgi/system.h:112: #error kgi_udelay not implemented > /usr/local/kgiwip/build/include/kgi/system.h:120: #error kgi_nanosleep not >implemented > make: *** [input.lo] Error 1 I got this error, too. That's why, I run the stars demo w/o acceleration. libgii's input driver missed some includes. > However, it seems to me kgi/system.h is necessary for the > "KGI_SYS_DECLARE_INTEGRAL_TYPES(kii)"... I must be doing something wrong, > for sure. But well, what? > > > Rodolphe > > PS: > > Concerning libggi, I get the following output (but well, it may be a > little early to worry due to the gii error): Please update from CVS again. > # /usr/local/bin/monitest > LibGG: unable to open lib: /usr/local/lib/ggi/input/kii.so: cannot open shared >object file: No such file or directory > LibGGI: failed to load input: kii > LibGGI: Failed to set mode: [P8/8] > unable to set any mode at all, exiting! > identified to mapper graphic-0.9.0-0 > Trying mode [] > Suggested mode [P8/8] > # > > and an error in kern.log: kgim_display_check_mode:401:E:Unknown command > fdeffff8 from monitor. CU, Christoph Egger E-Mail: [EMAIL PROTECTED]
