I was doing a routine upgrade of my macports, on a Mavericks 10.9.5 OS X, and using the command "port upgrade outdated", which I do once every few weeks. For the first time, I had a port, cmake, that failed to build. I'm wondering what I should try to do next. I'm not sure I should be reporting it as a bug with macports.org, so I'm wondering if there is some way to refresh/reset/clean a port and try again. I expect is needed to build other ports, so I am a little hesitant to just remove it and try again, but I thought I would check here to see if anyone has some advice about it. I'm including the bottom portion of the log file for the failed cmake build here:
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Bootstrap.cmk/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source/CMakeFiles/cmake.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Bootstrap.cmk/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source/CMakeFiles/ccmake.dir/DependInfo.cmake --color=
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Source/CMakeFiles/cmake.dir/build.make Source/CMakeFiles/cmake.dir/build
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Bootstrap.cmk/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source/CMakeFiles/CPackLib.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Bootstrap.cmk/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64/Source/CMakeFiles/CTestLib.dir/DependInfo.cmake --color=
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build make[2]: *** No rule to make target `/opt/local/lib/libz.dylib', needed by `bin/cmake'. Stop.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build make[1]: *** [Source/CMakeFiles/cmake.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Source/CMakeFiles/ccmake.dir/build.make Source/CMakeFiles/ccmake.dir/build
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build make[2]: *** No rule to make target `/opt/local/lib/libz.dylib', needed by `bin/ccmake'. Stop.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Source/CMakeFiles/CPackLib.dir/build.make Source/CMakeFiles/CPackLib.dir/build
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build make[2]: Nothing to be done for `Source/CMakeFiles/CPackLib.dir/build'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build [ 71%] Built target CPackLib
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Source/CMakeFiles/CTestLib.dir/build.make Source/CMakeFiles/CTestLib.dir/build
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build make[2]: Nothing to be done for `Source/CMakeFiles/CTestLib.dir/build'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build [ 87%] Built target CTestLib
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.3.2-x86_64" && /usr/bin/make -j4 -w all VERBOSE=ON
:info:build Exit code: 2
:error:build org.macports.build for port cmake returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
while executing
"proc-org.macports.build-build-0 org.macports.build"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for cmake: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port cmake for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
The error here is that you seem to have uninstalled (or deactivated) the zlib port:
:info:build make[2]: *** No rule to make target `/opt/local/lib/libz.dylib', needed by `bin/cmake'. Stop.
but cmake depends on zlib:
$ port deps cmake
Full Name: cmake #3.3.1_0
Library Dependencies: curl, expat, zlib, bzip2, libarchive
So I suspect if you do this, it should pick up the dependency and try again:
sudo port -v clean cmake
sudo port -v -s install cmake
Related
I tried to installing netcdf-4.1.3. After configuring the netcdf-4.1.3 file, i had errors with my 'make' command. The error message is below
ameyaw_prince#Mytoses-ThinkPad-T430:~/Build_WRF/LIBRARIES/netcdf-4.1.3$ make
make all-recursive
make[1]: Entering directory '/home/ameyaw_prince/Build_WRF/LIBRARIES/netcdf-4.1.3'
Making all in include
make[2]: Entering directory '/home/ameyaw_prince/Build_WRF/LIBRARIES/netcdf-4.1.3/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/ameyaw_prince/Build_WRF/LIBRARIES/netcdf-4.1.3/include'
Making all in libdispatch
make[2]: Entering directory '/home/ameyaw_prince/Build_WRF/LIBRARIES/netcdf-4.1.3/libdispatch'
/bin/bash ../libtool --tag=CC --mode=link /usr/bin/gcc -g -O2 -LIR/grib2/lib -o libdispatch.la libdispatch_la-parallel.lo libdispatch_la-copy.lo libdispatch_la-file.lo libdispatch_la-dim.lo libdispatch_la-att.lo libdispatch_la-error.lo libdispatch_la-var.lo libdispatch_la-dispatch.lo libdispatch_la-nc_uri.lo libdispatch_la-nclist.lo libdispatch_la-ncbytes.lo libdispatch_la-nchashmap.lo libdispatch_la-nclog.lo -lm -lcurl
../libtool: line 5992: cd: IR/grib2/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `IR/grib2/lib'
make[2]: *** [Makefile:328: libdispatch.la] Error 1
make[2]: Leaving directory '/home/ameyaw_prince/Build_WRF/LIBRARIES/netcdf-4.1.3/libdispatch'
make[1]: *** [Makefile:551: all-recursive] Error 1
make[1]: Leaving directory '/home/ameyaw_prince/Build_WRF/LIBRARIES/netcdf-4.1.3'
make: *** [Makefile:422: all] Error 2
gcc 3.4.6 is the highest native install for gcc on my Synology DS413, so I'm attempting use it to build 5.2.0 from source. The steps I'm using from /root is
tar xzf gcc-5.2.0.tar.gz
cd gcc-5.2.0
./contrib/download_prerequisites
cd ..
mkdir objdir
cd objdir
$PWD/../gcc-5.2.0/configure --prefix=$HOME/gcc-5.2.0
make
make install
The build appears to go well until towards the end of 'make' which gives these errors at the end of its run:
:
:
make[3]: Entering directory `/root/objdir/gmp'
gcc `test -f 'gen-fac_ui.c' || echo '/root/objdir/../gcc-5.2.0/gmp/'`gen-fac_ui.c -o gen-fac_ui
./gen-fac_ui 32 0 >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1)
gcc `test -f 'gen-fib.c' || echo '/root/objdir/../gcc-5.2.0/gmp/'`gen-fib.c -o gen-fib
./gen-fib header 32 0 >fib_table.h || (rm -f fib_table.h; exit 1)
./gen-fib table 32 0 >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
gcc `test -f 'gen-bases.c' || echo '/root/objdir/../gcc-5.2.0/gmp/'`gen-bases.c -o gen-bases
/tmp/ccdefY1e.o: In function `generate':
gen-bases.c:(.text+0x28b8): undefined reference to `log'
collect2: ld returned 1 exit status
make[3]: *** [gen-bases] Error 1
make[3]: Leaving directory `/root/objdir/gmp'
make[2]: *** [all-stage1-gmp] Error 2
make[2]: Leaving directory `/root/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/root/objdir'
make: *** [all] Error 2
'make install' then returns
make[1]: Entering directory `/root/objdir'
/bin/ash /root/objdir/../gcc-5.2.0/mkinstalldirs /root/gcc-5.2.0 /root/gcc-5.2.0
make[2]: Entering directory `/root/objdir/fixincludes'
make[2]: *** No rule to make target `install'. Stop.
make[2]: Leaving directory `/root/objdir/fixincludes'
make[1]: *** [install-fixincludes] Error 2
make[1]: Leaving directory `/root/objdir'
make: *** [install] Error 2
What's making make unhappy? I'm a newb, so may be missing something obvious.
I think you have already IPKG(optware) installed on your diskstation and the compiler there is really old.
But: There is a developer how actualize the optware. Called: Optware new generation.
I have now GCC 5.2.0 running on my DS713+
further information here:
Optware
Optware NG on Github
export MAKEFLAGS= ;/Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Volumes/OpenWrt/trunk/build_dir/host/bc-1.06.95 install
Making install in lib
make[6]: Nothing to be done for `install-exec-am'.
make[6]: Nothing to be done for `install-data-am'.
Making install in bc
test -z "/Volumes/OpenWrt/trunk/staging_dir/host/bin" || /Volumes/OpenWrt/trunk/build_dir/host/bc-1.06.95/install-sh -d "/Volumes/OpenWrt/trunk/staging_dir/host/bin"
/Users/zhushajun/ctags/install -c 'bc' '/Volumes/OpenWrt/trunk/staging_dir/host/bin/bc'
/bin/bash: /Users/zhushajun/ctags/install: Permission denied
make[6]: *** [install-binPROGRAMS] Error 1
make[5]: *** [install-am] Error 2
make[4]: *** [install-recursive] Error 1
make[3]: *** [/Volumes/OpenWrt/trunk/staging_dir/host/stamp/.bc_installed] Error 2
make[3]: Leaving directory `/Volumes/OpenWrt/trunk/tools/bc'
make[2]: *** [tools/bc/install] Error 2
make[2]: Leaving directory `/Volumes/OpenWrt/trunk'
make[1]: *** [/Volumes/OpenWrt/trunk/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyyynyyyyyyyynyyyynnyyynnyynnnyyyy] Error 2
make[1]: Leaving directory `/Volumes/OpenWrt/trunk'
make: *** [world] Error 2
sorry for my poor English.
these are the output info,"make V=s" not work and "sudo make V=s" neither,somebody would help me?thanks
I am trying this command. make stm32f429-discovery
I have stm32f429-discovery board (arm cortex M3). and i want to install u-boot on it,i am trying this as per given in tutorial, and get this error.......
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
Configuring for stm32f429-discovery board...
make
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
make[1]: Entering directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot'
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
Generating include/autoconf.mk
/bin/bash: line 3: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
Generating include/autoconf.mk.dep
/bin/bash: line 3: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
make[1]: Leaving directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot'
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
make[1]: Entering directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot'
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
for dir in tools examples/standalone examples/api cpu/arm_cortexm3 /home/uzair/Documents/linux-cortexm-1.12.1/u-boot/cpu/arm_cortexm3/ ; do \
make -C $dir _depend ; done
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
make[2]: arm-uclinuxeabi-gcc: Command not found
make[2]: Entering directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/tools'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/tools'
make[2]: arm-uclinuxeabi-gcc: Command not found
make[2]: Entering directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/examples/standalone'
/bin/sh: 1: arm-uclinuxeabi-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/examples/standalone'
make[2]: arm-uclinuxeabi-gcc: Command not found
make[2]: Entering directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/examples/api'
/bin/sh: 1: arm-uclinuxeabi-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/examples/api'
make[2]: arm-uclinuxeabi-gcc: Command not found
make[2]: Entering directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/cpu/arm_cortexm3'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/cpu/arm_cortexm3'
make[2]: arm-uclinuxeabi-gcc: Command not found
make[2]: Entering directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/cpu/arm_cortexm3'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/cpu/arm_cortexm3'
make -C tools all
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
make[2]: arm-uclinuxeabi-gcc: Command not found
make[2]: Entering directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/tools'
make[2]: Leaving directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/tools'
make -C examples/standalone all
/bin/bash: /home/uzair/Documents/linux-cortexm-1.12.1/tools/arm-2010q1/bin/arm-uclinuxeabi-gcc: No such file or directory
dirname: missing operand
Try `dirname --help' for more information.
make[2]: arm-uclinuxeabi-gcc: Command not found
make[2]: Entering directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/examples/standalone'
/bin/sh: 1: arm-uclinuxeabi-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
arm-uclinuxeabi-gcc -g -Os -g2 -mthumb -mcpu=cortex-m3 -fsigned-char -O2 -fno-builtin-puts -fno-common -ffixed-r8 -D__KERNEL__ -I/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/include -fno-builtin -ffreestanding -isystem -pipe -DCONFIG_ARM -D__ARM__ -DCONFIG_MEM_NVM_BASE= -DCONFIG_MEM_NVM_LEN= -DCONFIG_MEM_NVM_UBOOT_OFF=0x0 -DCONFIG_MEM_RAM_BASE= -DCONFIG_MEM_RAM_LEN= -DCONFIG_MEM_RAM_BUF_LEN= -DCONFIG_MEM_MALLOC_LEN= -DCONFIG_MEM_STACK_LEN= -I/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/cpu/arm_cortexm3 -Wall -Wstrict-prototypes -o hello_world.o hello_world.c -c
make[2]: arm-uclinuxeabi-gcc: Command not found
make[2]: *** [hello_world.o] Error 127
make[2]: Leaving directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot/examples/standalone'
make[1]: *** [examples/standalone] Error 2
make[1]: Leaving directory `/home/uzair/Documents/linux-cortexm-1.12.1/u-boot'
make: *** [stm32f429-discovery] Error 2
STM32F429 Discovery is based on ARM Cortex-M4F instead of Cortex-M3 core. You might consider to use another builder to prepare u-boot + uClinux + root file system images: https://github.com/jserv/stm32f429-linux-builder
You must set to correct path
For example:
export PATH=/usr/local/csl/arm-2010q1/bin:$PATH
export CROSS_COMPILE=arm-uclinuxeabi-
export ARCH=arm
I'm using Cygwin (in windows 7) to emulate Linux terminal, however, when I execute "make" to one of the files, I get the following error, (please note that this worked in Linux terminal)
cd ./agents/randomAgentJava/ && make
make[1]: Entering directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/randomAgentJava'
javac -source 5 -d bin -cp ../../system/libraries/RLVizLib.jar src/RandomAgent/RandomAgent.java
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
make[1]: Leaving directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/randomAgentJava'
cd ./agents/randomAgentCPP/ && make
make[1]: Entering directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/randomAgentCPP'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/randomAgentCPP'
cd ./agents/mountainCarAgentCPP/ && make
make[1]: Entering directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/mountainCarAgentCPP'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/mountainCarAgentCPP'
cd ./agents/realTimeStrategyAgentJava/ && make
make[1]: Entering directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/realTimeStrategyAgentJava'
javac src/**/*.java -d bin -cp ../../system/libraries/RLVizLib.jar
make[1]: Leaving directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/realTimeStrategyAgentJava'
cd ./agents/helicopterAgentCPP/ && make
make[1]: Entering directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/helicopterAgentCPP'
g++ -c -I../../system/RL-Glue/RL-Glue -I../../system/RL-Glue/Utils -I./src src/weak_baseline_controller.cpp -o bin/weak_baseline_controller.o
g++ -o ./bin/RL_agent bin/weak_baseline_controller.o bin/Glue_utilities.o bin/RL_client_agent.o bin/RL_network.o -lm
bin/Glue_utilities.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Makefile:25: recipe for target `bin/RL_agent' failed
make[1]: *** [bin/RL_agent] Error 1
make[1]: Leaving directory `/cygdrive/f/Linux Files/Helicopter_Control/rl-competition/agents/helicopterAgentCPP'
Makefile:13: recipe for target `all' failed
make: *** [all] Error 2
Thanks in advance!