Content originally posted in LPCWare by thinkJD on Wed Jul 25 08:41:38 MST 2012
I downloaded the new Version, both directorys "Tools" and "tools" exists.
I tried to compile the gpio project, but it doesn't work :(
Here the build log:
**** Clean-only build of configuration Debug for project GPIO ****
make clean
rm -rf ./src/IOtest.o ./src/cr_startup_lpc176x.o ./src/IOtest.d ./src/cr_startup_lpc176x.d GPIO.axf
**** Build of configuration Debug for project GPIO ****
make all
Using built-in specs.
Building file: ../src/IOtest.c
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../libexec/gcc/arm-none-eabi/4.6.2/lto-wrapper
Invoking: MCU C Compiler
Target: arm-none-eabi
Configured with: /Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/src/gcc/configure --build=i686-apple-darwin11 --host=i686-apple-darwin11 --target=arm-none-eabi --prefix=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/install-mac --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-lto --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-sysroot=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/install-mac/arm-none-eabi --with-gmp=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-mpfr=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-mpc=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-ppl=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-cloog=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-libelf=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-lstdc++ -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-extra-multilibs=armv6-m,armv7-m,armv7e-m,armv7-r
Thread model: single
gcc version 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] (GNU Tools for ARM Embedded Processors)
COLLECT_GCC_OPTIONS='-D' '__REDLIB__' '-D' 'DEBUG' '-D' '__CODE_RED' '-D' '__USE_CMSIS=CMSISv2_LPC17xx' '-I' '/Users/thinkJD/Documents/LPCXpresso_4.2.5_beta/workspace/CMSISv2_LPC17xx/inc' '-O0' '-g3' '-Wall' '-c' '-fmessage-length=0' '-fno-builtin' '-ffunction-sections' '-fdata-sections' '-v' '-mcpu=cortex-m3' '-mthumb' '-MMD' '-MP' '-MF' 'src/IOtest.d' '-MT' 'src/IOtest.d' '-o' 'src/IOtest.o'
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2_LPC17xx -I"/Users/thinkJD/Documents/LPCXpresso_4.2.5_beta/workspace/CMSISv2_LPC17xx/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections --verbose -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/IOtest.d" -MT"src/IOtest.d" -o"src/IOtest.o" "../src/IOtest.c"
/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../libexec/gcc/arm-none-eabi/4.6.2/cc1 -quiet -v -I /Users/thinkJD/Documents/LPCXpresso_4.2.5_beta/workspace/CMSISv2_LPC17xx/inc -imultilib armv7-m -iprefix /Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/ -isysroot /Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../arm-none-eabi -MMD src/IOtest.d -MF src/IOtest.d -MP -MT src/IOtest.d -dD -D__USES_INITFINI__ -D __REDLIB__ -D DEBUG -D __CODE_RED -D __USE_CMSIS=CMSISv2_LPC17xx ../src/IOtest.c -quiet -dumpbase IOtest.c -mcpu=cortex-m3 -mthumb -auxbase-strip src/IOtest.o -g3 -O0 -Wall -version -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -o /var/folders/hx/4rvt5y3x7yx6ntc8n1f193c80000gn/T//ccG8FGpj.s
GNU C (GNU Tools for ARM Embedded Processors) version 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] (arm-none-eabi)
compiled by GNU C version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00), GMP version 5.0.4, MPFR version 3.1.0-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.6.2/include"
ignoring nonexistent directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../arm-none-eabi/usr/local/include"
ignoring duplicate directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.6.2/include-fixed"
ignoring duplicate directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include"
ignoring nonexistent directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../arm-none-eabi/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/Users/thinkJD/Documents/LPCXpresso_4.2.5_beta/workspace/CMSISv2_LPC17xx/inc
/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/include
/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/include-fixed
/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include
End of search list.
GNU C (GNU Tools for ARM Embedded Processors) version 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] (arm-none-eabi)
compiled by GNU C version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00), GMP version 5.0.4, MPFR version 3.1.0-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: def7cea72c8a5cdae82ebd5da20f351f
../src/IOtest.c:20:31: fatal error: cr_section_macros.h: No such file or directory
compilation terminated.
make: *** [src/IOtest.o] Error 1