This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler: Compilation error

Tool/software: TI C/C++ Compiler

Dear All, 

I have facing trouble in building the project with GNU compiler. Below is the log after the build. Please let me know the problem? 

'Invoking: GNU Linker

"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"GNUScale.map" -L"C:/StellarisWare/driverlib/gcc-cm3" -L"C:/ti/stellaris-master/driverlib/gcc-cm3" -L"C:/ti/StellarisWare/driverlib/gcc-cm3" -L"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3" -L"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3" -L"C:/ti/StellarisWare/driverlib/gcc-cm3" -lm -v -o"GNUScale.out" "./adc.o" "./bmipct.o" "./cmdline.o" "./control_task.o" "./cpu.o" "./display_task.o" "./flash.o" "./gpio.o" "./interrupt.o" "./key_task.o" "./led_task.o" "./lm3s9b92_startup_ccs_gcc.o" "./main.o" "./prt_task.o" "./sample_task.o" "./ssi.o" "./state.o" "./systick.o" "./timer.o" "./uart.o" "./uartstdio.o" "./ustdlib.o" "./utils.o" -Wl,-T"../lm3s9b92.lds" -Wl,--start-group -ldriver-cm3 -lm -lc -lgcov -lgcc -Wl,--end-group ../libdriver-cm3.a
makefile:168: recipe for target 'GNUScale.out' failed
Using built-in specs.
COLLECT_GCC=C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe
COLLECT_LTO_WRAPPER=c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/lto-wrapper.exe
Target: arm-none-eabi
Configured with: /home/build/work/GCC-4-9-build/src/gcc/configure --build=i686-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/home/build/work/GCC-4-9-build/install-mingw --libexecdir=/home/build/work/GCC-4-9-build/install-mingw/lib --infodir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/home/build/work/GCC-4-9-build/install-mingw/arm-none-eabi --with-libiconv-prefix=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-gmp=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpfr=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpc=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-isl=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-cloog=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-libelf=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-multilib-list=armv6-m,armv7-m,armv7e-m,cortex-m7,armv7-r
Thread model: single
gcc version 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 227977] (GNU Tools for ARM Embedded Processors)
COMPILER_PATH=c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/
LIBRARY_PATH=c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../arm-none-eabi/lib/armv7-m/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-mcpu=cortex-m3' '-mthumb' '-D' 'PART_LM3S9B92' '-ffunction-sections' '-fdata-sections' '-g' '-gdwarf-3' '-gstrict-dwarf' '-Wall' '-LC:/StellarisWare/driverlib/gcc-cm3' '-LC:/ti/stellaris-master/driverlib/gcc-cm3' '-LC:/ti/StellarisWare/driverlib/gcc-cm3' '-LC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3' '-LC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3' '-LC:/ti/StellarisWare/driverlib/gcc-cm3' '-v' '-o' 'GNUScale.out'
c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/collect2.exe -plugin c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/liblto_plugin-0.dll -plugin-opt=c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Sai\AppData\Local\Temp\ccGfMLCB.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lg -plugin-opt=-pass-through=-lc --sysroot=c:\ti\ccsv6\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\bin\../arm-none-eabi -X -o GNUScale.out c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/crti.o c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/crtbegin.o c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/crt0.o -LC:/StellarisWare/driverlib/gcc-cm3 -LC:/ti/stellaris-master/driverlib/gcc-cm3 -LC:/ti/StellarisWare/driverlib/gcc-cm3 -LC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3 -LC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3 -LC:/ti/StellarisWare/driverlib/gcc-cm3 -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../arm-none-eabi/lib/armv7-m -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3 -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../arm-none-eabi/lib -Map GNUScale.map -lm ./adc.o ./bmipct.o ./cmdline.o ./control_task.o ./cpu.o ./display_task.o ./flash.o ./gpio.o ./interrupt.o ./key_task.o ./led_task.o ./lm3s9b92_startup_ccs_gcc.o ./main.o ./prt_task.o ./sample_task.o ./ssi.o ./state.o ./systick.o ./timer.o ./uart.o ./uartstdio.o ./ustdlib.o ./utils.o -T../lm3s9b92.lds --start-group -ldriver-cm3 -lm -lc -lgcov -lgcc --end-group ../libdriver-cm3.a --start-group -lgcc -lg -lc --end-group c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/crtend.o c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/crtn.o
c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m\libc.a(lib_a-exit.o): In function `exit':
exit.c:(.text.exit+0x16): undefined reference to `_exit'
collect2.exe: error: ld returned 1 exit status
gmake: *** [GNUScale.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****


  • **** Build of configuration Debug__GNU for project GNUScale ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: ../adc.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"adc.d" -MT"adc.o" -o"adc.o" "../adc.c"
    'Finished building: ../adc.c'
    ' '
    'Building file: ../bmipct.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"bmipct.d" -MT"bmipct.o" -o"bmipct.o" "../bmipct.c"
    ../bmipct.c:44:12: warning: 'bmipctm' initialized and declared 'extern'
    extern int bmipctm[29][BMIPCT_SIZE] = {
    ^
    'Finished building: ../bmipct.c'
    ' '
    'Building file: ../cmdline.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"cmdline.d" -MT"cmdline.o" -o"cmdline.o" "../cmdline.c"
    'Finished building: ../cmdline.c'
    ' '
    'Building file: ../control_task.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"control_task.d" -MT"control_task.o" -o"control_task.o" "../control_task.c"
    'Finished building: ../control_task.c'
    ' '
    'Building file: ../cpu.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"cpu.d" -MT"cpu.o" -o"cpu.o" "../cpu.c"
    'Finished building: ../cpu.c'
    ' '
    'Building file: ../display_task.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"display_task.d" -MT"display_task.o" -o"display_task.o" "../display_task.c"
    'Finished building: ../display_task.c'
    ' '
    'Building file: ../flash.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"flash.d" -MT"flash.o" -o"flash.o" "../flash.c"
    'Finished building: ../flash.c'
    ' '
    'Building file: ../gpio.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"gpio.d" -MT"gpio.o" -o"gpio.o" "../gpio.c"
    'Finished building: ../gpio.c'
    ' '
    'Building file: ../interrupt.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"interrupt.d" -MT"interrupt.o" -o"interrupt.o" "../interrupt.c"
    'Finished building: ../interrupt.c'
    ' '
    'Building file: ../key_task.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"key_task.d" -MT"key_task.o" -o"key_task.o" "../key_task.c"
    'Finished building: ../key_task.c'
    ' '
    'Building file: ../led_task.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"led_task.d" -MT"led_task.o" -o"led_task.o" "../led_task.c"
    'Finished building: ../led_task.c'
    ' '
    'Building file: ../lm3s9b92_startup_ccs_gcc.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"lm3s9b92_startup_ccs_gcc.d" -MT"lm3s9b92_startup_ccs_gcc.o" -o"lm3s9b92_startup_ccs_gcc.o" "../lm3s9b92_startup_ccs_gcc.c"
    'Finished building: ../lm3s9b92_startup_ccs_gcc.c'
    ' '
    'Building file: ../main.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"main.d" -MT"main.o" -o"main.o" "../main.c"
    'Finished building: ../main.c'
    ' '
    'Building file: ../prt_task.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"prt_task.d" -MT"prt_task.o" -o"prt_task.o" "../prt_task.c"
    'Finished building: ../prt_task.c'
    ' '
    'Building file: ../sample_task.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"sample_task.d" -MT"sample_task.o" -o"sample_task.o" "../sample_task.c"
    'Finished building: ../sample_task.c'
    ' '
    'Building file: ../ssi.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"ssi.d" -MT"ssi.o" -o"ssi.o" "../ssi.c"
    'Finished building: ../ssi.c'
    ' '
    'Building file: ../state.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"state.d" -MT"state.o" -o"state.o" "../state.c"
    'Finished building: ../state.c'
    ' '
    'Building file: ../systick.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"systick.d" -MT"systick.o" -o"systick.o" "../systick.c"
    'Finished building: ../systick.c'
    ' '
    'Building file: ../timer.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"timer.d" -MT"timer.o" -o"timer.o" "../timer.c"
    'Finished building: ../timer.c'
    ' '
    'Building file: ../uart.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"uart.d" -MT"uart.o" -o"uart.o" "../uart.c"
    'Finished building: ../uart.c'
    ' '
    'Building file: ../uartstdio.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"uartstdio.d" -MT"uartstdio.o" -o"uartstdio.o" "../uartstdio.c"
    'Finished building: ../uartstdio.c'
    ' '
    'Building file: ../ustdlib.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"ustdlib.d" -MT"ustdlib.o" -o"ustdlib.o" "../ustdlib.c"
    'Finished building: ../ustdlib.c'
    ' '
    'Building file: ../utils.c'
    'Invoking: GNU Compiler'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/stellaris-master" -I"C:/ti/StellarisWare" -I"C:/Users/Sai/workspace_v6_2/GNUScale" -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -lnl -MD -lm -std=c99 -pedantic -c -MMD -MP -MF"utils.d" -MT"utils.o" -o"utils.o" "../utils.c"
    'Finished building: ../utils.c'
    ' '
    'Building target: GNUScale.out'
    'Invoking: GNU Linker'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe" -mcpu=cortex-m3 -mthumb -DPART_LM3S9B92 -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"GNUScale.map" -L"C:/StellarisWare/driverlib/gcc-cm3" -L"C:/ti/stellaris-master/driverlib/gcc-cm3" -L"C:/ti/StellarisWare/driverlib/gcc-cm3" -L"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3" -L"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3" -L"C:/ti/StellarisWare/driverlib/gcc-cm3" -lm -v -o"GNUScale.out" "./adc.o" "./bmipct.o" "./cmdline.o" "./control_task.o" "./cpu.o" "./display_task.o" "./flash.o" "./gpio.o" "./interrupt.o" "./key_task.o" "./led_task.o" "./lm3s9b92_startup_ccs_gcc.o" "./main.o" "./prt_task.o" "./sample_task.o" "./ssi.o" "./state.o" "./systick.o" "./timer.o" "./uart.o" "./uartstdio.o" "./ustdlib.o" "./utils.o" -Wl,-T"../lm3s9b92.lds" -Wl,--start-group -ldriver-cm3 -lm -lc -lgcov -lgcc -Wl,--end-group ../libdriver-cm3.a
    makefile:168: recipe for target 'GNUScale.out' failed
    Using built-in specs.
    COLLECT_GCC=C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc.exe
    COLLECT_LTO_WRAPPER=c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/lto-wrapper.exe
    Target: arm-none-eabi
    Configured with: /home/build/work/GCC-4-9-build/src/gcc/configure --build=i686-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/home/build/work/GCC-4-9-build/install-mingw --libexecdir=/home/build/work/GCC-4-9-build/install-mingw/lib --infodir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/home/build/work/GCC-4-9-build/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/home/build/work/GCC-4-9-build/install-mingw/arm-none-eabi --with-libiconv-prefix=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-gmp=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpfr=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-mpc=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-isl=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-cloog=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-libelf=/home/build/work/GCC-4-9-build/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-multilib-list=armv6-m,armv7-m,armv7e-m,cortex-m7,armv7-r
    Thread model: single
    gcc version 4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 227977] (GNU Tools for ARM Embedded Processors)
    COMPILER_PATH=c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/
    LIBRARY_PATH=c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../arm-none-eabi/lib/armv7-m/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/;c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../arm-none-eabi/lib/
    COLLECT_GCC_OPTIONS='-mcpu=cortex-m3' '-mthumb' '-D' 'PART_LM3S9B92' '-ffunction-sections' '-fdata-sections' '-g' '-gdwarf-3' '-gstrict-dwarf' '-Wall' '-LC:/StellarisWare/driverlib/gcc-cm3' '-LC:/ti/stellaris-master/driverlib/gcc-cm3' '-LC:/ti/StellarisWare/driverlib/gcc-cm3' '-LC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3' '-LC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3' '-LC:/ti/StellarisWare/driverlib/gcc-cm3' '-v' '-o' 'GNUScale.out'
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/collect2.exe -plugin c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/liblto_plugin-0.dll -plugin-opt=c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\Sai\AppData\Local\Temp\ccGfMLCB.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lg -plugin-opt=-pass-through=-lc --sysroot=c:\ti\ccsv6\tools\compiler\gcc-arm-none-eabi-4_9-2015q3\bin\../arm-none-eabi -X -o GNUScale.out c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/crti.o c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/crtbegin.o c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m/crt0.o -LC:/StellarisWare/driverlib/gcc-cm3 -LC:/ti/stellaris-master/driverlib/gcc-cm3 -LC:/ti/StellarisWare/driverlib/gcc-cm3 -LC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3 -LC:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3 -LC:/ti/StellarisWare/driverlib/gcc-cm3 -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../arm-none-eabi/lib/armv7-m -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3 -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib -Lc:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../arm-none-eabi/lib -Map GNUScale.map -lm ./adc.o ./bmipct.o ./cmdline.o ./control_task.o ./cpu.o ./display_task.o ./flash.o ./gpio.o ./interrupt.o ./key_task.o ./led_task.o ./lm3s9b92_startup_ccs_gcc.o ./main.o ./prt_task.o ./sample_task.o ./ssi.o ./state.o ./systick.o ./timer.o ./uart.o ./uartstdio.o ./ustdlib.o ./utils.o -T../lm3s9b92.lds --start-group -ldriver-cm3 -lm -lc -lgcov -lgcc --end-group ../libdriver-cm3.a --start-group -lgcc -lg -lc --end-group c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/crtend.o c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/armv7-m/crtn.o
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-m\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x16): undefined reference to `_exit'
    collect2.exe: error: ld returned 1 exit status
    gmake: *** [GNUScale.out] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****