Control Flow Graph

rosario cirincione sarraciro at yahoo.it
Sun May 5 19:04:10 UTC 2013


So:

the shell output is:

SAROMBP:BLINKER saro$ make
test -d o-optimize || mkdir o-optimize
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:11:21: fatal error: bcm2835.h: No such file or directory
 #include <bcm2835.h>
                     ^
compilation terminated.
make: *** [o-optimize/init.o] Error 1 

/////////////////////////////////////////////////////////////

Actually the make file is:

PGM=${ARCH}/blinker.exe

# optional managers required
MANAGERS=all

# C source names
CSRCS = init.c
COBJS = $(CSRCS:%.c=${ARCH}/%.o)

include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg

# These tests require C++
ifneq ($(BCM2835_FOR_TARGET),)
  SUBDIRS= 
endif

OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)

all:    ${ARCH} $(PGM)

$(PGM): $(OBJS)
	$(make-exe)

/////////////////////////////////////////////////////////////

the project tree actually is:

saro$ tree -L 1 .
.
├── DONTCAREOFTHISDIR
├── Makefile
├── bcm2835.c
├── bcm2835.h
├── init.c
└── o-optimize

Thanks







More information about the users mailing list