Hi John,

I believe libcs3 is a codesourcery library. A better test of your build environment would be the RoboVero firmware https://github.com/robovero/firmware

-
Neil


On Thu, Sep 1, 2011 at 7:49 PM, John Pauley <pauleyj@gmail.com> wrote:
So I had success building crosstool-ng following the wiki instructions using fedora 12, gcc 4.4.1.  A step in the right direction.  However, building any of the lpc17xx.cmsis.driver.library samples still results in failure: cannot find -lcs3, full build log for LedBlinky below.  The linking in of cs3 comes from

/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/makesection/makerule/example/ldscript_ram_gnu.ld
/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/makesection/makerule/example/ldscript_rom_gnu.ld

which are included from somewhere in the build, but I don't find this library and all my research shows it should come from building a bare-metal cross toolchain, but I'm not sure.  Anyone have any insight into what I might try next?  It would be nice to actually use my shiny new RoboVero:)

Thanks,
John

Failed build of LedBlinky:

[pauleyj@linus LedBlinky]$ make
make[1]: Entering directory `/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source'
make[1]: Leaving directory `/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source'
echo "DEBUG MODE Status -->" 0
DEBUG MODE Status --> 0
CC /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.c
'/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/bin'/arm-bare_newlib_cortex_m3_nommu-eabi-gcc-4.4.1 -c -c  -mcpu=cortex-m3  -mthumb  -Wall  -O0  -mapcs-frame  -D__thumb2__=1  -msoft-float  -gdwarf-2  -mno-sched-prolog  -fno-hosted  -mtune=cortex-m3  -march=armv7-m  -mfix-cortex-m3-ldrd   -ffunction-sections  -fdata-sections  -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/include -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Examples/GPIO/LedBlinky   -D__BUILD_WITH_EXAMPLE__=1  -D__RAM_MODE__=0 /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.c -o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.o
/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.c:1: warning: switch -mcpu=cortex-m3 conflicts with -march= switch
CC /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.c
'/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/bin'/arm-bare_newlib_cortex_m3_nommu-eabi-gcc-4.4.1 -c -c  -mcpu=cortex-m3  -mthumb  -Wall  -O0  -mapcs-frame  -D__thumb2__=1  -msoft-float  -gdwarf-2  -mno-sched-prolog  -fno-hosted  -mtune=cortex-m3  -march=armv7-m  -mfix-cortex-m3-ldrd   -ffunction-sections  -fdata-sections  -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/include -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Examples/GPIO/LedBlinky   -D__BUILD_WITH_EXAMPLE__=1  -D__RAM_MODE__=0 /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.c -o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.o
/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.c:1: warning: switch -mcpu=cortex-m3 conflicts with -march= switch
AS /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/startup/gcc/startup_LPC17xx.s
'/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/bin'/arm-bare_newlib_cortex_m3_nommu-eabi-as -mcpu=cortex-m3  -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/include -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx -gdwarf-2  -gdwarf-2 --defsym RAM_MODE=0  /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/startup/gcc/startup_LPC17xx.s -o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/startup/gcc/startup_LPC17xx.o
'/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/bin'/arm-bare_newlib_cortex_m3_nommu-eabi-gcc LedBlinky.o   /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.o  /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.o  /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/startup/gcc/startup_LPC17xx.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/debug_frmwrk.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_adc.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_can.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_clkpwr.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_dac.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_emac.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/so
 urce/lpc17xx_exti.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_gpdma.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_gpio.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_i2c.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_i2s.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_libcfg_default.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_mcpwm.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_nvic.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_pinsel.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_pwm.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_qei.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_rit.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.li
 brary/Drivers/source/lpc17xx_rtc.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_spi.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_ssp.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_systick.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_timer.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_uart.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_wdt.o    -static -mcpu=cortex-m3 -mthumb -mthumb-interwork -Wl,--start-group  -L'/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/lib/gcc/arm-bare_newlib_cortex_m3_nommu-eabi/4.4.1/thumb2' -L'/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/arm-bare_newlib_cortex_m3_nommu-eabi/lib/thumb2' -lc -lg -lstdc++ -lsupc++  -lgcc -lm  -Wl,--end-group   -Xlinker -Map -Xlinker \
       LedBlinky.map -Xlinker -T   /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/makesection/makerule/example/ldscript_rom_gnu.ld -o LedBlinky.elf
