I'd like to develop a driver for the video controller of my MPC823 PowerPC
embedded processor. I know that a LCD driver has been written yet, and i
tryed to compile it on my x86 Linux box. The problem is that i'm a newbie on
GGI and i dont know the steps i should make to obtain the X-GGI server
working on my PowerPC.
I suppose i have to build LibGII, LibGGI and XGGI. Isn't it?
I have to use a cross-compiler (i have mVista tools to do that) and i
created a subdirectory inside the LibGGI tree named "powerpc-linux", where i
ran:
#!/bin/sh
make distclean
CPP=powerpc-linux-gcc CC=powerpc-linux-gcc AR=powerpc-linux-ar \
CFLAGS="-mcpu=823 -I/LinuxPPC/linux/include" RANLIB=powerpc-linux-ranlib
\
../configure --host=powerpc-linux \
--exec-prefix=/LinuxPPC/_03_X/LibGII --prefix=/LinuxPPC/_03_X/LibGGI \
--host=i686-linux --with-extra-includes=/LinuxPPC/linux/include
I have the target Linux tree under /LinuxPPC/linux (mpc8xx-2.2.13 release),
and i'd like to put my GGI libraries inside of /LinuxPPC/_03_X/LibGGI.
When i run "make", the compiler reports these errors on ../../gg/cleanup.c:
:96 field 'oldsa' has incomplete type
SIG_IGN, SIG_DFL, SIG_ERR undeclared
and so on...
How can i get the lcd823 driver working on my platform?
Sorry but i'm in a hurry and i've no vacation this year because of this
project!
Bye,
Paolo.