nanogui: building microwindows on assabet


Previous by date: 11 Dec 2002 02:46:18 -0000 Re: build microwindows-0.89pre9, Aaron J. Grier
Next by date: 11 Dec 2002 02:46:18 -0000 Re: build microwindows-0.89pre9, Greg Haerr
Previous in thread: 11 Dec 2002 02:46:18 -0000 Re: building microwindows on assabet, Jordan Crouse
Next in thread:

Subject: Re: building microwindows on assabet
From: Barbra Jane Santos ####@####.####
Date: 11 Dec 2002 02:46:18 -0000
Message-Id: <200212111042.39967.bjays@asti.dost.gov.ph>

>Just use the config.ipaq file, and change IPAQMOUSE=Y to IPAQMOUSE=N, and 
>ADSMOUSE=N to ADSMOUSE=Y.  Then edit, src/drivers/mou_ads.c to make sure 
>that it is opening the right device file (usually /dev/ts, but who knows 
these days).

>If you happen to be using a recent (2.4.18+) kernel, then the mou_ads.c 
>driver may or may not work (there were major changes to the driver 
>recently).  If that happens, let me know, I'll make sure you get a newer 
>version of the driver.

>Jordan

I tried building microwindows using the config.ipaq file and did the changes 
that you suggested.There were some errors generated. btw, we are using the 
recent kernel( 2.4.18). Here are the errors that were generated.

