RTEMS - sparc/leon3 BSP configure script error

Francois ARSENAULT Francois.Arsenault at mdacorporation.com
Fri Jan 16 12:57:49 UTC 2015


Hello,
I am new to RTEMS and I want to build a RTEMS application for the sparc/leon3 BSP.
For start, I just want to compile/build RTEMS as is without any modification.

I have the following issue: when executed, the "configure" script generates this error:
../../configure --target=sparc-rtems --prefix=/cygdrive/c/COLKa/src/rtems-4.10.2
../../configure: line 1779: syntax error near unexpected token `.'
../../configure: line 1779: `RTEMS_TOP(.)'

Here are the details of the host/target and build commands
1) The host is Windows7/Cygwin-32bits
2) The RTEMS version is rtems-4.10.2.tar.bz2 (downloaded from http://git.rtems.org/rtems/)
3) Build commands:
tar xjvf rtems-4.10.2.tar.bz2
cd rtems-4.10.2
ln -s /bin/gcc.exe /bin/cc.exe
export PATH=/cygdrive/c/opt/sparc-elf-4.4.2-mingw/bin:/cygdrive/c/opt/rtems-4.10-mingw/bin:${PATH}
aclocal-1.11
autoscan-2.69
autoconf-2.69
automake-1.11 --add-missing
cd tools/build
../../configure -target=sparc-rtems -prefix=/cygdrive/c/COLKa/src/rtems-4.10.2

THIS COMMAND GENERATES THE FOLLOWING ERRORS:
../../configure: line 1779: syntax error near unexpected token `.'
../../configure: line 1779: `RTEMS_TOP(.)'

It seems that "RTEMS_TOP" is not defined.
I have also tried a RTEMS Gaisler distribution (rtems-4.8-1.1.2-src.tar.bz2) using  a Linux/Ubuntu host and I have the same error.
I have also try different autoconf and automake versions and I have the same error.
How can I fix this issue?

Thanks,
Francois Arsenault
Software Engineer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150116/3cc7d454/attachment-0001.html>


More information about the devel mailing list