This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Gator driver build error

Note: This was originally posted on 29th October 2012 at http://forums.arm.com

Hi,
I'm trying to build Gator-driver with linux kernel 3.0.15  for Mali-400MP profiling.
Here is the command that I used.

==========================================================================
make -C /home/hanback/Downloads/galaxy/kernel/gokhanmoral-siyahkernel3-1aafc91
M=$(pwd) ARCH=arm CROSS_COMPILE=/opt/arm-linux-gnueabi-gcc/bin/arm-linux-gnueabi-
KCFLAGS="-I /home/hanback/Downloads/galaxy/kernel/gokhanmoral-siyahkernel3-1aafc91/drivers/media/video/samsung/mali"  
GATOR_WITH_MALI_SUPPORT=MALI_400 modules
========================================================================


Unfortunately I got an error message.


==============================================================================


/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.c: In function "˜start':
/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.c:588:5: error: implicit declaration of function "˜register_trace_mali_sw_counters' [-Werror=implicit-function-declaration]
/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.c: In function "˜stop':
/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.c:617:5: error: implicit declaration of function "˜unregister_trace_mali_sw_counters' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *** [/usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_events_mali_400.o] Error 1
make: *** [_module_/usr/local/DS-5/arm/gator/driver-src/gator-driver] Error 2

==================================================================================


How can I resolve this problem??


Thank you.

Daisy.
0