Re: [libopenstm32-devel] CodeSourcery and libopenstm32
Status: Inactive
Brought to you by:
uh1763
From: Kamel B. <k.b...@gm...> - 2011-10-11 10:32:10
|
Hi Gareth, Actually I've already tried the summon-arm-toolchain method but I've missed to install some dependencies. I fixed the problem by installing them and using summon-arm-toolchain to compile libopenstm32, it works ! Thanks for you help. 2011/10/11 Gareth McMullin <ga...@bl...> > Hi Kamel > > libnosys is shipped with, and normally built with Newlib > (http://sourceware.org/newlib/) which is a C library for embedded > systems. libnosys provides dummy system calls for systems without an > OS to that applications can link to Newlib with no undefined symbols. > See http://sourceware.org/newlib/libc.html#Syscalls > > I believe that Newlib is the C library provided with the Code Sourcery > toolchain, so I would expect libnosys to be in there somewhere, but it > is possible that it's been removed from the distribution. > > The popular toolchain for use with libopenstm32 is summon-arm-toolchain: > https://github.com/esden/summon-arm-toolchain > This script builds an arm-eabi toolchain including binutils, gcc, > newlib, gdb and libopenstm32. > > I hope this helps. > > Regards, > Gareth > > > On Tue, Oct 11, 2011 at 10:19 PM, Kamel BOUHARA <k.b...@gm...> > wrote: > > > > Hi all, > > I am just starting to work on my Olimex stm32-h103 board. I've downloaded > > the libopenstm32 and want to compile it with the arm-none-eabi from > sourcery > > lite (version 2011) and here is what I'm getting : > > $ PREFIX=/home/mks/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-eabi make > > BUILD lib/stm32 > > CC vector.o > > CC rcc.o > > CC gpio.o > > CC usart.o > > CC adc.o > > CC spi.o > > CC flash.o > > CC nvic.o > > CC rtc.o > > CC i2c.o > > CC dma.o > > CC systick.o > > CC exti.o > > CC scb.o > > CC ethernet.o > > CC usb_f103.o > > CC usb.o > > CC usb_control.o > > CC usb_standard.o > > CC can.o > > CC timer.o > > CC usb_f107.o > > AR libopencm3_stm32.a > > BUILD lib/lpc13xx > > CC gpio.o > > AR libopencm3_lpc13xx.a > > BUILD lib/lm3s > > CC gpio.o > > CC vector.o > > AR libopencm3_lm3s.a > > BUILD examples/stm32/lisa-m/fancyblink > > > /home/mks/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.5.2/../../../../arm-none-eabi/bin/ld: > > cannot find -lnosys > > collect2: ld returned 1 exit status > > make[1]: *** [fancyblink.elf] Error 1 > > make: *** [examples] Error 2 > > It seems the makefile is not looking at the good lib directories ? > > Any help would be appreciate. > > Thanks. > > -- > > __________________________________ > > Kamel BOUHARA > > 7 rue Jules César > > 02100 SAINT-QUENTIN > > 06.17.83.29.04 > > > > > > > > > ------------------------------------------------------------------------------ > > All the data continuously generated in your IT infrastructure contains a > > definitive record of customers, application performance, security > > threats, fraudulent activity and more. Splunk takes this data and makes > > sense of it. Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2d-oct > > _______________________________________________ > > libopenstm32-devel mailing list > > lib...@li... > > https://lists.sourceforge.net/lists/listinfo/libopenstm32-devel > > > > > > > > -- > Black Sphere Technologies Ltd. > > Web: www.blacksphere.co.nz > Mobile: +64 27 777 2182 > Tel: +64 9 478 8885 > Skype: gareth.mcmullin > LinkedIn: http://nz.linkedin.com/in/gsmcmullin > -- __________________________________ *Kamel BOUHARA* 7 rue Jules César 02100 SAINT-QUENTIN 06.17.83.29.04 |