From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8153 invoked by alias); 17 Jun 2006 08:03:39 -0000 Received: (qmail 8144 invoked by uid 22791); 17 Jun 2006 08:03:38 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 17 Jun 2006 08:03:36 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FrVmG-0001C5-00; Sat, 17 Jun 2006 10:03:32 +0200 Date: Sat, 17 Jun 2006 08:03:00 -0000 To: Gregg Levine , ecos-discuss@sources.redhat.com Message-ID: <20060617080332.GM15848@lunn.ch> Mail-Followup-To: Gregg Levine , ecos-discuss@sources.redhat.com References: <18d205ed0606162050s6b75d0exa25b5300c25f1e6e@mail.gmail.com> <20060617080003.GL15848@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060617080003.GL15848@lunn.ch> User-Agent: Mutt/1.5.11+cvs20060403 From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Strange errors when building Redboot for the SH/Dreamcast platform X-SW-Source: 2006-06/txt/msg00147.txt.bz2 On Sat, Jun 17, 2006 at 10:00:03AM +0200, Andrew Lunn wrote: > On Fri, Jun 16, 2006 at 11:50:07PM -0400, Gregg Levine wrote: > > Hello! > > I am back with the issues of building eCos and Redboot and all of that > > for the Dreamcast platform. It seems even though I checked out the > > entire repository just about two or more hours ago, and updated the > > configuration tools accordingly a problem surfaced. > > sh-elf-gcc -finline-limit=7000 -ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -I/ecos-c/cygwin/usr/local/dc/ecos/test1_install/include -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src -I/usr/local/anoncvs/ecos/packages/hal/sh/arch/current/tests -I. -Wp,-MD,sh_offsets.tmp -o hal_mk_defs.tmp -S /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c > > In file included from /usr/local/anoncvs/ecos/packages/hal/sh/arch/current/src/hal_mk_defs.c:57: > > /ecos-c/cygwin/usr/local/dc/ecos/test1_install/include/cyg/hal/hal_arch.h:60:10: #include expects "FILENAME" or > > First logical question i ask myself. What is line 60 of > /hal/hal_arch.h? > > I guess it is probably something like > > #include CYGBLD_SOME_HEADER_FILE > > So the next logical questions are, why does CYGBLD_SOME_HEADER_FILE not > have a value? Where is it supposed to be defined etc.... FYI: :~/eCos/work2$ rm -fr * :~/eCos/work2$ ecosconfig new dreamcast redboot U CYGPKG_HAL_SH_7750, new inferred value 1 U CYGHWR_HAL_SH_CACHE_ENABLE, new inferred value 0 U CYGDAT_REDBOOT_SH_LINUX_BOOT_ENTRY, new inferred value 0x8C210000 U CYGDAT_REDBOOT_SH_LINUX_BOOT_BASE_ADDR, new inferred value 0x8C001000 U CYGDAT_REDBOOT_SH_LINUX_BOOT_COMMAND_LINE, new inferred value mem=16M U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0 :~/eCos/work2$ ecosconfig tree :~/eCos/work2$ make -s headers finished /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c: In function `lcd_clear': /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c:273: warning: implicit declaration of function `show_xpm' /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c: In function `_hexdigit': /home/lunn/eCos/anoncvs-clean/packages/hal/sh/dreamcast/current/src/fb_support.c:435: warning: control reaches end of non-void function build finished So it builds O.K. for me in the default configuration. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss