Hi all forum,I'm compiling form Mips,Im using UBUNTU 16.04.
I have a problem:
carlos@carlos-desktop:~$ cd martiis-buildsystem-cs
carlos@carlos-desktop:~/martiis-buildsystem-cs$ make crosstool
make /home/carlos/martiis-buildsystem-cs/build_tmp
make[1]: se entra en el directorio '/home/carlos/martiis-buildsystem-cs'
make[1]: '/home/carlos/martiis-buildsystem-cs/build_tmp' está actualizado.
make[1]: se sale del directorio '/home/carlos/martiis-buildsystem-cs'
rm -rf /home/carlos/martiis-buildsystem-cs/build_tmp/crosstool-ng-1.15.2
tar -C /home/carlos/martiis-buildsystem-cs/build_tmp -xf /home/carlos/martiis-buildsystem-cs/download/crosstool-ng-1.15.2.tar.bz2
set -e; unset CONFIG_SITE LD_LIBRARY_PATH; cd /home/carlos/martiis-buildsystem-cs/build_tmp/crosstool-ng-1.15.2; \
patch -p1 -i /home/carlos/martiis-buildsystem-cs/archive-patches/crosstool-ng-1.15.2-don_t-build-nconf.diff; \
cp /home/carlos/martiis-buildsystem-cs/archive-patches/111-ppl-0_10_2-fix-CXXFLAGS-for-gcc-4_7.patch patches/ppl/0.10.2/; \
test "" = http && \
sed -i 's#svn://svn.eglibc.org#eglibc.org/svn#' \
scripts/build/libc/eglibc.sh
\
true; \
mkdir -p targets/src/; \
tar -C targets/src/ -xf /home/carlos/martiis-buildsystem-cs/download/linux-3.9.2.tar.xz; \
sed -i 's/ -static//' targets/src/linux-3.9.2/scripts/Makefile.host; \
cp -a /home/carlos/martiis-buildsystem-cs/archive-patches/crosstool-ng-mips.config .config; \
NUM_CPUS=$(expr `getconf _NPROCESSORS_ONLN` \* 2); \
MEM_512M=$(awk '/MemTotal/ {M=int($2/1024/512); print M==0?1:M}' /proc/meminfo); \
test $NUM_CPUS -gt $MEM_512M && NUM_CPUS=$MEM_512M; \
test $NUM_CPUS = 0 && NUM_CPUS=1; \
sed -i "s@^CT_PARALLEL_JOBS=.*@CT_PARALLEL_JOBS=$NUM_CPUS@" .config; \
export TD_BASE_DIR=/home/carlos/martiis-buildsystem-cs; \
export TD_BUILD_TMP=/home/carlos/martiis-buildsystem-cs/build_tmp; \
export KVER=3.9.2; \
./configure --enable-local; \
MAKELEVEL=0 make; \
./ct-ng oldconfig; \
./ct-ng build
patching file Makefile.in
patching file kconfig/Makefile
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking whether sed understands -r -i -e... yes
checking whether ln -s works... yes
checking for gcc... 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... 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 how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for objcopy... objcopy
checking for absolute path to objcopy... /usr/bin/objcopy
checking for objdump... objdump
checking for absolute path to objdump... /usr/bin/objdump
checking for readelf... readelf
checking for absolute path to readelf... /usr/bin/readelf
checking for bison... bison
checking for flex... flex
checking for gperf... gperf
checking for gawk... gawk
checking for makeinfo... makeinfo
checking for cut... cut
checking for stat... stat
checking for readlink... readlink
checking for wget... wget
checking for tar... tar
checking for gzip... gzip
checking for bzip2... bzip2
checking for patch... /usr/bin/patch
checking for bash >= 3.1... /bin/bash
checking for GNU make >= 3.80... /usr/bin/make
checking whether /usr/bin/make sets $(MAKE)... yes
checking for GNU libtool >= 1.5.26... /usr/bin/libtool
checking for GNU libtoolize >= 1.5.26... /usr/bin/libtoolize
checking for GNU automake >= 1.10... /usr/bin/automake
checking for xz... xz
checking for cvs... cvs
checking for svn... svn
checking for inline... inline
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 GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working alloca.h... yes
checking for alloca... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether gettext is declared... yes
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncursesw/curses.h usability... no
checking ncursesw/curses.h presence... no
checking for ncursesw/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for library containing initscr... -lncurses
configure: overiding all of --prefix and the likes, because --enable-local was set
configure: creating ./config.status
config.status: creating Makefile
Makefile:114: *** Recursion detected, bailing out.... Alto.
Makefile:119: fallo en las instrucciones para el objetivo 'build'
make: *** [build] Error 2
make/crosstool-mipsel.mk:6: fallo en las instrucciones para el objetivo '/home/carlos/martiis-buildsystem-cs/cross/bin/mipsel-unknown-linux-gnu-gcc'
make: *** [/home/carlos/martiis-buildsystem-cs/cross/bin/mipsel-unknown-linux-gnu-gcc] Error 2
carlos@carlos-desktop:~/martiis-buildsystem-cs$
can anybody help me? please.
Thanks and Regards
I have a problem:
carlos@carlos-desktop:~$ cd martiis-buildsystem-cs
carlos@carlos-desktop:~/martiis-buildsystem-cs$ make crosstool
make /home/carlos/martiis-buildsystem-cs/build_tmp
make[1]: se entra en el directorio '/home/carlos/martiis-buildsystem-cs'
make[1]: '/home/carlos/martiis-buildsystem-cs/build_tmp' está actualizado.
make[1]: se sale del directorio '/home/carlos/martiis-buildsystem-cs'
rm -rf /home/carlos/martiis-buildsystem-cs/build_tmp/crosstool-ng-1.15.2
tar -C /home/carlos/martiis-buildsystem-cs/build_tmp -xf /home/carlos/martiis-buildsystem-cs/download/crosstool-ng-1.15.2.tar.bz2
set -e; unset CONFIG_SITE LD_LIBRARY_PATH; cd /home/carlos/martiis-buildsystem-cs/build_tmp/crosstool-ng-1.15.2; \
patch -p1 -i /home/carlos/martiis-buildsystem-cs/archive-patches/crosstool-ng-1.15.2-don_t-build-nconf.diff; \
cp /home/carlos/martiis-buildsystem-cs/archive-patches/111-ppl-0_10_2-fix-CXXFLAGS-for-gcc-4_7.patch patches/ppl/0.10.2/; \
test "" = http && \
sed -i 's#svn://svn.eglibc.org#eglibc.org/svn#' \
scripts/build/libc/eglibc.sh

