gommi49

Compilation problem: arm-none-linux-gnueabi-gcc, Gstreamer, dm368evm, dvsdk4.02.00.06.

Discussion created by gommi49 on Oct 24, 2011

          Hi,

    
     I try to compile an application with the compiler arm-none-linux-gnueabi-gcc and library GStreamer on DM368EVM (TI). But I have some problems.
I had to use '-rpath-link option.
______________________________________________________________________

MY MAKEFILE:


include ${DVSDK}/Rules.make

main:
    $(CSTOOL_PREFIX)gcc  `pkg-config --cflags --libs gstreamer-0.10` main.c -o -rpath-link=/home/stephane/targetfs/usr/lib main


MY DEBUG:


[linux-devkit]:~/Bureau/comp> make main
/home/stephane/CodeSourcery/Sourcery_G++_Lite//bin/arm-none-linux-gnueabi-gcc   `pkg-config --cflags --libs gstreamer-0.10` main.c -o  -rpath-link=/home/stephane/targetfs/usr/lib main
arm-none-linux-gnueabi-gcc: main: No such file or directory
make: *** [main] Erreur 1

 

*** /home/stephane/targetfs/: Is the directory of Target File System where Libraries are located.

 

______________________________________________________________________

 

More Detail >>HERE<<

 

For the moment nobody tell me exactly how to use -rpath-rlink option.

 

Please can anyone can help me to understand this option, or explain to me how to compile an application with the compiler arm-none-linux-gnueabi-gcc and library GStreamer on DM368EVM.

 

Regards,

 

                                                            Maxime Suire

Outcomes