This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to make a image include microwindow ?


On Thu, 2003-10-23 at 04:12, b8944004 wrote:
> ecos version: download from CVS (2003/10/21)
> my step:
> 1.ecosconfig new ipaq net
> 2.ecosconfig add mw
> 3.ecosconfig tree
> 4.make 
> 5.copy ecos/packages/service...../mw/src/ecos/na* and ecos* to
>   my work directory.
> 6.arm-elf-gcc -D__ECOS -Iinstall/include *.c -Linstall/lib -Ttarget.ld 
>   -nostdlib

> but gcc display.........
> 
> =======
> nanowm_thread.c:48: warning: static declaration for `nanowm_thread' follows 
> non-static
> nanox_thread.c:46: warning: static declaration for `nanox_thread' follows non-
> static
> install/lib/extras.o: In function `ts_lookup':
> /home/flydog/ecos/packages/devs/touch/arm/ipaq/current/src/ipaq_ts.c:276: 
> multiple definition of `_mw_app_ECOS_MW_NANOX_PRIORITY_nanox'
> /tmp/cce8aU2b.o(.ecos.table._mw_apps.data.(11+1)+0x0): first defined here
> install/lib/extras.o(.ecos.table._mw_apps.data.(11+1)+0x10104): multiple 
> definition of `_mw_app_ECOS_MW_NANOX_PRIORITY_nanowm'
> /tmp/ccoZeJjQ.o(.ecos.table._mw_apps.data.(11+1)+0x0): first defined here
> ========
> 
> waht's wrong?
> How to slove the problem???

This is not how you build a MicroWindow application.  Look at
the mw CDL (services/gfx/mw/current/cdl/microwindows.cdl).  The
options "CYGBLD_MICROWINDOWS_ECOS" and "CYGBLD_MICROWINDOWS_ECOS_APP"
can show you how to build a complete application.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]