Control Flow Graph

rosario cirincione sarraciro at yahoo.it
Sun May 5 19:08:35 UTC 2013


Instead if I use include with "" (double quote) :

the error is:
saro$ make
arm-rtems4.11-gcc --pipe -B/opt/rtems-4.11/bsps/arm-rtems4.11/raspberrypi/lib/ -specs bsp_specs -qrtems   -Wall  -O2 -g    -mcpu=arm1176jzf-s       -c   -o o-optimize/init.o init.c
init.c: In function ‘Init’:
init.c:19:2: warning: ‘return’ with a value, in function returning void [enabled by default]
  return 1;
  ^
init.c:17:21: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
   rtems_status_code status;
                     ^
arm-rtems4.11-gcc --pipe -B/opt/rtems-4.11/bsps/arm-rtems4.11/raspberrypi/lib/ -specs bsp_specs -qrtems   -Wall  -O2 -g    -mcpu=arm1176jzf-s         -mcpu=arm1176jzf-s   -o o-optimize/blinker.exe  o-optimize/init.o       
o-optimize/init.o: nella funzione "Init":
/Users/saro/development/RTemsPrjS/RasPiEX/BLINKER/init.c:18: riferimento non definito a "bcm2835_init"
/Users/saro/development/RTemsPrjS/RasPiEX/BLINKER/init.c:22: riferimento non definito a "bcm2835_gpio_fsel"
/Users/saro/development/RTemsPrjS/RasPiEX/BLINKER/init.c:32: riferimento non definito a "bcm2835_gpio_write"
/Users/saro/development/RTemsPrjS/RasPiEX/BLINKER/init.c:35: riferimento non definito a "bcm2835_gpio_write"
collect2: error: ld returned 1 exit status
make: *** [o-optimize/blinker.exe] Error 1

Sorry but in last message I have builded with <> instead....







More information about the users mailing list