public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How to make a image include microwindow ?
@ 2003-10-23 10:18 b8944004
  2003-10-23 10:57 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: b8944004 @ 2003-10-23 10:18 UTC (permalink / raw)
  To: ecos-discuss

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???


thank's for reading:)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] How to make a image include microwindow ?
  2003-10-23 10:18 [ECOS] How to make a image include microwindow ? b8944004
@ 2003-10-23 10:57 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2003-10-23 10:57 UTC (permalink / raw)
  To: b8944004; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-23 10:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-23 10:18 [ECOS] How to make a image include microwindow ? b8944004
2003-10-23 10:57 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).