Error

4 views
Skip to first unread message

vai bas

unread,
Mar 22, 2012, 10:14:39 AM3/22/12
to rtems...@rtems.org
Dear respected RTEMS users,


         I'm trying to build RTEMS in Ubuntu 10.04 LTS. As a helpful document I am using this link : http://www.rtems.org/wiki/index.php/Building_the_RTEMS_toolset_on_Ubuntu . Up to Run bootsrtap everything was okey. In next step in configure and build I got this comment : 
 user - rtems/tools$ ../rtems-4.10.0/configure --enable-rtems-debug \ --target=i386-rtems4.10 --enable-posix --prefix=/opt/rtems-4.10 \ --enable-networking --enable-cxx --enable-rtemsbsp="virtex" --enable-maintainer-mode
bash: ../rtems-4.10.0/configure: No such file or directory

rtems/tools$ ../rtems-4.10.0/configure --enable-rtems-debug \ --target=i386-rtems4.10 --enable-posix --prefix=/opt/rtems-4.10 \ --enable-networking --enable-cxx --enable-rtemsbsp="virtex" --enable-maintainer-mode
bash: ../rtems-4.10.0/configure: No such file or directory

rtems/tools$ cd rtems-4.10.0/

rtems/tools/rtems-4.10.0$ ./configure --enable-rtems-debug \ --target=i386-rtems4.10 --enable-posix --prefix=/opt/rtems-4.10 \ --enable-networking --enable-cxx --enable-rtemsbsp="virtex" --enable-maintainer-modeconfigure: error: invalid variable name: ` --target'

 I have source code 4.10.0 and I have build toolchane for Ubuntu using 4.10 source code!!! What I did wrong above? I have unarchive code in tools directory and done this operation.

     Can someone tell me why it's like this? Thanks as advance



Best regards
Vai 

Joel Sherrill

unread,
Mar 22, 2012, 10:48:38 AM3/22/12
to vai bas, rtems...@rtems.org
On 03/22/2012 09:14 AM, vai bas wrote:
> Dear respected RTEMS users,
>
>
> I'm trying to build RTEMS in Ubuntu 10.04 LTS. As a helpful
> document I am using this link :
> http://www.rtems.org/wiki/index.php/Building_the_RTEMS_toolset_on_Ubuntu .
> Up to Run bootsrtap everything was okey. In next step in configure and
> build I got this comment :
> user - rtems/tools$ ../rtems-4.10.0/configure --enable-rtems-debug \
> --target=i386-rtems4.10 --enable-posix --prefix=/opt/rtems-4.10 \
> --enable-networking --enable-cxx --enable-rtemsbsp="virtex"
> --enable-maintainer-mode
> bash: ../rtems-4.10.0/configure: No such file or directory
>
You have to be in a build directory which is at the same level as the
rtems source.

I also wonder if your cutting and pasting of the command and picking up
the line continuation "\" character could cause issues.


> rtems/tools$ ../rtems-4.10.0/configure --enable-rtems-debug \
> --target=i386-rtems4.10 --enable-posix --prefix=/opt/rtems-4.10 \
> --enable-networking --enable-cxx --enable-rtemsbsp="virtex"
> --enable-maintainer-mode
> bash: ../rtems-4.10.0/configure: No such file or directory
>
> rtems/tools$ cd rtems-4.10.0/
>
> rtems/tools/rtems-4.10.0$ ./configure --enable-rtems-debug \
> --target=i386-rtems4.10 --enable-posix --prefix=/opt/rtems-4.10 \
> --enable-networking --enable-cxx --enable-rtemsbsp="virtex"
> --enable-maintainer-modeconfigure: error: invalid variable name: `
> --target'
>

This is wrong on 3 counts that I see:

+ It is suffering from the \ eating a space and running the
arguments together in an incorrect way.

+ you are trying to compile a powerpc BSP (virtex) using the i386 target
architecture.

i386/pc386
powerpc/virtex

+ You are trying to configure in the RTEMS source tree
which is not supported.


> I have source code 4.10.0 and I have build toolchane for Ubuntu using
> 4.10 source code!!! What I did wrong above? I have unarchive code in
> tools directory and done this operation.
>
> Can someone tell me why it's like this? Thanks as advance
>
>
>
> Best regards
> Vai
>


--
Joel Sherrill, Ph.D. Director of Research& Development
joel.s...@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985


_______________________________________________
rtems-users mailing list
rtems...@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users

Reply all
Reply to author
Forward
0 new messages