RTEMS 4.11.0 build fails on Windows
Linda Huxley
lhuxley at shaw.ca
Thu Apr 13 19:49:03 UTC 2017
From a previous posting of mine, concerning an RTEMS kernel build:
> Those errors don't terminate the build, but the build fails later with
> the following error:
>
> checking for sparc-rtems4.11.0-gcc... no
> configure: error: no acceptable cc found in $PATH
This error was caused by the --prefix problem (my fault) that I reported
in a previous post. gcc was built, but was not in the correct directory.
I'm now trying to build the RTEMS kernel on top of a clean 4.11.2-RC4
tools build. I am issuing the following commands:
$ export PATH=/c/opt/rtems/r4.11.2/bin:$PATH
$ cd /c/opt/rtems
$ mkdir kernel
$ cd kernel
$ git clone git://git.rtems.org/rtems.git rtems
$ cd rtems
$ ./bootstrap -c && ./bootstrap -p && \
/c/opt/rtems/r4.11.2/source-builder/sb-bootstrap
$ cd ..
$ mkdir erc32
$ cd erc32
$ /c/opt/rtems/kernel/rtems/configure --prefix=/c/opt/rtems/r4.11.2 \
--target=sparc-rtems4.11 --enable-rtemsbsp=erc32 --enable-posix
$ make -j 1
As before, the last command command fails. A log of the output from
make is attached. The salient error message is:
checking for struct _Thread_queue_Queue._name... no
configure: error: please update your tool chain via the RSB
<https://docs.rtems.org/branches/master/rsb/quick-start.html>
configure: error: /bin/sh
'/c/opt/rtems/kernel/rtems/c/src/../../cpukit/configure' failed for
../../cpukit
make[2]: *** [Makefile:755: erc32] Error 1
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
make[1]: *** [Makefile:286: all-recursive] Error 1
make[1]: Leaving directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
make: *** [Makefile:410: all-recursive] Error 1
Apparently I'm missing something that's needed. I'm not sure that there
is anything that I can do to update my tool chain any more than it is.
Has anybody seen this error?
Thanks,
Linda
On 2017-04-12 16:53, Linda Huxley wrote:
> Hi Chris,
>
> The fix recommended by Gedare worked, and my RTEMS tools build completed
> without incident.
>
> Section "5.2.1. RTEMS Tools and Kernel" of the RTEMS User Manual 4.11.99
> ends with the following statement:
>
> "You can now build a 3rd party library or an application as defailted in
> TBD."
>
> But there are no instructions to build the RTEMS kernel within that
> section. Is that what is intended?
>
> I went back to section "3. Quick Start" for instructions on how to build
> the kernel. The first command for building the kernel is:
>
> $ export PATH=$HOME/development/rtems/4.12/bin:$PATH
>
> My directory tree is different, so the corresponding command would be:
>
> $ export PATH=/c/opt/rtems/4.11.0/bin:$PATH
>
> But the preceding tools build did not create that directory. Is that
> right?
>
> I found the following directory instead:
>
>
/c/opt/rtems/4.11.0/rtems/build/tmp/sb-Linda/C/msys64/opt/rtems/4.11.0/bin
>
> So I created the "/c/opt/rtems/4.11.0/bin" directory and I copied the
> contents of the other bin directory into it. Then I ran the following
> commands:
>
> $ export PATH=/c/opt/rtems/4.11.0/bin:$PATH
> $ cd /c/opt/rtems
> $ mkdir kernel
> $ cd kernel
> $ git clone git://git.rtems.org/rtems.git rtems
> $ cd rtems
> $ ./bootstrap -c && ./bootstrap -p && \
> /c/opt/rtems/4.11.0/source-builder/sb-bootstrap
> $ cd ..
> $ mkdir erc32
> $ cd erc32
> $ /c/opt/rtems/kernel/rtems/configure --prefix=/c/opt/rtems/4.11.0 \
> --target=sparc-rtems4.11.0 --enable-rtemsbsp=erc32 --enable-posix
> $ make -j 8
>
> However, the final command failed. The following errors occurred:
>
> In file included from
> C:/opt/rtems/kernel/rtems/tools/build/cklength.c:27:0:
> C:/opt/rtems/kernel/rtems/tools/build/cklength.c: In function 'error':
> C:/opt/rtems/kernel/rtems/tools/build/cklength.c:251:16: warning:
> '_errno' redeclared without dllimport attribute: previous dllimport
> ignored [-Wattributes]
> extern int errno;
> ^
> In file included from
> C:/opt/rtems/kernel/rtems/tools/build/eolstrip.c:22:0:
> C:/opt/rtems/kernel/rtems/tools/build/eolstrip.c: In function 'error':
> C:/opt/rtems/kernel/rtems/tools/build/eolstrip.c:245:16: warning:
> '_errno' redeclared without dllimport attribute: previous dllimport
> ignored [-Wattributes]
> extern int errno;
> ^
> In file included from C:/opt/rtems/kernel/rtems/tools/build/unhex.c:36:0:
> C:/opt/rtems/kernel/rtems/tools/build/unhex.c: In function 'error':
> C:/opt/rtems/kernel/rtems/tools/build/unhex.c:687:16: warning: '_errno'
> redeclared without dllimport attribute: previous dllimport ignored
> [-Wattributes]
> extern int errno;
> ^
>
> Those errors look suspiciously like the problem that I ran into with
> cfns.h. Is there perhaps a patch or a fix?
>
> Those errors don't terminate the build, but the build fails later with
> the following error:
>
> checking for sparc-rtems4.11.0-gcc... no
> configure: error: no acceptable cc found in $PATH
>
> Thanks,
>
> Linda
Kernel build.log
/c/opt/rtems/kernel/erc32 $ make -j 1
Making all in tools/build
make[1]: Entering directory '/c/opt/rtems/kernel/erc32/tools/build'
make all-am
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/tools/build'
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT cklength.o -MD
-MP -MF .deps/cklength.Tpo -c -o cklength.o
/c/opt/rtems/kernel/rtems/tools/build/cklength.c
In file included from C:/opt/rtems/kernel/rtems/tools/build/cklength.c:27:0:
C:/opt/rtems/kernel/rtems/tools/build/cklength.c: In function 'error':
C:/opt/rtems/kernel/rtems/tools/build/cklength.c:251:16: warning:
'_errno' redeclared without dllimport attribute: previous dllimport
ignored [-Wattributes]
extern int errno;
^
mv -f .deps/cklength.Tpo .deps/cklength.Po
x86_64-w64-mingw32-gcc -g -O2 -o cklength.exe cklength.o
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT eolstrip.o -MD
-MP -MF .deps/eolstrip.Tpo -c -o eolstrip.o
/c/opt/rtems/kernel/rtems/tools/build/eolstrip.c
In file included from C:/opt/rtems/kernel/rtems/tools/build/eolstrip.c:22:0:
C:/opt/rtems/kernel/rtems/tools/build/eolstrip.c: In function 'error':
C:/opt/rtems/kernel/rtems/tools/build/eolstrip.c:245:16: warning:
'_errno' redeclared without dllimport attribute: previous dllimport
ignored [-Wattributes]
extern int errno;
^
mv -f .deps/eolstrip.Tpo .deps/eolstrip.Po
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT compat.o -MD -MP
-MF .deps/compat.Tpo -c -o compat.o
/c/opt/rtems/kernel/rtems/tools/build/compat.c
mv -f .deps/compat.Tpo .deps/compat.Po
x86_64-w64-mingw32-gcc -g -O2 -o eolstrip.exe eolstrip.o compat.o
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT packhex.o -MD -MP
-MF .deps/packhex.Tpo -c -o packhex.o
/c/opt/rtems/kernel/rtems/tools/build/packhex.c
mv -f .deps/packhex.Tpo .deps/packhex.Po
x86_64-w64-mingw32-gcc -g -O2 -o packhex.exe packhex.o
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT unhex.o -MD -MP
-MF .deps/unhex.Tpo -c -o unhex.o
/c/opt/rtems/kernel/rtems/tools/build/unhex.c
In file included from C:/opt/rtems/kernel/rtems/tools/build/unhex.c:36:0:
C:/opt/rtems/kernel/rtems/tools/build/unhex.c: In function 'error':
C:/opt/rtems/kernel/rtems/tools/build/unhex.c:687:16: warning: '_errno'
redeclared without dllimport attribute: previous dllimport ignored
[-Wattributes]
extern int errno;
^
mv -f .deps/unhex.Tpo .deps/unhex.Po
x86_64-w64-mingw32-gcc -g -O2 -o unhex.exe unhex.o compat.o
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT rtems-bin2c.o -MD
-MP -MF .deps/rtems-bin2c.Tpo -c -o rtems-bin2c.o
/c/opt/rtems/kernel/rtems/tools/build/rtems-bin2c.c
mv -f .deps/rtems-bin2c.Tpo .deps/rtems-bin2c.Po
x86_64-w64-mingw32-gcc -g -O2 -o rtems-bin2c.exe rtems-bin2c.o compat.o
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/build'
make[1]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/build'
Making all in tools/cpu
make[1]: Entering directory '/c/opt/rtems/kernel/erc32/tools/cpu'
Making all in generic
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/tools/cpu/generic'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/cpu/generic'
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/tools/cpu'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/cpu'
make[1]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/cpu'
Making all in testsuites/tools
make[1]: Entering directory '/c/opt/rtems/kernel/erc32/testsuites/tools'
Making all in generic
make[2]: Entering directory
'/c/opt/rtems/kernel/erc32/testsuites/tools/generic'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory
'/c/opt/rtems/kernel/erc32/testsuites/tools/generic'
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/testsuites/tools'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/testsuites/tools'
make[1]: Leaving directory '/c/opt/rtems/kernel/erc32/testsuites/tools'
Making all in sparc-rtems4.11/c
make[1]: Entering directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
Making all in .
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
Configuring RTEMS_BSP=erc32
configure: loading site script /mingw64/etc/config.site
checking for gmake... no
checking for make... make
checking build system type... x86_64-w64-mingw32
checking host system type... sparc-unknown-rtems4.11
checking rtems target cpu... sparc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for sparc-rtems4.11-strip... sparc-rtems4.11-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for RTEMS_BSP... erc32
checking whether BSP supports networking... yes
checking whether CPU supports libposix... yes
configure: setting up make/custom
configure: creating make/erc32.cache
make[3]: Entering directory
'/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c/erc32'
make[3]: Leaving directory
'/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c/erc32'
checking for RTEMS_CPU_MODEL... erc32
checking for RTEMS_BSP_FAMILY... erc32
checking for CPU_CFLAGS... (cached) -mcpu=cypress
checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g -ffunction-sections
-fdata-sections
checking for style of include used by make... GNU
checking for sparc-rtems4.11-gcc... sparc-rtems4.11-gcc
checking for sparc-rtems4.11-gcc... (cached) sparc-rtems4.11-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether sparc-rtems4.11-gcc accepts -g... yes
checking for sparc-rtems4.11-gcc option to accept ISO C89... none needed
checking dependency style of sparc-rtems4.11-gcc... gcc3
checking how to run the C preprocessor... sparc-rtems4.11-gcc -E
checking whether sparc-rtems4.11-gcc accepts -isystem... no
checking whether sparc-rtems4.11-gcc accepts --pipe... yes
checking whether sparc-rtems4.11-gcc --pipe accepts -specs... yes
checking whether CPU supports SMP... disabled
checking for sparc-rtems4.11-g++... sparc-rtems4.11-g++
checking whether we are using the GNU C++ compiler... yes
checking whether sparc-rtems4.11-g++ accepts -g... yes
checking dependency style of sparc-rtems4.11-g++... gcc3
checking how to run the C++ preprocessor... sparc-rtems4.11-g++ -E
checking whether sparc-rtems4.11-gcc --pipe and cc understand -c and -o
together... yes
checking dependency style of sparc-rtems4.11-gcc --pipe... gcc3
checking for sparc-rtems4.11-ar... sparc-rtems4.11-ar
checking for sparc-rtems4.11-as... sparc-rtems4.11-as
checking for sparc-rtems4.11-ld... sparc-rtems4.11-ld
checking for sparc-rtems4.11-ranlib... sparc-rtems4.11-ranlib
checking whether sparc-rtems4.11-gcc --pipe supports function
__attribute__((weak))... yes
checking if wanting multiprocessing... no
checking for perl... /usr/bin/perl
checking that generated files are newer than configure... done
configure: creating ./config.status
configure: configuring in ../../cpukit
configure: running /bin/sh
'/c/opt/rtems/kernel/rtems/c/src/../../cpukit/configure'
'--prefix=/c/opt/rtems/r4.11.2' '--host=sparc-rtems4.11'
'--build=x86_64-w64-mingw32' '--target=sparc-rtems4.11' '--enable-posix'
'--with-target-subdir=sparc-rtems4.11'
'--exec-prefix=/c/opt/rtems/r4.11.2/sparc-rtems4.11'
'--includedir=/c/opt/rtems/r4.11.2/sparc-rtems4.11/include'
'build_alias=x86_64-w64-mingw32' 'host_alias=sparc-rtems4.11'
'target_alias=sparc-rtems4.11' '--with-project-root=../../'
'--with-project-top=../../' 'RTEMS_BSP=erc32' 'RTEMS_CPU_MODEL=erc32'
'RTEMS_BSP_FAMILY=erc32' 'CFLAGS=-mcpu=cypress -O2 -g
-ffunction-sections -fdata-sections -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs'
'--with-project-root=../../../erc32/'
'--includedir=/c/opt/rtems/r4.11.2/sparc-rtems4.11/erc32/lib/include'
'--libdir=/c/opt/rtems/r4.11.2/sparc-rtems4.11/erc32/lib'
--cache-file=/dev/null --srcdir=/c/opt/rtems/kernel/rtems/c/src/../../cpukit
configure: loading site script /mingw64/etc/config.site
checking for gmake... no
checking for make... make
checking build system type... x86_64-w64-mingw32
checking host system type... sparc-unknown-rtems4.11
checking rtems target cpu... sparc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for sparc-rtems4.11-strip... sparc-rtems4.11-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if cpu sparc is supported... yes
checking for style of include used by make... GNU
checking for sparc-rtems4.11-gcc... sparc-rtems4.11-gcc
checking for sparc-rtems4.11-gcc... (cached) sparc-rtems4.11-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether sparc-rtems4.11-gcc accepts -g... yes
checking for sparc-rtems4.11-gcc option to accept ISO C89... none needed
checking dependency style of sparc-rtems4.11-gcc... gcc3
checking how to run the C preprocessor... sparc-rtems4.11-gcc -E
checking whether sparc-rtems4.11-gcc accepts --pipe... yes
checking whether sparc-rtems4.11-gcc --pipe and cc understand -c and -o
together... yes
checking for sparc-rtems4.11-ar... sparc-rtems4.11-ar
checking for sparc-rtems4.11-ranlib... sparc-rtems4.11-ranlib
checking dependency style of sparc-rtems4.11-gcc --pipe... gcc3
checking for sparc-rtems4.11-ranlib... (cached) sparc-rtems4.11-ranlib
checking for RTEMS newlib... yes
checking for strsep... yes
checking for strcasecmp... yes
checking for snprintf... yes
checking for strdup... yes
checking for strndup... yes
checking for strncasecmp... yes
checking for bcopy... yes
checking for bcmp... yes
checking for isascii... yes
checking for fileno... yes
checking for readdir_r... yes
checking for isatty... yes
checking for creat... yes
checking for opendir... yes
checking for closedir... yes
checking for readdir... yes
checking for rewinddir... yes
checking for scandir... yes
checking for seekdir... yes
checking for sleep... yes
checking for telldir... yes
checking for usleep... yes
checking for __assert... yes
checking for execl... yes
checking for execlp... yes
checking for execle... yes
checking for execv... yes
checking for execvp... yes
checking for execve... yes
checking for regcomp... yes
checking for regexec... yes
checking for regerror... yes
checking for regfree... yes
checking whether flockfile is declared... yes
checking for flockfile... no
checking whether funlockfile is declared... yes
checking for funlockfile... no
checking whether ftrylockfile is declared... yes
checking for ftrylockfile... no
checking for struct _Thread_queue_Queue._name... no
configure: error: please update your tool chain via the RSB
<https://docs.rtems.org/branches/master/rsb/quick-start.html>
configure: error: /bin/sh
'/c/opt/rtems/kernel/rtems/c/src/../../cpukit/configure' failed for
../../cpukit
make[2]: *** [Makefile:755: erc32] Error 1
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
make[1]: *** [Makefile:286: all-recursive] Error 1
make[1]: Leaving directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
make: *** [Makefile:410: all-recursive] Error 1
/c/opt/rtems/kernel/erc32 $ ls
config.log config.status Makefile sparc-rtems4.11 testsuites tools
-------------- next part --------------
/c/opt/rtems/kernel/erc32 $ make -j 1
Making all in tools/build
make[1]: Entering directory '/c/opt/rtems/kernel/erc32/tools/build'
make all-am
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/tools/build'
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT cklength.o -MD -MP -MF .deps/cklength.Tpo -c -o cklength.o /c/opt/rtems/kernel/rtems/tools/build/cklength.c
In file included from C:/opt/rtems/kernel/rtems/tools/build/cklength.c:27:0:
C:/opt/rtems/kernel/rtems/tools/build/cklength.c: In function 'error':
C:/opt/rtems/kernel/rtems/tools/build/cklength.c:251:16: warning: '_errno' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern int errno;
^
mv -f .deps/cklength.Tpo .deps/cklength.Po
x86_64-w64-mingw32-gcc -g -O2 -o cklength.exe cklength.o
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT eolstrip.o -MD -MP -MF .deps/eolstrip.Tpo -c -o eolstrip.o /c/opt/rtems/kernel/rtems/tools/build/eolstrip.c
In file included from C:/opt/rtems/kernel/rtems/tools/build/eolstrip.c:22:0:
C:/opt/rtems/kernel/rtems/tools/build/eolstrip.c: In function 'error':
C:/opt/rtems/kernel/rtems/tools/build/eolstrip.c:245:16: warning: '_errno' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern int errno;
^
mv -f .deps/eolstrip.Tpo .deps/eolstrip.Po
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT compat.o -MD -MP -MF .deps/compat.Tpo -c -o compat.o /c/opt/rtems/kernel/rtems/tools/build/compat.c
mv -f .deps/compat.Tpo .deps/compat.Po
x86_64-w64-mingw32-gcc -g -O2 -o eolstrip.exe eolstrip.o compat.o
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT packhex.o -MD -MP -MF .deps/packhex.Tpo -c -o packhex.o /c/opt/rtems/kernel/rtems/tools/build/packhex.c
mv -f .deps/packhex.Tpo .deps/packhex.Po
x86_64-w64-mingw32-gcc -g -O2 -o packhex.exe packhex.o
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT unhex.o -MD -MP -MF .deps/unhex.Tpo -c -o unhex.o /c/opt/rtems/kernel/rtems/tools/build/unhex.c
In file included from C:/opt/rtems/kernel/rtems/tools/build/unhex.c:36:0:
C:/opt/rtems/kernel/rtems/tools/build/unhex.c: In function 'error':
C:/opt/rtems/kernel/rtems/tools/build/unhex.c:687:16: warning: '_errno' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
extern int errno;
^
mv -f .deps/unhex.Tpo .deps/unhex.Po
x86_64-w64-mingw32-gcc -g -O2 -o unhex.exe unhex.o compat.o
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I/c/opt/rtems/kernel/rtems/tools/build -g -O2 -MT rtems-bin2c.o -MD -MP -MF .deps/rtems-bin2c.Tpo -c -o rtems-bin2c.o /c/opt/rtems/kernel/rtems/tools/build/rtems-bin2c.c
mv -f .deps/rtems-bin2c.Tpo .deps/rtems-bin2c.Po
x86_64-w64-mingw32-gcc -g -O2 -o rtems-bin2c.exe rtems-bin2c.o compat.o
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/build'
make[1]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/build'
Making all in tools/cpu
make[1]: Entering directory '/c/opt/rtems/kernel/erc32/tools/cpu'
Making all in generic
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/tools/cpu/generic'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/cpu/generic'
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/tools/cpu'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/cpu'
make[1]: Leaving directory '/c/opt/rtems/kernel/erc32/tools/cpu'
Making all in testsuites/tools
make[1]: Entering directory '/c/opt/rtems/kernel/erc32/testsuites/tools'
Making all in generic
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/testsuites/tools/generic'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/testsuites/tools/generic'
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/testsuites/tools'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/testsuites/tools'
make[1]: Leaving directory '/c/opt/rtems/kernel/erc32/testsuites/tools'
Making all in sparc-rtems4.11/c
make[1]: Entering directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
Making all in .
make[2]: Entering directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
Configuring RTEMS_BSP=erc32
configure: loading site script /mingw64/etc/config.site
checking for gmake... no
checking for make... make
checking build system type... x86_64-w64-mingw32
checking host system type... sparc-unknown-rtems4.11
checking rtems target cpu... sparc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for sparc-rtems4.11-strip... sparc-rtems4.11-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for RTEMS_BSP... erc32
checking whether BSP supports networking... yes
checking whether CPU supports libposix... yes
configure: setting up make/custom
configure: creating make/erc32.cache
make[3]: Entering directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c/erc32'
make[3]: Leaving directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c/erc32'
checking for RTEMS_CPU_MODEL... erc32
checking for RTEMS_BSP_FAMILY... erc32
checking for CPU_CFLAGS... (cached) -mcpu=cypress
checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g -ffunction-sections -fdata-sections
checking for style of include used by make... GNU
checking for sparc-rtems4.11-gcc... sparc-rtems4.11-gcc
checking for sparc-rtems4.11-gcc... (cached) sparc-rtems4.11-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether sparc-rtems4.11-gcc accepts -g... yes
checking for sparc-rtems4.11-gcc option to accept ISO C89... none needed
checking dependency style of sparc-rtems4.11-gcc... gcc3
checking how to run the C preprocessor... sparc-rtems4.11-gcc -E
checking whether sparc-rtems4.11-gcc accepts -isystem... no
checking whether sparc-rtems4.11-gcc accepts --pipe... yes
checking whether sparc-rtems4.11-gcc --pipe accepts -specs... yes
checking whether CPU supports SMP... disabled
checking for sparc-rtems4.11-g++... sparc-rtems4.11-g++
checking whether we are using the GNU C++ compiler... yes
checking whether sparc-rtems4.11-g++ accepts -g... yes
checking dependency style of sparc-rtems4.11-g++... gcc3
checking how to run the C++ preprocessor... sparc-rtems4.11-g++ -E
checking whether sparc-rtems4.11-gcc --pipe and cc understand -c and -o together... yes
checking dependency style of sparc-rtems4.11-gcc --pipe... gcc3
checking for sparc-rtems4.11-ar... sparc-rtems4.11-ar
checking for sparc-rtems4.11-as... sparc-rtems4.11-as
checking for sparc-rtems4.11-ld... sparc-rtems4.11-ld
checking for sparc-rtems4.11-ranlib... sparc-rtems4.11-ranlib
checking whether sparc-rtems4.11-gcc --pipe supports function __attribute__((weak))... yes
checking if wanting multiprocessing... no
checking for perl... /usr/bin/perl
checking that generated files are newer than configure... done
configure: creating ./config.status
configure: configuring in ../../cpukit
configure: running /bin/sh '/c/opt/rtems/kernel/rtems/c/src/../../cpukit/configure' '--prefix=/c/opt/rtems/r4.11.2' '--host=sparc-rtems4.11' '--build=x86_64-w64-mingw32' '--target=sparc-rtems4.11' '--enable-posix' '--with-target-subdir=sparc-rtems4.11' '--exec-prefix=/c/opt/rtems/r4.11.2/sparc-rtems4.11' '--includedir=/c/opt/rtems/r4.11.2/sparc-rtems4.11/include' 'build_alias=x86_64-w64-mingw32' 'host_alias=sparc-rtems4.11' 'target_alias=sparc-rtems4.11' '--with-project-root=../../' '--with-project-top=../../' 'RTEMS_BSP=erc32' 'RTEMS_CPU_MODEL=erc32' 'RTEMS_BSP_FAMILY=erc32' 'CFLAGS=-mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs' '--with-project-root=../../../erc32/' '--includedir=/c/opt/rtems/r4.11.2/sparc-rtems4.11/erc32/lib/include' '--libdir=/c/opt/rtems/r4.11.2/sparc-rtems4.11/erc32/lib' --cache-file=/dev/null --srcdir=/c/opt/rtems/kernel/rtems/c/src/../../cpukit
configure: loading site script /mingw64/etc/config.site
checking for gmake... no
checking for make... make
checking build system type... x86_64-w64-mingw32
checking host system type... sparc-unknown-rtems4.11
checking rtems target cpu... sparc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for sparc-rtems4.11-strip... sparc-rtems4.11-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if cpu sparc is supported... yes
checking for style of include used by make... GNU
checking for sparc-rtems4.11-gcc... sparc-rtems4.11-gcc
checking for sparc-rtems4.11-gcc... (cached) sparc-rtems4.11-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether sparc-rtems4.11-gcc accepts -g... yes
checking for sparc-rtems4.11-gcc option to accept ISO C89... none needed
checking dependency style of sparc-rtems4.11-gcc... gcc3
checking how to run the C preprocessor... sparc-rtems4.11-gcc -E
checking whether sparc-rtems4.11-gcc accepts --pipe... yes
checking whether sparc-rtems4.11-gcc --pipe and cc understand -c and -o together... yes
checking for sparc-rtems4.11-ar... sparc-rtems4.11-ar
checking for sparc-rtems4.11-ranlib... sparc-rtems4.11-ranlib
checking dependency style of sparc-rtems4.11-gcc --pipe... gcc3
checking for sparc-rtems4.11-ranlib... (cached) sparc-rtems4.11-ranlib
checking for RTEMS newlib... yes
checking for strsep... yes
checking for strcasecmp... yes
checking for snprintf... yes
checking for strdup... yes
checking for strndup... yes
checking for strncasecmp... yes
checking for bcopy... yes
checking for bcmp... yes
checking for isascii... yes
checking for fileno... yes
checking for readdir_r... yes
checking for isatty... yes
checking for creat... yes
checking for opendir... yes
checking for closedir... yes
checking for readdir... yes
checking for rewinddir... yes
checking for scandir... yes
checking for seekdir... yes
checking for sleep... yes
checking for telldir... yes
checking for usleep... yes
checking for __assert... yes
checking for execl... yes
checking for execlp... yes
checking for execle... yes
checking for execv... yes
checking for execvp... yes
checking for execve... yes
checking for regcomp... yes
checking for regexec... yes
checking for regerror... yes
checking for regfree... yes
checking whether flockfile is declared... yes
checking for flockfile... no
checking whether funlockfile is declared... yes
checking for funlockfile... no
checking whether ftrylockfile is declared... yes
checking for ftrylockfile... no
checking for struct _Thread_queue_Queue._name... no
configure: error: please update your tool chain via the RSB <https://docs.rtems.org/branches/master/rsb/quick-start.html>
configure: error: /bin/sh '/c/opt/rtems/kernel/rtems/c/src/../../cpukit/configure' failed for ../../cpukit
make[2]: *** [Makefile:755: erc32] Error 1
make[2]: Leaving directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
make[1]: *** [Makefile:286: all-recursive] Error 1
make[1]: Leaving directory '/c/opt/rtems/kernel/erc32/sparc-rtems4.11/c'
make: *** [Makefile:410: all-recursive] Error 1
/c/opt/rtems/kernel/erc32 $ ls
config.log config.status Makefile sparc-rtems4.11 testsuites tools
More information about the users
mailing list