Yet more MinGW Build Issues

Sam Lost slostuk at gmail.com
Fri Oct 22 07:46:16 UTC 2010


Some addational information

when attempting to run bootstrap on the code extracted CVS code I get the
following errors

However I receive the following errors:

./c
./c/src/ada-tests
 is already registered with AC_CONFIG_FILES.
../../lib/autoconf/status.m4:290: AC_CONFIG_FILESis expanded from...
configure.ac:57: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status:1
is already registered with AC_CONFIG_FILES.
../../lib/autoconf/status.m4:290: AC_CONFIG_FILESis expanded from...
configure.ac:57: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
automake: autoconf failed with exit status: 1

Any ideas?


On Thu, Oct 21, 2010 at 1:45 PM, Sam Lost <slostuk at gmail.com> wrote:

> Many Thanks, now for the next road block, I have download 4.10 from CVS. I
> run the boot strap srcipt, and I get the following error.
>
> autom4te: /usr/bin/mr failed with exit status: 1
>
> If I run m4 --version the following is returned
>
> m4 (GNU M4) 1.4.14
>
> I also had to source the msys-crypt-0.dll.
>
> Regards
>
> Sam W
>
>   On Thu, Oct 21, 2010 at 12:43 PM, Daron Chabot <daron.chabot at gmail.com>wrote:
>
>> It's cleverly hidden amongst the gcc tarballs:
>>
>>
>> http://www.rtems.org/ftp/pub/rtems/mingw32/4.10/rtems-4.10-powerpc-rtems4.10-gcc/rtems-4.10-powerpc-rtems4.10-newlib-1.18.0-17.tar.bz2
>>
>>
>>
>>   On Thu, Oct 21, 2010 at 7:06 AM, Sam Lost <slostuk at gmail.com> wrote:
>>
>>>   Many Thanks for your help this morning, I am having some trouble
>>> locating the following file
>>>
>>> rtems-4.10-powerpc-rtems4.10-newlib-1.18.0-17.tar.bz2
>>>
>>> Where might a locate this file.
>>>
>>> Regards
>>>
>>> William
>>>
>>> On Thu, Oct 21, 2010 at 10:15 AM, Chris Johns <chrisj at rtems.org> wrote:
>>>
>>>> On 21/10/10 12:24 AM, Sam Lost wrote:
>>>>
>>>>> I would be happy to use 4.10 however, the link given in the following
>>>>> document is incorrect:
>>>>>
>>>>
>>>> Ok lets work on 4.10.
>>>>
>>>>
>>>>
>>>>> http://www.rtems.com/onlinedocs/doc-current/share/rtems/html/started/started00054.html
>>>>>
>>>>
>>>> That could be true. Things have changed and the documentation has not
>>>> been updated. MinGW is changing the way you use it so lets work with the
>>>> latest and get it into the list archive.
>>>>
>>>> Head over to http://sourceforge.net/projects/mingw/files/.
>>>>
>>>> Download mingw-get-inst-20100813.exe and run. I selected the C++ and
>>>> MSYS Base System option in the "Select Components" section. You may need to
>>>> scroll down to find "MSYS Basic System". It will open a cmd.exe box and then
>>>> download most of the needed bits.
>>>>
>>>> A missing package not downloaded is perl. Open the MSYS link on the
>>>> MinGW file page and look for the latest perl version and download the bin
>>>> lzma file. Open a MSYS shell. It is under "C:\MinGW\msys\1.0".
>>>>
>>>> Enter these commands:
>>>>
>>>>  $ cd /c/MinGW/msys/1.0
>>>>  $ cat ~/My\ Documents/Downloads/perl-5.6.1_2-2-msys-1.0.13-bin.tar.lzma
>>>> | lzma -d | tar xvf -
>>>>
>>>> Now edit "/etc/fstab" to have:
>>>>
>>>>  $ cat /etc/fstab
>>>>  C:\MinGW\   /mingw
>>>>  c:\opt\     /opt
>>>>
>>>> Note, this is c:\MinGW\msys\1.0\etc\fstab. It also assumes you have a
>>>> directory c:\opt. If not please add.
>>>>
>>>> Now download the prebuild tar files from the RTEMS ftp users (or a
>>>> mirror) found here:
>>>>
>>>>  http://www.rtems.org/ftp/pub/rtems/mingw32/4.10/
>>>>
>>>> I will download the PowerPC target. The list is:
>>>>
>>>>  rtems-4.10-powerpc-rtems4.10-binutils-2.20.1-3.tar.bz2
>>>>  rtems-4.10-powerpc-rtems4.10-gcc-4.4.5-2.tar.bz2
>>>>  rtems-4.10-powerpc-rtems4.10-gcc-c++-4.4.5-2.tar.bz2
>>>>  rtems-4.10-powerpc-rtems4.10-gcc-libgcc-4.4.5-2.tar.bz2
>>>>  rtems-4.10-powerpc-rtems4.10-gcc-libstdc++-4.4.5-2.tar.bz2
>>>>  rtems-4.10-powerpc-rtems4.10-newlib-1.18.0-17.tar.bz2
>>>>
>>>> To installed, in the MSYS shell enter:
>>>>
>>>>  $ cd /c
>>>>  $ cat ~/My\
>>>> Documents/Downloads/rtems-4.10-powerpc-rtems4.10-binutils-2.20.1-3.tar.bz2 |
>>>> bzip2 -d | tar xvf -
>>>>  $ cat ~/My\
>>>> Documents/Downloads/rtems-4.10-powerpc-rtems4.10-gcc-4.4.5-2.tar.bz2 | bzip2
>>>> -d | tar xvf -
>>>>  $ cat ~/My\
>>>> Documents/Downloads/rtems-4.10-powerpc-rtems4.10-gcc-c++-4.4.5-2.tar.bz2 |
>>>> bzip2 -d | tar xvf -
>>>>  $ cat ~/My\
>>>> Documents/Downloads/rtems-4.10-powerpc-rtems4.10-gcc-libgcc-4.4.5-2.tar.bz2
>>>> | bzip2 -d | tar xvf -
>>>>  $ cat ~/My\
>>>> Documents/Downloads/rtems-4.10-powerpc-rtems4.10-gcc-libstdc++-4.4.5-2.tar.bz2
>>>> | bzip2 -d | tar xvf -
>>>>  $ cat ~/My\
>>>> Documents/Downloads/rtems-4.10-powerpc-rtems4.10-newlib-1.18.0-17.tar.bz2 |
>>>> bzip2 -d | tar xvf -
>>>>
>>>> You also need to install the autoconf and automake packages.
>>>>
>>>>  $ cd /c
>>>>  $ cat ~/My\ Documents/Downloads/rtems-4.10-autoconf-2.68-1.tar.bz2 |
>>>> bzip2 -d | tar xvf -
>>>>  $ cat ~/My\ Documents/Downloads/rtems-4.10-automake-1.11.1-2.tar.bz2 |
>>>> bzip2 -d | tar xvf -
>>>>
>>>> Update your path and you should be able to build RTEMS from the 4.10
>>>> branch.
>>>>
>>>> If you get a zlib dll error look in the MinGW bin directory for a zlib
>>>> dll and copy it to the name the RTEMS tools reports. I will update this
>>>> thread with that info when I see it.
>>>>
>>>> Chris
>>>>
>>>
>>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.org
>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20101022/c0cf8c11/attachment-0001.html>


More information about the users mailing list