Keywords: profile, Power, PC, 440, timer
The following compile errors occur when I try to profile the PPC440 software application:
"Configuring make for target libs using:
gmake -s libs "COMPILER=powerpc-eabi-gcc" "ARCHIVER=powerpc-eabi-ar"
"COMPILER_FLAGS=-mcpu=440 -O2 -c" "EXTRA_COMPILER_FLAGS=-g"
Compiling common
powerpc-eabi-ar: creating ../../../lib/libxil.a
Compiling lldma
Compiling bsp
_profile_timer_hw.c: In function opb_timer_init:
_profile_timer_hw.c:127: error: PROFILE_TIMER_BASEADDR undeclared (first use in this function)
_profile_timer_hw.c:127: error: (Each undeclared identifier is reported only once
_profile_timer_hw.c:127: error: for each function it appears in.)
gmake[2]: *** [_profile_timer_hw.o] Error 1
gmake[1]: *** [profile_libs] Error 2"