true; \
mkdir -p targets/src/; \
tar -C targets/src/ -xf /home/carlos/martiis-buildsystem-cs/download/linux-3.9.2.tar.xz; \
sed -i 's/ -static//' targets/src/linux-3.9.2/scripts/Makefile.host; \
cp -a /home/carlos/martiis-buildsystem-cs/archive-patches/crosstool-ng-mips.config .config; \
NUM_CPUS=$(expr `getconf _NPROCESSORS_ONLN` \* 2); \
MEM_512M=$(awk '/MemTotal/ {M=int($2/1024/512); print M==0?1:M}' /proc/meminfo); \
test $NUM_CPUS -gt $MEM_512M && NUM_CPUS=$MEM_512M; \
test $NUM_CPUS = 0 && NUM_CPUS=1; \
sed -i "s@^CT_PARALLEL_JOBS=.*@CT_PARALLEL_JOBS=$NUM_CPUS@" .config; \
export TD_BASE_DIR=/home/carlos/martiis-buildsystem-cs; \
export TD_BUILD_TMP=/home/carlos/martiis-buildsystem-cs/build_tmp; \
export KVER=3.9.2; \
./configure --enable-local; \
MAKELEVEL=0 make; \
./ct-ng oldconfig; \
./ct-ng build
patching file Makefile.in
patching file kconfig/Makefile
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking whether sed understands -r -i -e... yes
checking whether ln -s works... yes
checking for gcc... 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... 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 how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for objcopy... objcopy
checking for absolute path to objcopy... /usr/bin/objcopy
checking for objdump... objdump
checking for absolute path to objdump... /usr/bin/objdump
checking for readelf... readelf
checking for absolute path to readelf... /usr/bin/readelf
checking for bison... bison
checking for flex... flex
checking for gperf... gperf
checking for gawk... gawk
checking for makeinfo... makeinfo
checking for cut... cut
checking for stat... stat
checking for readlink... readlink
checking for wget... wget
checking for tar... tar
checking for gzip... gzip
checking for bzip2... bzip2
checking for patch... /usr/bin/patch
checking for bash >= 3.1... /bin/bash
checking for GNU make >= 3.80... /usr/bin/make
checking whether /usr/bin/make sets $(MAKE)... yes
checking for GNU libtool >= 1.5.26... /usr/bin/libtool
checking for GNU libtoolize >= 1.5.26... /usr/bin/libtoolize
checking for GNU automake >= 1.10... /usr/bin/automake
checking for xz... xz
checking for cvs... cvs
checking for svn... svn
checking for inline... inline
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 GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working alloca.h... yes
checking for alloca... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether gettext is declared... yes
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncursesw/curses.h usability... no
checking ncursesw/curses.h presence... no
checking for ncursesw/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for library containing initscr... -lncurses
configure: overiding all of --prefix and the likes, because --enable-local was set
configure: creating ./config.status
config.status: creating Makefile
Makefile:114: *** Recursion detected, bailing out.... Alto.
Makefile:119: fallo en las instrucciones para el objetivo 'build'
make: *** [build] Error 2
make/crosstool-mipsel.mk:6: fallo en las instrucciones para el objetivo '/home/carlos/martiis-buildsystem-cs/cross/bin/mipsel-unknown-linux-gnu-gcc'
make: *** [/home/carlos/martiis-buildsystem-cs/cross/bin/mipsel-unknown-linux-gnu-gcc] Error 2
carlos@carlos-desktop:~/martiis-buildsystem-cs$
can anybody help me? please.
Thanks and Regards