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

DS-5 streamline in board Spartan-6/OMAPL138

Note: This was originally posted on 6th June 2013 at http://forums.arm.com

Hello,

Currently, I am working on Spartan-6/OMAPL138 Co-pPocessing kit. The OMAP's ARM, ARM926EJ-S, has installed the Ridgerun SDK with Linux kernel 2.6.33. The host's operating system is Ubuntu 11.10. I download DS-5 version 5.14, because I want to use the performance analycer. I could install DS-5 in Ubuntu (I activated it using the DS-5 evaluation license), but now I'm trying to compile the Gator driver included in the DS-5 toolkit, but I get an error related to cross-compilation. I was wondering if there are any trouble with the versions.

Here it is the error I get:

In file included from /home/soc-e/s6omapsdk/kernel/linux-2.6.33/arch/arm/include/asm/page.h:201,
           from include/linux/mmzone.h:20,
           from include/linux/gfp.h:4,
           from include/linux/slab.h:12,
           from /usr/local/DS-5/arm/gator/driver-src/gator-driver/gator_main.c:13:
/home/soc-e/s6omapsdk/kernel/linux-2.6.33/arch/arm/include/asm/memory.h: In function 'virt_to_phys':
/home/soc-e/s6omapsdk/kernel/linux-2.6.33/arch/arm/include/asm/memory.h:181: error: 'PHYS_OFFSET' undeclared (first use in this function)
Parents
  • Note: This was originally posted on 6th June 2013 at http://forums.arm.com


    Please show the exact make command that you are invoking and the error messages from make as well.


    I'm using the command:
    sudo make -C /home/soc-e/s6omapsdk/kernel/linux-2.6.33 M=`pwd` ARCH=arm CROSS_COMPILE=/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi- modules.

    The pictures show the error messages. As you can see, I get two more errors related to the menuconfig options CONFIG_TRACING and CONFIG_PROFILING; I don't know why, because I've already enabled them.

Reply
  • Note: This was originally posted on 6th June 2013 at http://forums.arm.com


    Please show the exact make command that you are invoking and the error messages from make as well.


    I'm using the command:
    sudo make -C /home/soc-e/s6omapsdk/kernel/linux-2.6.33 M=`pwd` ARCH=arm CROSS_COMPILE=/opt/arm-linux-gnueabi/bin/arm-linux-gnueabi- modules.

    The pictures show the error messages. As you can see, I get two more errors related to the menuconfig options CONFIG_TRACING and CONFIG_PROFILING; I don't know why, because I've already enabled them.

Children
No data