From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19858 invoked by alias); 23 Oct 2003 10:57:15 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 19851 invoked from network); 23 Oct 2003 10:57:14 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 23 Oct 2003 10:57:14 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 6C76C50E0D9; Thu, 23 Oct 2003 04:57:14 -0600 (MDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 103BC50D945; Thu, 23 Oct 2003 04:57:13 -0600 (MDT) From: Gary Thomas To: b8944004 Cc: ecos-discuss@sources.redhat.com In-Reply-To: <20031023095919.M44406@stmail.cgu.edu.tw> References: <20031023095919.M44406@stmail.cgu.edu.tw> Content-Type: text/plain Organization: MLB Associates Message-Id: <1066906632.29481.280.camel@hermes> Mime-Version: 1.0 Date: Thu, 23 Oct 2003 10:57:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: [ECOS] How to make a image include microwindow ? X-SW-Source: 2003-10/txt/msg00409.txt.bz2 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 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