[ell-i-developers] Re: emulator compile errors

  • From: Jose Granados Vergara <jose.granados@xxxxxx>
  • To: "ell-i-developers@xxxxxxxxxxxxx" <ell-i-developers@xxxxxxxxxxxxx>
  • Date: Thu, 12 Jun 2014 20:42:43 +0000

Change line 41 of make/app.mk from

APP_LIBS := --start-group $(LIBS) --end-group $(POST_OBJS) $(EMULATOR_LIBS)


APP_LIBS := -Wl,--start-group $(LIBS) -Wl,--end-group $(POST_OBJS) 

De: ell-i-developers-bounce@xxxxxxxxxxxxx 
[ell-i-developers-bounce@xxxxxxxxxxxxx] en nombre de Eero Hakala 
Enviado: jueves, 12 de junio de 2014 09:40 p.m.
Para: ell-i-developers
Asunto: [ell-i-developers] emulator compile errors

Hi, I cloned the branch: feature-coap-temp and when compiling the emulator, got 
these errors:

../system/stm32/src/startup_stm32f0xx.c:71:65: warning: ‘naked’ attribute 
directive ignored [-Wattributes]
 void Reset_Handler(void)        __attribute__((/*reset*/, naked));
cc1plus: warning: unrecognized command line option "-Wno-deprecated-register" 
[enabled by default]
g++: error: unrecognized command line option ‘--start-group’
g++: error: unrecognized command line option ‘--end-group’
make[1]: *** [sketch] Error 1
make: *** [all] Error 2

both gcc and g++ are 4.8.1


PS the crosscompiler works without any errors!

Other related posts: