Buliding Error

Kumar Amit Mehta gmate.amit at gmail.com
Sun May 18 21:11:43 UTC 2014


On Sun, May 18, 2014 at 10:34:50PM +0200, Kempf, Fabian Ernst-Wilhelm wrote:
> I have an error during building rtems.
> Can someone give me a quick solution how I can fix it.
> 
> The terminal prints:
> 
> config: tools/rtems-gdb-7.7-1.cfg
> package: sparc-rtems4.11-gdb-7.7-1
> building: sparc-rtems4.11-gdb-7.7-1
> error: building sparc-rtems4.11-gdb-7.7-1
> Build FAILED
>   See error report: rsb-report-sparc-rtems4.11-gdb-7.7-1.txt
> Build Set: Time 1:30:18.831806
> Build FAILED
> 
> The log files are attached.
> 

> patching file sim/erc32/sis.h
> Hunk #1 FAILED at 159.
> 1 out of 1 hunk FAILED -- saving rejects to file sim/erc32/sis.h.rej
> shell cmd failed: /bin/sh -ex  /home/rtems/rtems-4.11-work/rtems/rtems-source-builder/rtems/build/sparc-rtems4.11-gdb-7.7-1/doit
> error: building sparc-rtems4.11-gdb-7.7-1

Quick look at the log file suggests me that there is something wrong
with the directory structure as the patching failed. Can you try the
following and see if it works for you:

1: Create a directory for tools(necessary tools for cross compilation
etc.)
bash-4.1$ mkdir -p development/rtems/src

2: Clone the rtems source builder using git
bash-4.1$ cd /home/rtems/development/rtems/src
bash-4.1$ git clone git://git.rtems.org/rtems-source-builder.git
bash-4.1$ cd /home/rtems/development/rtems/src/rtems-source-builder

3: Check dependencies
bash-4.1$ pwd
/home/rtems/development/rtems/src/rtems-source-builder
bash-4.1$ ./source-builder/sb-check
RTEMS Source Builder - Check, v0.2.0
Environment is ok

4: Build the tools
bash-4.1$ cd rtems
6: bash-4.1$ ../source-builder/sb-set-builder --log=l-sparc.txt
--prefix=/home/rtems/development/rtems/4.11 4.11/rtems-sparc
RTEMS Source Builder - Set Builder, v0.2.0
Build Set: 4.11/rtems-sparc

Thanks,
Kumar



More information about the users mailing list