/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_libcfg_default.o: In function `check_failed':
/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_libcfg_default.c:51: multiple definition of `check_failed'
LedBlinky.o:/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Examples/GPIO/LedBlinky/LedBlinky.c:150: first defined here
/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/arm-bare_newlib_cortex_m3_nommu-eabi/bin/ld.real: cannot find -lcs3
collect2: ld returned 1 exit status
make: *** [rom] Error 1
[pauleyj@linus LedBlinky]$
On Aug 4, 2011, at 11:00 PM, John Pauley wrote:

> Hi Neil,
>
> It is debatable if I've had any luck.  Attempting to build using the instructions on the wiki result in a failed build of crosstool-ng, tail of build log far below.
>
> If I reconfigure to not use a static c library, the crosstool-ng builds successfully, I can build the drivers, but building any of the examples fails the same (cannot find -lcs3).  I googled around a bit, but didn't find anything that helped or didn't look hard enough...
>
> Any insight is appreciated.
>
> Failed build of LedBlinky example:
>
> [pauleyj@snoopy LedBlinky]$ make
> make[1]: Entering directory `/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source'
> rmdir: failed to remove `/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/library': No such file or directory
> make[1]: [lib_realclean] Error 1 (ignored)
> make[1]: Leaving directory `/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source'
> echo "DEBUG MODE Status -->" 0
> DEBUG MODE Status --> 0
> CC /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.c
> '/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/bin'/arm-bare_newlib_cortex_m3_nommu-eabi-gcc-4.4.6 -c -c  -mcpu=cortex-m3  -mthumb  -Wall  -O0  -mapcs-frame  -D__thumb2__=1  -msoft-float  -gdwarf-2  -mno-sched-prolog  -fno-hosted  -mtune=cortex-m3  -march=armv7-m  -mfix-cortex-m3-ldrd   -ffunction-sections  -fdata-sections  -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/include -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Examples/GPIO/LedBlinky   -D__BUILD_WITH_EXAMPLE__=1  -D__RAM_MODE__=0 /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.c -o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.o
> /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.c:1: warning: switch -mcpu=cortex-m3 conflicts with -march= switch
> CC /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.c
> '/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/bin'/arm-bare_newlib_cortex_m3_nommu-eabi-gcc-4.4.6 -c -c  -mcpu=cortex-m3  -mthumb  -Wall  -O0  -mapcs-frame  -D__thumb2__=1  -msoft-float  -gdwarf-2  -mno-sched-prolog  -fno-hosted  -mtune=cortex-m3  -march=armv7-m  -mfix-cortex-m3-ldrd   -ffunction-sections  -fdata-sections  -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/include -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Examples/GPIO/LedBlinky   -D__BUILD_WITH_EXAMPLE__=1  -D__RAM_MODE__=0 /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.c -o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.o
> /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.c:1: warning: switch -mcpu=cortex-m3 conflicts with -march= switch
> AS /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/startup/gcc/startup_LPC17xx.s
> '/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/bin'/arm-bare_newlib_cortex_m3_nommu-eabi-as -mcpu=cortex-m3  -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/include -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport -I/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx -gdwarf-2  -gdwarf-2 --defsym RAM_MODE=0  /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/startup/gcc/startup_LPC17xx.s -o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/startup/gcc/startup_LPC17xx.o
> '/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/bin'/arm-bare_newlib_cortex_m3_nommu-eabi-gcc LedBlinky.o   /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/CoreSupport/core_cm3.o  /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/system_LPC17xx.o  /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Core/CM3/DeviceSupport/NXP/LPC17xx/startup/gcc/startup_LPC17xx.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_dac.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_adc.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_libcfg_default.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_gpio.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_mcpwm.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_emac.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.librar
 y/Drivers/source/lpc17xx_gpdma.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_can.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_nvic.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_i2s.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_uart.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_qei.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_spi.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_exti.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_pwm.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/debug_frmwrk.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_clkpwr.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_rtc.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.li
 brary/Drivers/source/lpc17xx_systick.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_i2c.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_wdt.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_pinsel.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_timer.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_rit.o /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_ssp.o    -static -mcpu=cortex-m3 -mthumb -mthumb-interwork -Wl,--start-group  -L'/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/lib/gcc/arm-bare_newlib_cortex_m3_nommu-eabi/4.4.6/thumb2' -L'/home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/arm-bare_newlib_cortex_m3_nommu-eabi/lib/thumb2' -lc -lg -lstdc++ -lsupc++  -lgcc -lm  -Wl,--end-group   -Xlinker -Map -Xlinker \
> LedBlinky.map -Xlinker -T   /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/makesection/makerule/example/ldscript_rom_gnu.ld -o LedBlinky.elf
> /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_libcfg_default.o: In function `check_failed':
> /home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Drivers/source/lpc17xx_libcfg_default.c:51: multiple definition of `check_failed'
> LedBlinky.o:/home/pauleyj/cortex-m3/lpc17xx.cmsis.driver.library/Examples/GPIO/LedBlinky/LedBlinky.c:150: first defined here
> /home/pauleyj/x-tools/arm-bare_newlib_cortex_m3_nommu-eabi/lib/gcc/arm-bare_newlib_cortex_m3_nommu-eabi/4.4.6/../../../../arm-bare_newlib_cortex_m3_nommu-eabi/bin/ld: cannot find -lcs3
> collect2: ld returned 1 exit status
> make: *** [rom] Error 1
> [pauleyj@snoopy LedBlinky]$
>
> Build log of crosstool-ng using wiki instructions:
>
> [pauleyj@charlie arm-eabi]$ tail -n 50 build.log
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-nomudflap.c: At top level:
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-nomudflap.c:96:3: warning: enum constant defined in struct or union is not visible in C++
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-pass.h:102:5: note: enum constant defined here
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-nomudflap.c:115:3: warning: enum constant defined in struct or union is not visible in C++
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-pass.h:102:5: note: enum constant defined here
> [ALL  ]    i686-build_pc-linux-gnu-gcc -c  -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc -I/home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/. -I/home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/../include -I/home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/../libcpp/include -I/home/pauleyj/cortex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/static/include -I/home/pauleyj/cortex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/static/include -I/home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/../libdecnumber -I/home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/pauleyj/cor
 tex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/static/include  -I/home/pauleyj/cortex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/static/include -DCLOOG_PPL_BACKEND   /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/varpool.c -o varpool.o
> [ALL  ]    In file included from /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/basic-block.h:31:0,
> [ALL  ]                     from /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/cgraph.h:25,
> [ALL  ]                     from /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/varpool.c:27:
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/function.h:140:34: warning: using 'call_site_record' as both a typedef and a tag is invalid in C++
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/function.h:140:16: note: originally defined here
> [ALL  ]    In file included from /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/basic-block.h:31:0,
> [ALL  ]                     from /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/cgraph.h:25,
> [ALL  ]                     from /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/varpool.c:27:
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/function.h:183:30: warning: using 'ipa_opt_pass' as both a typedef and a tag is invalid in C++
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/function.h:182:8: note: originally defined here
> [ALL  ]    In file included from /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/varpool.c:36:0:
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/gimple.h: In function 'gimple_cond_code':
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/gimple.h:2219:3: warning: enum conversion in return is invalid in C++
> [ALL  ]    In file included from /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-flow.h:1178:0,
> [ALL  ]                     from /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/varpool.c:37:
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-flow-inline.h: In function 'mark_call_clobbered':
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-flow-inline.h:691:30: warning: enum conversion in assignment is invalid in C++
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-flow-inline.h: In function 'clear_call_clobbered':
> [ALL  ]    /home/pauleyj/cortex-m3/arm-eabi/.build/src/gcc-4.4.1/gcc/tree-flow-inline.h:701:20: warning: enum conversion in assignment is invalid in C++
> [ALL  ]    rm -rf libbackend.a
> [ALL  ]    i686-build_pc-linux-gnu-ar rc libbackend.a insn-attrtab.o insn-automata.o insn-emit.o insn-extract.o insn-modes.o insn-opinit.o insn-output.o insn-peep.o insn-preds.o insn-recog.o ggc-page.o alias.o alloc-pool.o auto-inc-dec.o bb-reorder.o bitmap.o bt-load.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfgexpand.o cfghooks.o cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o cfgrtl.o combine.o combine-stack-adj.o convert.o coverage.o cse.o cselib.o dbxout.o dbgcnt.o dce.o ddg.o debug.o df-byte-scan.o df-core.o df-problems.o df-scan.o dfp.o diagnostic.o dojump.o dominance.o domwalk.o double-int.o dse.o dwarf2asm.o dwarf2out.o ebitmap.o emit-rtl.o et-forest.o except.o explow.o expmed.o expr.o final.o fixed-value.o fold-const.o function.o fwprop.o gcse.o genrtl.o ggc-common.o gimple.o gimple-iterator.o gimple-low.o gimple-pretty-print.o gimplify.o graph.o graphds.o graphite.o gtype-desc.o haifa-sched.o hooks.o ifcvt.o init-regs.o integrat
 e.o intl.o ira.o ira-build.o ira-costs.o ira-conflicts.o ira-color.o ira-emit.o ira-lives.o jump.o lambda-code.o lambda-mat.o lambda-trans.o langhooks.o lcm.o lists.o loop-doloop.o loop-init.o loop-invariant.o loop-iv.o loop-unroll.o loop-unswitch.o lower-subreg.o mcf.o mode-switching.o modulo-sched.o omega.o omp-low.o optabs.o options.o opts-common.o opts.o params.o passes.o pointer-set.o postreload-gcse.o postreload.o predict.o pretty-print.o print-rtl.o print-tree.o profile.o real.o recog.o reg-stack.o reginfo.o regmove.o regrename.o regstat.o reload.o reload1.o reorg.o resource.o rtl-error.o rtl-factoring.o rtl.o rtlanal.o rtlhooks.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o see.o sel-sched-ir.o sel-sched-dump.o sel-sched.o simplify-rtx.o sparseset.o sreal.o stack-ptr-mod.o statistics.o stmt.o stor-layout.o stringpool.o targhooks.o timevar.o toplev.o tracer.o tree-affine.o tree-call-cdce.o tree-cfg.o tree-cfgcleanup.o tree-chrec.o tree-complex.o
 tree-data-ref.o tree-dfa.o tree-dump.o tree-eh.o tree-if-conv.o tree-into-ssa.o tree-iterator.o tree-loop-distribution.o tree-loop-linear.o tree-nested.o tree-nrv.o tree-object-size.o tree-optimize.o tree-outof-ssa.o tree-parloops.o tree-phinodes.o tree-predcom.o tree-pretty-print.o tree-profile.o tree-scalar-evolution.o tree-sra.o tree-switch-conversion.o tree-ssa-address.o tree-ssa-alias.o tree-ssa-ccp.o tree-ssa-coalesce.o tree-ssa-copy.o tree-ssa-copyrename.o tree-ssa-dce.o tree-ssa-dom.o tree-ssa-dse.o tree-ssa-forwprop.o tree-ssa-ifcombine.o tree-ssa-live.o tree-ssa-loop-ch.o tree-ssa-loop-im.o tree-ssa-loop-ivcanon.o tree-ssa-loop-ivopts.o tree-ssa-loop-manip.o tree-ssa-loop-niter.o tree-ssa-loop-prefetch.o tree-ssa-loop-unswitch.o tree-ssa-loop.o tree-ssa-math-opts.o tree-ssa-operands.o tree-ssa-phiopt.o tree-ssa-phiprop.o tree-ssa-pre.o tree-ssa-propagate.o tree-ssa-reassoc.o tree-ssa-sccvn.o tree-ssa-sink.o tree-ssa-structalias.o tree-ssa-ter.o tree-ssa-threadedge
 .o tree-ssa-threadupdate.o tree-ssa-uncprop.o tree-ssa.o tree-ssanames.o tree-stdarg.o tree-tailcall.o tree-vect-analyze.o tree-vect-generic.o tree-vect-patterns.o tree-vect-transform.o tree-vectorizer.o tree-vrp.o tree.o value-prof.o var-tracking.o varasm.o varray.o vec.o version.o vmsdbgout.o web.o xcoffout.o arm.o  host-linux.o cgraph.o cgraphbuild.o cgraphunit.o cppdefault.o incpath.o ipa-cp.o ipa-inline.o ipa-prop.o ipa-pure-const.o ipa-reference.o ipa-struct-reorg.o ipa-type-escape.o ipa-utils.o ipa.o matrix-reorg.o prefix.o tree-inline.o tree-nomudflap.o varpool.o
> [ALL  ]    i686-build_pc-linux-gnu-ranlib  libbackend.a
> [ALL  ]    i686-build_pc-linux-gnu-gcc  -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H  -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o arm-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o   main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/home/pauleyj/cortex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/static/lib -lcloog -L/home/pauleyj/cortex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/static/lib -lppl_c -l
 ppl -lgmpxx -static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/home/pauleyj/cortex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/static/lib -L/home/pauleyj/cortex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/static/lib -lmpfr -lgmp
> [ALL  ]    /usr/bin/ld: cannot find -lstdc++
> [ALL  ]    collect2: ld returned 1 exit status
> [ERROR]    make[2]: *** [cc1-dummy] Error 1
> [ALL  ]    make[2]: Leaving directory `/home/pauleyj/cortex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/build-cc-core-static/gcc'
> [ERROR]    make[1]: *** [all-gcc] Error 2
> [ALL  ]    make[1]: Leaving directory `/home/pauleyj/cortex-m3/arm-eabi/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/build-cc-core-static'
> [ERROR]
> [ERROR]    >>  Build failed in step 'Installing static core C compiler'
> [ERROR]    >>
> [ERROR]    >>  Error happened in: CT_DoExecLog[scripts/functions]
> [ERROR]    >>        called from: do_cc_core[scripts/build/cc/gcc.sh@347]
> [ERROR]    >>        called from: do_cc_core_pass_1[scripts/build/cc/gcc.sh@64]
> [ERROR]    >>        called from: main[scripts/crosstool-NG.sh@581]
> [ERROR]    >>
> [ERROR]    >>  For more info on this error, look at the file: 'build.log'
> [ERROR]    >>  There is a list of known issues, some with workarounds, in:
> [ERROR]    >>      '/usr/local/share/doc/ct-ng-1.11.4/B - Known issues.txt'
> [ERROR]
> [ERROR]    Build failed in step 'Installing static core C compiler'
> [ERROR]
> [ERROR]    (elapsed: 24:21.81)
> [pauleyj@charlie arm-eabi]$
>
>
> On Aug 4, 2011, at 12:09 PM, Neil MacMunn wrote:
>
>> Hi John,
>>
>> Have you had any luck? What does your build.log say?
>>
>> -
>> Neil
>>
>> ------------------------------------------------------------------------------
>> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts.
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> _______________________________________________
>> gumstix-users mailing list
>> gumstix-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users