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

Build error  with DS500-BN-00001-r5p0-13rel0

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

Hi,
   I have a fedora pc and DS-5 version " DS500-BN-00001-r5p0-13rel0.tgz " installed in it. But While i tried to build the application error  occurs as shown below

/usr/local/DS-5/sw/gcc/bin/../lib/gcc/arm-linux-gnueabihf/4.7.1/../../../../arm-linux-gnueabihf/bin/ld: error: sample-app uses VFP register arguments, CMakeFiles/sample-app.dir/sample-app.c.o does not
/usr/local/DS-5/sw/gcc/bin/../lib/gcc/arm-linux-gnueabihf/4.7.1/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file CMakeFiles/sample-app.dir/[size=2]sample-[/size][size=2]app.c.o[/size]
[size=2]
[/size]
[size=2]I use these options while building application..  [/size][size=2]"[/size][size=2] -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -funsafe-math-optimizations -ftree-vectorize [/size][size=2]-fPIC -fsigned-char "[/size]
[size=2]
[/size]
[size=2]Anyone have idea about this..[/size]
Parents
  • Note: This was originally posted on 10th July 2013 at http://forums.arm.com

    Hi,

        Thanks for reply..  I changd my compile opitions as below , Now the code builds sucessfully. But in my hardware ( Panda board )  the application is not running.
    -march=armv7-a  -mfpu=vfp -mfloat-abi=hard -funsafe-math-optimizations -ftree-vectorize -mcpu=cortex-a8

    Other details
    ------------------

    Buld machine : Fedora 14, DS5 release 13

    Running Hardware : panda board with  linux
Reply
  • Note: This was originally posted on 10th July 2013 at http://forums.arm.com

    Hi,

        Thanks for reply..  I changd my compile opitions as below , Now the code builds sucessfully. But in my hardware ( Panda board )  the application is not running.
    -march=armv7-a  -mfpu=vfp -mfloat-abi=hard -funsafe-math-optimizations -ftree-vectorize -mcpu=cortex-a8

    Other details
    ------------------

    Buld machine : Fedora 14, DS5 release 13

    Running Hardware : panda board with  linux
Children
No data