AnsweredAssumed Answered

Gnu loader cant find built MQX 4.1 files

Question asked by k w on Aug 26, 2014
Latest reply on Aug 27, 2014 by Luc VAN WALLEGHEM

Is anyone else having this issue?

 


'Building target: test_kds_2.elf'

'Invoking: Cross ARM C++ Linker'

arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections  -g3 -T "C:/workspace_kds/test_kds_2/Project_Settings/Linker_Files/ProcessorExpert.ld" -Xlinker --gc-sections -L"C:/workspace_kds/test_kds_2/Project_Settings/Linker_Files" -L"C:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\usb" -L"C:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\shell" -L"C:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\rtcs" -L"C:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\psp" -L"C:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\mfs" -L"C:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\bsp" -L"C:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\bsp\Sources" -L"C:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\bsp\Generated_Code" -Wl,-Map,"test_kds_2.map" -v -nanolibc -o "test_kds_2.elf"  ./Sources/Events.o ./Sources/Tasks.o ./Sources/main.o ./Sources/my_tasks.o  ./Project_Settings/Startup_Code/startup.o  ./Generated_Code/System/CPU_Init.o ./Generated_Code/System/Peripherals_Init.o ./Generated_Code/System/Vectors.o  ./Generated_Code/Cpu.o ./Generated_Code/GPIO1.o ./Generated_Code/GPIO2.o ./Generated_Code/MQX1.o ./Generated_Code/PE_LDD.o ./Generated_Code/pin_mux.o   -l"usb.a" -l"shell.a" -l"rtcs.a" -l"psp.a" -l"mfs.a" -l"bsp.a"

 

 

Using built-in specs.

COLLECT_GCC=arm-none-eabi-g++

COLLECT_LTO_WRAPPER=c:/freescale/kds_1.1.0/toolchain/bin/../libexec/gcc/arm-none-eabi/4.8.0/lto-wrapper.exe

Target: arm-none-eabi

 

Configured with: /work/joes/kds-releases/1.1.0/src/gcc-4.8-kiln/configure --build=i686-unknown-linux-gnu --disable-libssp --disable-nls --disable-plugin --enable-languages=c,c++ --host=i686-w64-mingw32 --htmldir=/opt/Freescale/KDS_1.1.0/doc/html/gcc --infodir=/opt/Freescale/KDS_1.1.0/doc/info/gcc --mandir=/opt/Freescale/KDS_1.1.0/doc/man/gcc --pdfdir=/opt/Freescale/KDS_1.1.0/doc/pdf/gcc --prefix=/opt/Freescale/KDS_1.1.0/toolchain --target=arm-none-eabi --with-bugurl='Freescale Support <support@freescale.com>' --with-cpu=cortex-m0 --with-gmp=/work/joes/kds-releases/1.1.0/obj/host_i686-w64-mingw32/gmp/somn_install --with-mode=thumb --with-mpc=/work/joes/kds-releases/1.1.0/obj/host_i686-w64-mingw32/mpc/somn_install --with-mpfr=/work/joes/kds-releases/1.1.0/obj/host_i686-w64-mingw32/mpfr/somn_install --with-newlib --with-pkgversion='Kinetis Design Studio v1.1.0' --with-sysroot=/work/joes/kds-releases/1.1.0/install/i686-w64-mingw32/arm-none-eabi

 

(i am not sure where this came from. no such directory on my system)

 

Thread model: single

 

gcc version 4.8.0 (Kinetis Design Studio v1.1.0)

COMPILER_PATH=c:/freescale/kds_1.1.0/toolchain/bin/../libexec/gcc/arm-none-eabi/4.8.0/;c:/freescale/kds_1.1.0/toolchain/bin/../libexec/gcc/;c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/bin/

LIBRARY_PATH=c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/m4/fp/v4-sp-d16/;c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/lib/m4/fp/v4-sp-d16/;c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/;c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/;c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/lib/

COLLECT_GCC_OPTIONS='-mcpu=cortex-m4' '-mthumb' '-mfloat-abi=hard' '-mfpu=fpv4-sp-d16' '-O0' '-fmessage-length=0' '-fsigned-char' '-ffunction-sections' '-fdata-sections' '-g3' '-T' 'C:/workspace_kds/test_kds_2/Project_Settings/Linker_Files/ProcessorExpert.ld' '-LC:/workspace_kds/test_kds_2/Project_Settings/Linker_Files' '-LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\usb' '-LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\shell' '-LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\rtcs' '-LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\psp' '-LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\mfs' '-LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\bsp' '-LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\bsp\Sources' '-LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\bsp\Generated_Code' '-v' '-nanolibc' '-o' 'test_kds_2.elf'

 

c:/freescale/kds_1.1.0/toolchain/bin/../libexec/gcc/arm-none-eabi/4.8.0/collect2.exe --sysroot=/work/joes/kds-releases/1.1.0/install/i686-w64-mingw32/arm-none-eabi -X -o test_kds_2.elf c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/m4/fp/v4-sp-d16/crti.o c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/m4/fp/v4-sp-d16/crtbegin.o c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/lib/m4/fp/v4-sp-d16/crt0.o -LC:/workspace_kds/test_kds_2/Project_Settings/Linker_Files -LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\usb -LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\shell -LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\rtcs -LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\psp -LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\mfs -LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\bsp -LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\bsp\Sources -LC:\Freescale\Freescale_MQX_4_1\lib\frdmk64f.kds\debug\bsp\Generated_Code -Lc:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/m4/fp/v4-sp-d16 -Lc:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/lib/m4/fp/v4-sp-d16 -Lc:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0 -Lc:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc -Lc:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/lib --gc-sections -Map test_kds_2.map ./Sources/Events.o ./Sources/Tasks.o ./Sources/main.o ./Sources/my_tasks.o ./Project_Settings/Startup_Code/startup.o ./Generated_Code/System/CPU_Init.o ./Generated_Code/System/Peripherals_Init.o ./Generated_Code/System/Vectors.o ./Generated_Code/Cpu.o ./Generated_Code/GPIO1.o ./Generated_Code/GPIO2.o ./Generated_Code/MQX1.o ./Generated_Code/PE_LDD.o ./Generated_Code/pin_mux.o -lusb.a -lshell.a -lrtcs.a -lpsp.a -lmfs.a -lbsp.a -lstdc++ -lm --start-group -lgcc -lg_s -lc_s --end-group c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/m4/fp/v4-sp-d16/crtend.o c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/m4/fp/v4-sp-d16/crtn.o -T C:/workspace_kds/test_kds_2/Project_Settings/Linker_Files/ProcessorExpert.ld


c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lusb.a

c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lshell.a

c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lrtcs.a

c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lpsp.a

c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmfs.a

c:/freescale/kds_1.1.0/toolchain/bin/../lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lbsp.a

Outcomes