Microwindows

Compiling microwindows by stealth !!!
In the 1088 release of gumstix I have encountered some real problems compiling microwindows. Its available as a menu option in the main make menu config. But if you use this it WILL NOT COMPILE.

what I did was go to the microwin-0.95/src directory, and then run xconfigure (which is a gui for linux). I then de-optioned nearly everything not necessary (like jpeg libraries). I chose NO_MOUSE, and had to remove TEXTMODE = Y by hand from the config file. Then it compiled, and I took the nano-X and example game file binaries off it and it then actually worked with my touch screen. Oh yes and I had to put the TRUECOLOR_565 entry in by hand to the config file because it was not in the xconfigure menu (or if it was I could not find it).

Anyway after all that I had a NO MOUSE nano-X that could draw stuff on my LCD. There are some pictures of it here

http://www.logicalgenetics.com/forums/viewtopic.php?p=6881

Compiling Problems with microwindows from the gumstix 1088 build
I am using suse10, and the latest gumstix software revision (1088) from subversion

At the top development directory I have chosen to compile microwin, by choosing it in the make menuconfig

This causes the microwindows-0.91.tar.gz to get unloaded and unpacked

After this it fails with not being able to touch a file called '.unpacked'

I fixed this by amending the packages/microwin entry and pointing it at the correct sub-directory.

After this the C files kept failing mainly because there were some header files that must have been softlinked or something in the original developers directory.

Hmmmmm OK so I make lots of


 * 1) include "device.h"

entries into


 * 1) include "../include/device.h"

and the like (some were nested two deep)

ANYWAY I compile that and now it wont link and gives errors such as

mkdir -p /home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/root/boot cp -fpR --no-dereference        /home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/linux-2.6.17gum/arch/arm/boot/uImage /ho me/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/root/boot/uImage (grep -q pxa2xx-cs /home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/root/etc/modprobe.conf || \ echo -e '\ninstall pcmcia /sbin/modprobe --ignore-install pcmcia && modprobe pxa2xx-cs\n' >> /home/robin/gumstix_dev_environments/1088/gumstix-build root/build_arm_nofpu/root/etc/modprobe.conf) touch -c /home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/root/boot/uImage make -j3 INSTALL_PREFIX=/home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/root/usr INSTALL_OWNER1= INSTALL_OWNER2= CC=/home /robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc CFLAGS="-Os -pipe -Os -march=armv5te -mtun e=xscale -Wa,-mcpu=xscale " -C /home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src CONFIG=/home/robin/gu mstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/Configs/config.uclibc install make[1]: Entering directory `/home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src' make[1]: Circular /home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/lib/ <- /home/robin/gumstix_dev_e nvironments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/lib/ dependency dropped. make[2]: Entering directory `/home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/drivers' make[2]: Entering directory `/home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/mwin' Creating library libmwdrivers.a ... Creating shared library ... ld: cannot open output file /home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/lib/: Is a directory make[2]: *** [/home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/lib/] Error 1 make[2]: Leaving directory `/home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/drivers' make[1]: *** [subdir-/home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory `/home/robin/gumstix_dev_environments/1088/gumstix-buildroot/build_arm_nofpu/microwindows-0.91/src/engine' Creating shared library libmwin.so ... make[2]: Leaving directory `/home/ro

OK so this looks like a problem in the make file (it starts by dropping a circular dependancy which is pretty bad)

Please can someone help !!!!!!!!!!!!!!!!!!!!!11

This is obvously something in the higher level makefiles binding the package togther. The same version of microwindows used to compile under 773 of the gumstix build.