[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] compile error: /bin/sh: /home/patrick/Cross: No such file
From: |
Patrick Blanchard |
Subject: |
[avr-libc-dev] compile error: /bin/sh: /home/patrick/Cross: No such file or directory |
Date: |
Wed, 07 Sep 2005 10:33:54 -0500 |
Hello,
Newbie to the avr-libc, and trying to install as follows...but receive
compile error for gcc. Any and all suggestions welcomed. binutils
installed w/o any problems.
address@hidden Cross development tools]# ls
AVR sample project layout
address@hidden Cross development tools]# cd AVR
address@hidden AVR]# ls
bootldr code doc kernel rootfs tmp
build-tools debug images project sysapps tools
address@hidden AVR]# cd build*
address@hidden build-tools]# ls
binutils-2.16.1 gcc-4.0.0 gcc-4.0.0.tar.gz
address@hidden build-tools]# cd gcc*
address@hidden gcc-4.0.0]# ls
ABOUT-NLS COPYING libffi Makefile.def
boehm-gc COPYING.LIB libgfortran Makefile.in
BUGS depcomp libiberty Makefile.tpl
bugs.html FAQ libjava MD5SUMS
ChangeLog faq.html libmudflap missing
ChangeLog.tree-ssa fastjar libobjc mkdep
compile fixincludes libstdc++-v3 mkinstalldirs
config gcc libtool.m4 move-if-change
config.guess include ltcf-c.sh NEWS
config-ml.in INSTALL ltcf-cxx.sh README
config.rpath install-sh ltcf-gcj.sh README.SCO
config.sub intl ltconfig symlink-tree
configure LAST_UPDATED ltmain.sh ylwrap
configure.in libada MAINTAINERS zlib
contrib libcpp maintainer-scripts
address@hidden gcc-4.0.0]# ./configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
./configure: line 873: test: too many arguments
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16
$$f1 $$f2
checking for correct version of gmp.h... yes
checking for MPFR... yes
The following languages will be built: c,c++,f95,java,objc
*** This configuration is not supported in the following subdirectories:
target-libada
(Any other directories should still work fine.)
checking for bison... bison
checking for bison... bison -y
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles...
no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
address@hidden gcc-4.0.0]# make
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: development: command not found
Configuring in fastjar
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /home/patrick/Cross: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for strip... /usr/bin/strip
checking for chmod... /bin/chmod
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether struct tm is in sys/time.h or time.h... time.h
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for stdlib.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for ftruncate... yes
checking for _chsize... no
checking for off_t... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking if mkdir takes one argument... no
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking whether byte ordering is bigendian... no
checking whether to place generated files in the source directory... no
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install-defs.sh
config.status: creating config.h
config.status: executing depfiles commands
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: development: command not found
Configuring in zlib
configure: creating cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /home/patrick/Cross: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for i686-pc-linux-gnu-ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... no
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
finding the maximum length of command line arguments... 49153
checking if gcc supports -c -o file.o... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse nm output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
updating cache ./config.cache
configure: loading cache ./config.cache
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for memcpy... yes
checking for strerror... yes
checking for unistd.h... (cached) yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: executing default-1 commands
./config.status: line 910: ./../../config-ml.in: No such file or
directory
make: *** [configure-zlib] Error 1
address@hidden gcc-4.0.0]# ls
ABOUT-NLS configure.in libcpp Makefile
boehm-gc contrib libffi Makefile.def
BUGS COPYING libgfortran Makefile.in
bugs.html COPYING.LIB libiberty Makefile.tpl
ChangeLog depcomp libjava MD5SUMS
ChangeLog.tree-ssa FAQ libmudflap missing
compile faq.html libobjc mkdep
config fastjar libstdc++-v3 mkinstalldirs
config.cache fixincludes libtool.m4 move-if-change
config.guess gcc ltcf-c.sh NEWS
config.log include ltcf-cxx.sh README
config-ml.in INSTALL ltcf-gcj.sh README.SCO
config.rpath install-sh ltconfig serdep.tmp
config.status intl ltmain.sh symlink-tree
config.sub LAST_UPDATED MAINTAINERS ylwrap
configure libada maintainer-scripts zlib
address@hidden gcc-4.0.0]# mkdir obj-avr
address@hidden gcc-4.0.0]# cd obj-avr
address@hidden obj-avr]# ../configure --prefix=$PREFIX --target=avr --
enable-languages=c,c++ --disable-nls
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... avr-unknown-none
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
../configure: line 873: test: too many arguments
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16
$$f1 $$f2
checking for correct version of gmp.h... yes
checking for MPFR... yes
*** This configuration is not supported in the following subdirectories:
target-libmudflap target-libiberty target-libstdc++-v3 target-
libffi target-boehm-gc target-zlib target-libjava target-libada target-
libgfortran zlib fastjar target-libobjc
(Any other directories should still work fine.)
checking for bison... bison
checking for bison... bison -y
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for avr-ar... no
checking for avr-as... no
checking for avr-dlltool... no
checking for avr-ld... no
checking for avr-nm... no
checking for avr-ranlib... no
checking for avr-windres... no
checking whether to enable maintainer-specific portions of Makefiles...
no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
address@hidden obj-avr]# make
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
/bin/sh: line 0: [: too many arguments
Configuring in fixincludes
/bin/sh: /home/patrick/Cross: No such file or directory
make: *** [configure-fixincludes] Error 1
address@hidden obj-avr]#
- [avr-libc-dev] compile error: /bin/sh: /home/patrick/Cross: No such file or directory,
Patrick Blanchard <=