[bjay@Dungon bjay]$ cd microwin-0.89/src/
[bjay@Dungon src]$ cp Configs/config.ipaq config
[bjay@Dungon src]$ make
Updating dependencies in /home/bjay/microwin-0.89/src/drivers ...
Compiling fblin8.c ...
fblin8.c:10:20: assert.h: No such file or directory
fblin8.c:16:20: string.h: No such file or directory
In file included from fblin8.c:18:
/home/bjay/microwin-0.89/src/include/device.h:604:22: sys/time.h: No such file 
or directory
In file included from fblin8.c:18:
/home/bjay/microwin-0.89/src/include/device.h:613: field `timeout' has 
incomplete type
fblin8.c:32: `NULL' undeclared here (not in a function)
fblin8.c:33: `NULL' undeclared here (not in a function)
fblin8.c: In function `linear8_drawpixel':
fblin8.c:53: warning: implicit declaration of function `assert'
fblin8.c: In function `linear8_drawhorzline':
fblin8.c:95: warning: implicit declaration of function `memset'
fblin8.c: In function `linear8_blit':
fblin8.c:214: warning: implicit declaration of function `memmove'
fblin8.c: In function `init_alpha_lookup':
fblin8.c:306: warning: implicit declaration of function `malloc'
fblin8.c: At top level:
fblin8.c:351: `NULL' undeclared here (not in a function)
fblin8.c:351: initializer element is not constant
fblin8.c:351: (near initialization for `fblinear8.DrawArea')
make[1]: *** [fblin8.o] Error 1
Updating dependencies in /home/bjay/microwin-0.89/src/mwin ...
Updating dependencies in /home/bjay/microwin-0.89/src/mwin/bmp ...
Compiling car8.c ...
In file included from car8.c:2:
/home/bjay/microwin-0.89/src/include/device.h:604:22: sys/time.h: No such file 
or directory
In file included from car8.c:2:
/home/bjay/microwin-0.89/src/include/device.h:613: field `timeout' has 
incomplete type
make[2]: *** [car8.o] Error 1
Updating dependencies in /home/bjay/microwin-0.89/src/mwin/winlib ...
Compiling draw3d.c ...
Compiling ptinsid.c ...
Compiling insetr.c ...
Compiling fastfill.c ...
Compiling graph3d.c ...
In file included from graph3d.c:8:
/home/bjay/microwin-0.89/src/include/device.h:604:22: sys/time.h: No such file 
or directory
In file included from graph3d.c:8:
/home/bjay/microwin-0.89/src/include/device.h:613: field `timeout' has 
incomplete type
In file included from graph3d.c:9:
/home/bjay/microwin-0.89/src/include/graph3d.h:10:18: math.h: No such file or 
directory
graph3d.c: In function `circle3':
graph3d.c:166: warning: implicit declaration of function `cos'
graph3d.c:167: warning: implicit declaration of function `sin'
graph3d.c: In function `patch':
graph3d.c:304: warning: implicit declaration of function `fabs'
graph3d.c: In function `plotfn':
graph3d.c:348: warning: implicit declaration of function `sqrt'
graph3d.c: In function `angle':
graph3d.c:427: warning: implicit declaration of function `atan'
make[2]: *** [graph3d.o] Error 1
make[1]: *** [subdirs] Error 2
Updating dependencies in /home/bjay/microwin-0.89/src/engine ...
Compiling devopen.c ...
devopen.c:15:19: stdio.h: No such file or directory
devopen.c:16:20: stdlib.h: No such file or directory
devopen.c:17:20: string.h: No such file or directory
In file included from devopen.c:18:
/home/bjay/microwin-0.89/src/include/device.h:604:22: sys/time.h: No such file 
or directory
In file included from devopen.c:18:
/home/bjay/microwin-0.89/src/include/device.h:613: field `timeout' has 
incomplete type
In file included from devopen.c:19:
/home/bjay/microwin-0.89/src/include/swap.h:8:20: endian.h: No such file or 
directory
/home/bjay/microwin-0.89/src/include/swap.h:10:22: byteswap.h: No such file or 
directory
devopen.c: In function `GdOpenScreen':
devopen.c:65: `NULL' undeclared (first use in this function)
devopen.c:65: (Each undeclared identifier is reported only once
devopen.c:65: for each function it appears in.)
devopen.c: In function `GdGetScreenInfo':
devopen.c:189: `NULL' undeclared (first use in this function)
devopen.c: In function `GdFindNearestColor':
devopen.c:315: warning: implicit declaration of function `abs'
devopen.c:333:20: unistd.h: No such file or directory
devopen.c:334:19: fcntl.h: No such file or directory
devopen.c: At top level:
devopen.c:390: parse error before "FILE"
devopen.c: In function `putsw':
devopen.c:393: warning: implicit declaration of function `putc'
devopen.c:393: `dw' undeclared (first use in this function)
devopen.c:393: `ofp' undeclared (first use in this function)
devopen.c: At top level:
devopen.c:399: parse error before "FILE"
devopen.c: In function `putdw':
devopen.c:402: `dw' undeclared (first use in this function)
devopen.c:402: `ofp' undeclared (first use in this function)
devopen.c: In function `GdCaptureScreen':
devopen.c:418: `FILE' undeclared (first use in this function)
devopen.c:418: `ofp' undeclared (first use in this function)
devopen.c:427: warning: implicit declaration of function `fopen'
devopen.c:430: warning: implicit declaration of function `open'
devopen.c:448: warning: implicit declaration of function `memset'
devopen.c:451: warning: implicit declaration of function `bswap_32'
devopen.c:456: warning: implicit declaration of function `bswap_16'
devopen.c:464: warning: implicit declaration of function `fwrite'
devopen.c:510: warning: implicit declaration of function `fseek'
devopen.c:510: `SEEK_SET' undeclared (first use in this function)
devopen.c:511: warning: implicit declaration of function `read'
devopen.c:541: warning: implicit declaration of function `fclose'
devopen.c:542: warning: implicit declaration of function `close'
make[1]: *** [devopen.o] Error 1
Updating dependencies in /home/bjay/microwin-0.89/src/fonts ...
Compiling helvB10.c ...
In file included from helvB10.c:2:
/home/bjay/microwin-0.89/src/include/device.h:604:22: sys/time.h: No such file 
or directory
In file included from helvB10.c:2:
/home/bjay/microwin-0.89/src/include/device.h:613: field `timeout' has 
incomplete type
make[1]: *** [helvB10.o] Error 1
Updating dependencies in /home/bjay/microwin-0.89/src/nanox ...
Compiling clientfb.c ...
clientfb.c:6:19: stdio.h: No such file or directory
clientfb.c:7:20: stdlib.h: No such file or directory
clientfb.c:8:20: unistd.h: No such file or directory
clientfb.c:9:19: fcntl.h: No such file or directory
clientfb.c:10:23: sys/ioctl.h: No such file or directory
clientfb.c:11:22: sys/mman.h: No such file or directory
clientfb.c: In function `GrOpenClientFramebuffer':
clientfb.c:47: `NULL' undeclared (first use in this function)
clientfb.c:47: (Each undeclared identifier is reported only once
clientfb.c:47: for each function it appears in.)
clientfb.c:52: warning: implicit declaration of function `getenv'
clientfb.c:52: warning: assignment makes pointer from integer without a cast
clientfb.c:54: warning: implicit declaration of function `open'
clientfb.c:54: `O_RDWR' undeclared (first use in this function)
clientfb.c:56: warning: implicit declaration of function `printf'
clientfb.c:61: warning: implicit declaration of function `ioctl'
clientfb.c:82: warning: implicit declaration of function `mmap'
clientfb.c:82: `PROT_READ' undeclared (first use in this function)
clientfb.c:82: `PROT_WRITE' undeclared (first use in this function)
clientfb.c:83: `MAP_SHARED' undeclared (first use in this function)
clientfb.c:98: warning: implicit declaration of function `close'
clientfb.c: In function `GrCloseClientFramebuffer':
clientfb.c:107: warning: implicit declaration of function `munmap'
clientfb.c:108: `NULL' undeclared (first use in this function)
clientfb.c: In function `GrGetWindowFBInfo':
clientfb.c:183: `NULL' undeclared (first use in this function)
make[1]: *** [clientfb.o] Error 1
make: *** [subdirs] Error 2

Your help would be highly appreciated.

Barbra














Previous by date: 11 Dec 2002 02:46:18 -0000 Re: build microwindows-0.89pre9, Aaron J. Grier
Next by date: 11 Dec 2002 02:46:18 -0000 Re: build microwindows-0.89pre9, Greg Haerr
Previous in thread: 11 Dec 2002 02:46:18 -0000 Re: building microwindows on assabet, Jordan Crouse
Next in thread:


Powered by ezmlm-browse 0.20.