From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11671 invoked by alias); 1 Jul 2005 18:37:56 -0000 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 Received: (qmail 11639 invoked by uid 22791); 1 Jul 2005 18:37:51 -0000 Received: from mail46.messagelabs.com (HELO mail46.messagelabs.com) (216.82.241.227) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Fri, 01 Jul 2005 18:37:51 +0000 X-VirusChecked: Checked X-Env-Sender: RBulusu@reptron.com X-Msg-Ref: server-15.tower-46.messagelabs.com!1120243069!6026864!1 X-StarScan-Version: 5.4.15; banners=-,-,- Received: (qmail 12893 invoked from network); 1 Jul 2005 18:37:49 -0000 Received: from mail.kbyte.net (HELO tampaserver.kbyte.net) (65.196.142.131) by server-15.tower-46.messagelabs.com with SMTP; 1 Jul 2005 18:37:49 -0000 Message-ID: <798224455D1F52429C9A29E5374CDED886A701@k-byteexchange.kbyte.net> From: Raghu Bulusu To: "'ecos-discuss@sources.redhat.com'" Date: Fri, 01 Jul 2005 18:37:00 -0000 MIME-Version: 1.0 Content-Type: text/plain Subject: [ECOS] Build Error for new Hardware X-SW-Source: 2005-07/txt/msg00019.txt.bz2 Hi, I am getting the following error when I am building ecos for a custom hardware board with SH7750 on it. What could be possibly wrong make[1]: Leaving directory `/ecos-c/MDP/ecos/sh7750/mdp7750_build/hal/common/current' /ecos-c/MDP/ecos/sh7750/mdp7750_install/lib/libtarget.a(redboot_main.o): In function `valid_address': make: Leaving directory `/ecos-c/MDP/ecos/sh7750/mdp7750_build' /ecos-c/cygwin/opt/ecos/ecos-cvs/packages/redboot/current/src/main.c:160: multiple definition of `_cyg_start' src/stubrom/gdb_module.o:/ecos-c/cygwin/opt/ecos/ecos-cvs/packages/hal/commo n/current/src/stubrom/stubrom.c:57: first defined here /opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/../../../../sh-elf /bin/ld: Warning: size of symbol `_cyg_start' changed from 24 to 656 in /ecos-c/MDP/ecos/sh7750/mdp7750_install/lib/libtarget.a(redboot_main.o) /opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/../../../../sh-elf /bin/ld: address 0x8c00538 of /ecos-c/MDP/ecos/sh7750/mdp7750_install/bin/gdb_module.img section .data is not within region ram /opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/../../../../sh-elf /bin/ld: address 0x8c05794 of /ecos-c/MDP/ecos/sh7750/mdp7750_install/bin/gdb_module.img section .bss is not within region ram collect2: ld returned 1 exit status make[1]: *** [/ecos-c/MDP/ecos/sh7750/mdp7750_install/bin/gdb_module.img] Error 1 make: *** [build] Error 2 This is what my ..rom.ldi file look like MEMORY { ram : ORIGIN = 0x8c000000, LENGTH = 0x04000000 rom : ORIGIN = 0x80000000, LENGTH = 0x01000000 } SECTIONS { SECTIONS_BEGIN SECTION_vectors (rom, 0x80000000, LMA_EQ_VMA) SECTION_text (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_fini (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA) SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA) SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA) SECTION_data (ram, 0x8c000000, FOLLOWING (.gcc_except_table)) SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA) CYG_LABEL_DEFN(__heap1) = ALIGN (0x8); SECTIONS_END } I observed that the address pointed by error is no where in the region of ram or rom.Any help would be great. Thanks, Raghu -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss