icrowindows on RTEMS more...

Joel Sherrill joel.sherrill at OARcorp.com
Wed Apr 23 17:47:34 UTC 2003



Bert wrote:
> 
> versions:
> microwindows-0.89.tar.gz
> rtems-20030128
> RedHat 7.2
> 
> what i did:
> unzip microwindows-0.89.tar.gz, cp Config/config.rtems config and
> modify it like: RTEMS_BUILD=/opt/rtems/i386-rtems RTEMS_BSP=pc386,
> modify the file Makefile.rules to delete -c option of compilers.
> 
> BELOW is part of the ERROR code:
> 
> make -C drivers;  make -C mwin;  make -C engine;
> make -C fonts;  make -C nanox;
> make[1]: Entering directory `/tmp/Microwindows/microwin-0.89/src/drivers'
> scr_rtems.c:24:25: warning: No include path in which to find rtems/mw_fb.h
> input_rtems.c:32:26: warning: No include path in which to find rtems/mw_uid.h
> gsselect_rtems.c:26:26: warning: No include path in which to find rtems/mw_uid.h
> mwselect_rtems.c:25:26: warning: No include path in which to find rtems/mw_uid.h

Did you actually build AND install the RTEMS BSP pc386 before doing
this?

If so, then I suspect that some reorganization on the RTEMS install tree
has tripped up paths in the Microwindows RTEMS configure stuff.

do a find /opt/rtems -name "mw_uid.h" to make sure it is there.

> /tmp/Microwindows/microwin-0.89/src/drivers/fblin8.c:320: undefined reference to `gr_palette'
> 
> /opt/rtems/i386-rtems/pc386/lib/librtemscpu.a(dummy.o): In function `Init':
> /usr/local/RTEMS/build/i386-rtems/c/pc386/exec/libmisc/dummy/../../../../../../../rtems-ss-20030128/cpukit/libmisc/dummy/dummy.c:150: undefined reference to `main'
> collect2: ld returned 1 exit status
> make[2]: *** [car8.o] Error 1

This port doesn't appear to have been updated since main() moved from
BSP
space to user application space.  But the fact you are even pulling 
dummy.c out of the library is a hint at some symbols that must be
missing
somewhere.

> /tmp/ccGmEBIm.o: In function `Draw3dShadow':
> /tmp/Microwindows/microwin-0.89/src/mwin/winlib/draw3d.c:28: undefined reference to `CreatePen'
> In file included from devopen.c:19:
> /tmp/Microwindows/microwin-0.89/src/include/swap.h:71:2: #error Need to define byte swapping macros for this machine
> 
> devopen.c: In function `GdCaptureScreen':
> devopen.c:451: warning: implicit declaration of function `dwswap'
> devopen.c:456: warning: implicit declaration of function `wswap'
> make[1]: *** [devopen.o] Error 1
> 
> srvmain.c: In function `GrDelay':
> srvmain.c:316: warning: implicit declaration of function `select'
> /tmp/cc8xMO4y.o: In function `GsInitialize':
> /tmp/Microwindows/microwin-0.89/src/nanox/srvmain.c:639: undefined reference to `GdOpenKeyboard'
> /opt/rtems/i386-rtems/pc386/lib/librtemscpu.a(rtems_glue.o):/usr/local/RTEMS/build/i386-rtems/c/pc386/exec/libnetworking/../../../../../../rtems-ss-20030128/cpukit/libnetworking/rtems/rtems_glue.c:808: more undefined references to `rtems_bsdnet_config' follow

You have to provide network configuration that is appropriate for your
target.

> collect2: ld returned 1 exit status
> make[1]: *** [srvmain.o] Error 1
> make[1]: Leaving directory `/tmp/Microwindows/microwin-0.89/src/nanox'
> make: *** [subdirs] Error 2
> ----------------------------------------------
> Ãâ·ÑÍæÆ»¹ûÅÉÍøÂçÓÎÏ·£¬ÓÃ21CNÓÊÏä×¢²áËͲÊÆÁÊÖ»ú¼°¼ÛÖµÊýÊ®ÍòµÄ¾«ÃÀ½±Æ·
> http://www.appie.com.cn
> Áô¸øÕŹúÈÙ×î°®µÄ˵»°
> http://sms.21cn.com/leslie/
> ½¡¿µÐÔ¹ÛÄîÏíÊÜÃÀÃîµÄʱ¿Ì
> http://sms.21cn.com/sexxy.jsp
> 21CN²ÊÐÅÓÊ£¬ÉùÉ«²ÊÐÅ£¬×ÔÓÉÊÕ·¢
> http://mail.21cn.com/huodong/0304/
> ÐÂÔöHTML±à¼­Æ÷£¬ÁîÓʼþ¸ü³öÉ«
> http://mail.21cn.com/bijiao/02.html

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list