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: error linking tk's eb40 and my eb40a hal


On Thu, 2002-06-27 at 13:36, Tim Drury wrote:
> 
> I get a strange error when compiling vectors.S.  This occurs for
> both Thomas' eb40 hal (latest patch) and my eb40a hal which is
> a copy of his.  This _only_ occurs when building redboot for ROM -
> everything works fine for the RAM version.
> 
> -tim
> 
> make[1]: Entering directory 
> `/usr/local/ecos/build-redboot/hal/arm/arch/current'
> arm-elf-gcc -Wp,-MD,vectors.tmp  
> -I/usr/local/ecos/build-redboot/install/include 
> -I/usr/local/ecos/cvs/ecos/packages/hal/arm/arch/current 
> -I/usr/local/ecos/cvs/ecos/packages/hal/arm/arch/current/src 
> -I/usr/local/ecos/cvs/ecos/packages/hal/arm/arch/current/tests -I. 
> -mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith 
> -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 
> -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc 
> -finit-priority -c -o /usr/local/ecos/build-redboot/install/lib/vectors.o 
> /usr/local/ecos/cvs/ecos/packages/hal/arm/arch/current/src/vectors.S
> /usr/local/ecos/build-redboot/install/include/cyg/hal/hal_platform_setup.h: 
> Assembler messages:
> /usr/local/ecos/build-redboot/install/include/cyg/hal/hal_platform_setup.h:99: 
> Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
> /usr/local/ecos/build-redboot/install/include/cyg/hal/hal_platform_setup.h:99: 
> Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
> /usr/local/ecos/build-redboot/install/include/cyg/hal/hal_platform_setup.h:99: 
> Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
> /usr/local/ecos/build-redboot/install/include/cyg/hal/hal_platform_setup.h:99: 
> Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
> make[1]: *** [/usr/local/ecos/build-redboot/install/lib/vectors.o] Error 1

Sometimes these things are hard to pin down.  Try using #if 0/#endif
within that file to isolate the line that's causing the problems.


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