Topic: compiling nano-x on BB8
I am trying to compile nano x. I downloaded the microwindows-0.91 source code and set the arch to LINUX-ARM and the armtoolsprefix to arm-angstrom-linux-gnueabi- and when I compile I get this error:
Compiling drivers/obsolete.c ...
Creating library libmwdrivers.a ...
arm-angstrom-linux-gnueabi-ar: creating /mnt/storage/microwindows-0.91/src/lib/libmwdrivers.a
Creating shared library ...
arm-angstrom-linux-gnueabi-ld: cannot open output file /mnt/storage/microwindows-0.91/src/lib/: Is a directory
make: *** [/mnt/storage/microwindows-0.91/src/lib/] Error 1
make: *** [subdir-/mnt/storage/microwindows-0.91/src/drivers] Error 2
I run make again and it runs right through without a problem--which concerns me.
I also get alot of disconcerting warnings:
/mnt/storage/microwindows-0.91/src/mwin/bmp/makebmp.c:55: warning: incompatible implicit declaration of built-in function 'exit'
/mnt/storage/microwindows-0.91/src/mwin/bmp/makebmp.c:60: warning: incompatible implicit declaration of built-in function 'exit'
/mnt/storage/microwindows-0.91/src/mwin/bmp/makebmp.c:65: warning: incompatible implicit declaration of built-in function 'exit'
/mnt/storage/microwindows-0.91/src/mwin/bmp/makebmp.c:71: warning: incompatible implicit declaration of built-in function 'exit'
/mnt/storage/microwindows-0.91/src/mwin/bmp/makebmp.c: In function 'MakeBMP':
/mnt/storage/microwindows-0.91/src/mwin/bmp/makebmp.c:94: warning: incompatible implicit declaration of built-in function 'memset'
to get jpeglib to work which I built and installed to /mnt/storage, i have to edit the Makefile.rules to include -I/mnt/storage/include
and I get alot of disconcerting warnings when compiling like:
/mnt/storage/microwindows-0.91/src/engine/image_jpeg.c:109: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
I had to turn of freetype because I wasn't using it but when it got past that, I got the following error:
chumby-18-25-4c:/mnt/storage/microwindows-0.91/src # make
make: Circular /mnt/storage/microwindows-0.91/src/lib/ <- /mnt/storage/microwindows-0.91/src/lib/ dependency dropped.
Compiling mwin/winevent.c ...
/mnt/storage/microwindows-0.91/src/mwin/winevent.c:18: error: static declaration of 'abs' follows non-static declaration
make: *** [/mnt/storage/microwindows-0.91/src/obj/mwin/winevent.o] Error 1
make: *** [subdir-/mnt/storage/microwindows-0.91/src/mwin] Error 2