the system:
ubuntu 15.10, 32bit
every time i have problems when i come with a new linux system… ours of ours of trial and error…
the error message:
triggermatrix@aha:~/mios32/trunk/apps/tutorials/016\_aout$ make rm -f project.hex arm-none-eabi-gcc: error: .ld: No such file or directory /home/triggermatrix/mios32/trunk/include/makefile/common.mk:139: recipe for target 'project\_build/project.elf' failed make: \*\*\* [project\_build/project.elf] Error 1
it creates object files, but then the error, e.g.:
triggermatrix@lap:~/mios32/trunk/apps/tutorials/027_scs$ make
rm -f project.hex
Creating object file for app.c
Creating object file for scs_config.c
scs_config.c:53:13: warning: 'stringDecPM' defined but not used [-Wunused-function]
scs_config.c:55:13: warning: 'stringHex2' defined but not used [-Wunused-function]
Creating object file for cc_labels.c
Creating object file for main.c
Creating object file for strtol.c
Creating object file for tasks.c
Creating object file for list.c
Creating object file for queue.c
Creating object file for timers.c
Creating object file for port.c
Creating object file for umm_malloc.c
Creating object file for startup_LPC17xx.c
Creating object file for mios32_srio.c
Creating object file for mios32_din.c
Creating object file for mios32_dout.c
Creating object file for mios32_enc.c
Creating object file for mios32_lcd.c
Creating object file for mios32_midi.c
Creating object file for mios32_osc.c
Creating object file for mios32_com.c
Creating object file for mios32_uart_midi.c
Creating object file for mios32_spi_midi.c
Creating object file for mios32_iic_midi.c
Creating object file for mios32_iic_bs.c
Creating object file for mios32_mf.c
Creating object file for mios32_sdcard.c
Creating object file for mios32_enc28j60.c
Creating object file for mios32_timestamp.c
Creating object file for mios32_bsl.c
Creating object file for mios32_sys.c
Creating object file for mios32_irq.c
Creating object file for mios32_spi.c
Creating object file for mios32_i2s.c
Creating object file for mios32_board.c
Creating object file for mios32_timer.c
Creating object file for mios32_stopwatch.c
Creating object file for mios32_delay.c
Creating object file for mios32_ain.c
Creating object file for mios32_usb.c
Creating object file for mios32_usb_midi.c
Creating object file for mios32_usb_com.c
Creating object file for mios32_uart.c
Creating object file for mios32_iic.c
Creating object file for printf-stdarg.c
Creating object file for core_cm3.c
Creating object file for usbhw_lpc.c
Creating object file for usbcontrol.c
/home/triggermatrix/mios32/trunk/drivers/LPC17xx/usbstack/src/usbcontrol.c: In function 'StallControlPipe':
/home/triggermatrix/mios32/trunk/drivers/LPC17xx/usbstack/src/usbcontrol.c:127:6: warning: variable 'pb' set but not used [-Wunused-but-set-variable]
Creating object file for usbstdreq.c
Creating object file for usbinit.c
Creating object file for app_lcd.c
Creating object file for glcd_font_normal.c
Creating object file for glcd_font_normal_inv.c
Creating object file for glcd_font_big.c
Creating object file for glcd_font_small.c
Creating object file for glcd_font_tiny.c
Creating object file for glcd_font_knob_icons.c
Creating object file for glcd_font_meter_icons_h.c
Creating object file for glcd_font_meter_icons_v.c
Creating object file for scs.c
Creating object file for scs_lcd.c
Creating object file for mini_cpp.cpp
Creating object file for freertos_heap.cpp
arm-none-eabi-gcc: error: .ld: No such file or directory
/home/triggermatrix/mios32/trunk/include/makefile/common.mk:139: recipe for target 'project_build/project.elf' failed
make: *** [project_build/project.elf] Error 1
my environment variables:
PATH="/home/triggermatrix/mios32\_toolchain/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" MIOS32\_PATH="/home/triggermatrix/mios32/trunk" MIOS32\_BIN\_PATH="/home/triggermatrix/mios32/trunk/bin" MIOS32\_GCC\_PREFIX=arm-none-eabi MIOS32\_FAMILY=LPC17xx MIOS32\_PROCESSOR=LPC1769 MIOS32\_BOARD=MBHP\_CORE\_LPC17 MIOS32\_LCD=universal
Mios32 is located under: /home/triggermatrix/mios32 , in there are the folders: “playground” and “trunk”
toolchain is located under: /home/triggermatrix/mios32_toolchain , in there are the folders: “arm-none-eabi” “bin” “lib” “share”
i have already installed:
sudo aptitude install subversion
sudo aptitude install subversion
sudo aptitude install build-essential
sudo aptitude install libgmp3-dev
i removed and installed, the thoolchain, mios32, essential, gcc, libgmp3 several times…nothing helped.
what do i miss?