an error about RTEMS compile when make
zhengyazhou
zxya1014 at 163.com
Fri Mar 6 02:47:16 UTC 2015
When I first time configure and make,here comes the error in make :
configure: error: in `/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c/csb337':
configure: error: C compiler cannot create executables
then I execute the command
$ ln -s /bin/gcc.exe /bin/cc.exe ( copy from Using MS-Windows as a Development Host, PartA.2 Cygwin)
then I execute configure and make again, the error changed to
make[2]: *** No rule to make target 'all'。 停止。
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c/csb337'
Makefile:257: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c'
Makefile:275: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Bellowed is the detail of the configure and make
The first time configure and make
first time configure infomation:
$ ../configure --target=arm-rtems4.10 --disable-posix --disable-networking --dis able-cxx --enable-rtemsbsp=csb337 --prefix=/opt/rtems-4.10
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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
configure: creating ./config.status
configure: configuring in ./tools/build
configure: running /bin/sh '../../../tools/build/configure' '--prefix=/opt/rtems -4.10' '--host=x86_64-unknown-cygwin' '--build=x86_64-unknown-cygwin' '--disabl e-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--ta rget=arm-rtems4.10' '--cache-file=/dev/null' '--srcdir=../../../tools/build'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 x86_64-unknown-cygwin-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strerror... yes
checking for strtol... yes
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install-if-change
config.status: creating config.h
config.status: executing depfiles commands
configure: configuring in ./tools/cpu
configure: running /bin/sh '../../../tools/cpu/configure' '--prefix=/opt/rtems-4 .10' '--host=x86_64-unknown-cygwin' '--build=x86_64-unknown-cygwin' '--disable- posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--targ et=arm-rtems4.10' '--cache-file=/dev/null' '--srcdir=../../../tools/cpu'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
=== configuring in generic (/archive/rtems-4.10.2/build-rtems/tools/cpu/generic)
configure: running /bin/sh ../../../../tools/cpu/generic/configure --disable-opt ion-checking '--prefix=/opt/rtems-4.10' '--host=x86_64-unknown-cygwin' '--build =x86_64-unknown-cygwin' '--disable-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--target=arm-rtems4.10' 'build_alias=x86_64-unknown -cygwin' 'host_alias=x86_64-unknown-cygwin' 'target_alias=arm-rtems4.10' --cache -file=/dev/null --srcdir=../../../../tools/cpu/generic
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating size_rtems
configure: configuring in ./testsuites/tools
configure: running /bin/sh '../../../testsuites/tools/configure' '--prefix=/opt/ rtems-4.10' '--host=x86_64-unknown-cygwin' '--build=x86_64-unknown-cygwin' '--d isable-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--target=arm-rtems4.10' '--cache-file=/dev/null' '--srcdir=../../../testsuites /tools'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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
configure: creating ./config.status
config.status: creating Makefile
=== configuring in generic (/archive/rtems-4.10.2/build-rtems/testsuites/tools/g eneric)
configure: running /bin/sh ../../../../testsuites/tools/generic/configure --disa ble-option-checking '--prefix=/opt/rtems-4.10' '--host=x86_64-unknown-cygwin' ' --build=x86_64-unknown-cygwin' '--disable-posix' '--disable-networking' '--disab le-cxx' '--enable-rtemsbsp=csb337' '--target=arm-rtems4.10' 'build_alias=x86_64- unknown-cygwin' 'host_alias=x86_64-unknown-cygwin' 'target_alias=arm-rtems4.10' --cache-file=/dev/null --srcdir=../../../../testsuites/tools/generic
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating difftest
config.status: creating sorttimes
configure: configuring in arm-rtems4.10/c
configure: running /bin/sh '../../../c/configure' '--prefix=/opt/rtems-4.10' '-- host=arm-rtems4.10' '--build=x86_64-unknown-cygwin' '--target=arm-rtems4.10' '- -disable-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337 ' '--with-target-subdir=arm-rtems4.10' '--exec-prefix=/opt/rtems-4.10/arm-rtems4 .10' '--includedir=/opt/rtems-4.10/arm-rtems4.10/include' '--cache-file=/dev/nu ll' '--srcdir=../../../c'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... arm-unknown-rtems4.10
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-rtems4.10-strip... arm-rtems4.10-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
configure: creating ./config.status
config.status: creating Makefile
target architecture: arm.
available BSPs: csb337.
'make all' will build the following BSPs: csb337.
other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'
config.status: creating Makefile
config.status: creating make/Makefile
The first time make information:
$ make
Making all in make
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/make'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/make'
Making all in tools/build
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/build'
make all-am
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/build'
gcc -DHAVE_CONFIG_H -I. -I../../../tools/build -g -O2 -MT cklength.o -MD -MP -MF .deps/cklength.Tpo -c -o cklength.o ../../../tools/build/cklength.c
../../../tools/build/cklength.c:87:14: 警告:‘optarg’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern char *optarg; /* getopt(3) control vars */
^
../../../tools/build/cklength.c:88:12: 警告:‘optind’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind, opterr;
^
../../../tools/build/cklength.c:88:20: 警告:‘opterr’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind, opterr;
^
mv -f .deps/cklength.Tpo .deps/cklength.Po
gcc -g -O2 -o cklength.exe cklength.o
gcc -DHAVE_CONFIG_H -I. -I../../../tools/build -g -O2 -MT eolstrip.o -MD -MP -MF .deps/eolstrip.Tpo -c -o eolstrip.o ../../../tools/build/eolstrip.c
../../../tools/build/eolstrip.c:80:14: 警告:‘optarg’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern char *optarg; /* getopt(3) control vars */
^
../../../tools/build/eolstrip.c:81:12: 警告:‘optind’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind, opterr;
^
../../../tools/build/eolstrip.c:81:20: 警告:‘opterr’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind, opterr;
^
mv -f .deps/eolstrip.Tpo .deps/eolstrip.Po
gcc -g -O2 -o eolstrip.exe eolstrip.o
gcc -DHAVE_CONFIG_H -I. -I../../../tools/build -g -O2 -MT packhex.o -MD -MP -MF .deps/packhex.Tpo -c -o packhex.o ../../../tools/build/packhex.c
mv -f .deps/packhex.Tpo .deps/packhex.Po
gcc -g -O2 -o packhex.exe packhex.o
gcc -DHAVE_CONFIG_H -I. -I../../../tools/build -g -O2 -MT unhex.o -MD -MP -MF .deps/unhex.Tpo -c -o unhex.o ../../../tools/build/unhex.c
../../../tools/build/unhex.c:98:14: 警告:‘optarg’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern char *optarg; /* getopt(3) control vars */
^
../../../tools/build/unhex.c:99:12: 警告:‘optind’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind;
^
mv -f .deps/unhex.Tpo .deps/unhex.Po
gcc -g -O2 -o unhex.exe unhex.o
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/build'
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/build'
Making all in tools/cpu
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/cpu'
Making all in generic
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/cpu/generic'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/cpu/generic'
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/cpu'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/cpu'
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/cpu'
Making all in testsuites/tools
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools'
Making all in generic
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools/generic'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools/generic'
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools'
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools'
Making all in arm-rtems4.10/c
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c'
Making all in .
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c'
Configuring RTEMS_BSP=csb337
checking for gmake... no
checking for make... make
checking build system type... x86_64-unknown-cygwin
checking host system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-rtems4.10-strip... arm-rtems4.10-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... csb337
checking whether BSP supports networking... disabled
checking whether CPU supports libposix... disabled
configure: setting up make/custom
configure: creating make/csb337.cache
make[3]: Entering directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c/csb337'
make[3]: Leaving directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c/csb337'
checking for RTEMS_CPU_MODEL... at91rm9200
checking for RTEMS_BSP_FAMILY... csb337
checking for CPU_CFLAGS... (cached) -mstructure-size-boundary=8 -mcpu=arm920 -mfpu=vfp -mfloat-abi=soft
checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g
checking for style of include used by make... GNU
checking for arm-rtems4.10-gcc... arm-rtems4.10-gcc
checking for arm-rtems4.10-gcc... (cached) arm-rtems4.10-gcc
checking whether the C compiler works... no
configure: error: in `/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c/csb337':
configure: error: C compiler cannot create executables
See `config.log' for more details
Makefile:712: recipe for target 'csb337' failed
make[2]: *** [csb337] Error 1
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c'
Makefile:257: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c'
Makefile:275: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
After execute the command $ ln -s /bin/gcc.exe /bin/cc.exe
The second time configure and make
second time configure information :
$ ../configure --target=arm-rtems4.10 --disable-posix --disable-networking --disable-cxx --enable-rtemsbsp=csb337 --prefix=/opt/rtems-4.10
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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
configure: creating ./config.status
configure: configuring in ./tools/build
configure: running /bin/sh '../../../tools/build/configure' '--prefix=/opt/rtems-4.10' '--host=x86_64-unknown-cygwin' '--build=x86_64-unknown-cygwin' '--disable-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--target=arm-rtems4.10' '--cache-file=/dev/null' '--srcdir=../../../tools/build'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 x86_64-unknown-cygwin-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strerror... yes
checking for strtol... yes
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install-if-change
config.status: creating config.h
config.status: executing depfiles commands
configure: configuring in ./tools/cpu
configure: running /bin/sh '../../../tools/cpu/configure' '--prefix=/opt/rtems-4.10' '--host=x86_64-unknown-cygwin' '--build=x86_64-unknown-cygwin' '--disable-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--target=arm-rtems4.10' '--cache-file=/dev/null' '--srcdir=../../../tools/cpu'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
=== configuring in generic (/archive/rtems-4.10.2/build-rtems/tools/cpu/generic)
configure: running /bin/sh ../../../../tools/cpu/generic/configure --disable-option-checking '--prefix=/opt/rtems-4.10' '--host=x86_64-unknown-cygwin' '--build=x86_64-unknown-cygwin' '--disable-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--target=arm-rtems4.10' 'build_alias=x86_64-unknown-cygwin' 'host_alias=x86_64-unknown-cygwin' 'target_alias=arm-rtems4.10' --cache-file=/dev/null --srcdir=../../../../tools/cpu/generic
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating size_rtems
configure: configuring in ./testsuites/tools
configure: running /bin/sh '../../../testsuites/tools/configure' '--prefix=/opt/rtems-4.10' '--host=x86_64-unknown-cygwin' '--build=x86_64-unknown-cygwin' '--disable-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--target=arm-rtems4.10' '--cache-file=/dev/null' '--srcdir=../../../testsuites/tools'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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
configure: creating ./config.status
config.status: creating Makefile
=== configuring in generic (/archive/rtems-4.10.2/build-rtems/testsuites/tools/generic)
configure: running /bin/sh ../../../../testsuites/tools/generic/configure --disable-option-checking '--prefix=/opt/rtems-4.10' '--host=x86_64-unknown-cygwin' '--build=x86_64-unknown-cygwin' '--disable-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--target=arm-rtems4.10' 'build_alias=x86_64-unknown-cygwin' 'host_alias=x86_64-unknown-cygwin' 'target_alias=arm-rtems4.10' --cache-file=/dev/null --srcdir=../../../../testsuites/tools/generic
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating difftest
config.status: creating sorttimes
configure: configuring in arm-rtems4.10/c
configure: running /bin/sh '../../../c/configure' '--prefix=/opt/rtems-4.10' '--host=arm-rtems4.10' '--build=x86_64-unknown-cygwin' '--target=arm-rtems4.10' '--disable-posix' '--disable-networking' '--disable-cxx' '--enable-rtemsbsp=csb337' '--with-target-subdir=arm-rtems4.10' '--exec-prefix=/opt/rtems-4.10/arm-rtems4.10' '--includedir=/opt/rtems-4.10/arm-rtems4.10/include' '--cache-file=/dev/null' '--srcdir=../../../c'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.10.2
checking build system type... x86_64-unknown-cygwin
checking host system type... arm-unknown-rtems4.10
checking target system type... arm-unknown-rtems4.10
checking rtems target cpu... arm
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-rtems4.10-strip... arm-rtems4.10-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
configure: creating ./config.status
config.status: creating Makefile
target architecture: arm.
available BSPs: csb337.
'make all' will build the following BSPs: csb337.
other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'
config.status: creating Makefile
config.status: creating make/Makefile
The second time make information:
$ make
Making all in make
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/make'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/make'
Making all in tools/build
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/build'
make all-am
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/build'
gcc -DHAVE_CONFIG_H -I. -I../../../tools/build -g -O2 -MT cklength.o -MD -MP -MF .deps/cklength.Tpo -c -o cklength.o ../../../tools/build/cklength.c
../../../tools/build/cklength.c:87:14: 警告:‘optarg’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern char *optarg; /* getopt(3) control vars */
^
../../../tools/build/cklength.c:88:12: 警告:‘optind’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind, opterr;
^
../../../tools/build/cklength.c:88:20: 警告:‘opterr’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind, opterr;
^
mv -f .deps/cklength.Tpo .deps/cklength.Po
gcc -g -O2 -o cklength.exe cklength.o
gcc -DHAVE_CONFIG_H -I. -I../../../tools/build -g -O2 -MT eolstrip.o -MD -MP -MF .deps/eolstrip.Tpo -c -o eolstrip.o ../../../tools/build/eolstrip.c
../../../tools/build/eolstrip.c:80:14: 警告:‘optarg’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern char *optarg; /* getopt(3) control vars */
^
../../../tools/build/eolstrip.c:81:12: 警告:‘optind’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind, opterr;
^
../../../tools/build/eolstrip.c:81:20: 警告:‘opterr’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind, opterr;
^
mv -f .deps/eolstrip.Tpo .deps/eolstrip.Po
gcc -g -O2 -o eolstrip.exe eolstrip.o
gcc -DHAVE_CONFIG_H -I. -I../../../tools/build -g -O2 -MT packhex.o -MD -MP -MF .deps/packhex.Tpo -c -o packhex.o ../../../tools/build/packhex.c
mv -f .deps/packhex.Tpo .deps/packhex.Po
gcc -g -O2 -o packhex.exe packhex.o
gcc -DHAVE_CONFIG_H -I. -I../../../tools/build -g -O2 -MT unhex.o -MD -MP -MF .deps/unhex.Tpo -c -o unhex.o ../../../tools/build/unhex.c
../../../tools/build/unhex.c:98:14: 警告:‘optarg’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern char *optarg; /* getopt(3) control vars */
^
../../../tools/build/unhex.c:99:12: 警告:‘optind’重声明时没有 dllimport 属性:忽略先前的 dllimport [-Wattributes]
extern int optind;
^
mv -f .deps/unhex.Tpo .deps/unhex.Po
gcc -g -O2 -o unhex.exe unhex.o
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/build'
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/build'
Making all in tools/cpu
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/cpu'
Making all in generic
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/cpu/generic'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/cpu/generic'
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/tools/cpu'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/cpu'
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/tools/cpu'
Making all in testsuites/tools
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools'
Making all in generic
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools/generic'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools/generic'
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools'
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/testsuites/tools'
Making all in arm-rtems4.10/c
make[1]: Entering directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c'
Making all in .
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c'
Making all in csb337
make[2]: Entering directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c/csb337'
make[2]: *** No rule to make target 'all'。 停止。
make[2]: Leaving directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c/csb337'
Makefile:257: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/archive/rtems-4.10.2/build-rtems/arm-rtems4.10/c'
Makefile:275: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Thank you
Best wishes
Asher
At 2015-03-05 22:15:29, "Gedare Bloom" <gedare at rtems.org> wrote:
>No errors during configure?
>
>Paste a little more of the make output, it seems like something else
>is missing... The cygwin build can be a little bit hit-or-miss,
>although I think 4.10 should work...
>
>Gedare
>
>On Wed, Mar 4, 2015 at 11:42 PM, zhengyazhou <zxya1014 at 163.com> wrote:
>> Thank you for answering me,here is the details
>>
>> Host : MS windows and I use Cygwin for RTEMS development
>> device : ARM based target
>> I installed the Prebuild Toolset on Cygwin,then uncompress the RTEMS source
>> code in the file C/Cygwin64/
>> then execute the following command in the Cygwin command line
>> #export PATH=/opt/rtems-4.10/bin:$PATH
>> #cd ~/rtems-4.10.2
>> #mkdir bulid
>> #cd build
>> #../configure --target=arm-rtems4.10 --disable-posix
>> --disable-networking
>> --disable-cxx --enable-rtemsbsp=csb337 --prefix=/opt/rtems-4.10
>> #make
>> then comes the error
>> make[2]: Entering directory '/rtems-4.10.2/build/arm-rtems4.10/c'
>> make[2]: Nothing to be done for 'all-am'.
>> make[2]: Leaving directory '/rtems-4.10.2/build/arm-rtems4.10/c'
>> Making all in csb337
>> make[2]: Entering directory '/rtems-4.10.2/build/arm-rtems4.10/c/csb337'
>> make[2]: *** No rule to make target 'all'。 停止。
>> make[2]: Leaving directory '/rtems-4.10.2/build/arm-rtems4.10/c/csb337'
>> Makefile:257: recipe for target 'all-recursive' failed
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory '/rtems-4.10.2/build/arm-rtems4.10/c'
>> Makefile:275: recipe for target 'all-recursive' failed
>> make: *** [all-recursive] Error 1
>> above is all the information ,can you solve this problem ?
>>
>>
>> best wishes
>> Asher
>>
>> At 2015-03-05 11:38:25, "Joel Sherrill" <joel.sherrill at oarcorp.com> wrote:
>>>You are going to have to provide more details. Host, target, configure
>>> command, cut and paste of the error with some context around it.
>>>
>>>
>>>On March 4, 2015 9:09:15 PM CST, zhengyazhou <zxya1014 at 163.com> wrote:
>>>>Hi ,
>>>>I meet error257 when I compile the RTEMS source code.I want to know the
>>>>error type and how to handle this error
>>>>
>>>>
>>>>best regards ,
>>>>Asher
>>>
>>>--joel
>>
>>
>>
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150306/e64c895a/attachment-0002.html>
More information about the devel
mailing list