<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Gstreamer application compiling via Eclipse for ARM-board in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-application-compiling-via-Eclipse-for-ARM-board/m-p/946941#M141632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, I need someone who knows about Eclipse settings a bit. I try to compile gstreamer application for ARM board (Phytec-nunki board in my case, IMX6Quad).&lt;/P&gt;&lt;P&gt;My Eclipse version is: Eclipse IDE for C/C++ Developers Version: Photon Release (4.8.0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to describe step-by-step what I have done, and clarify the issue as much as I can.&lt;/P&gt;&lt;P&gt;First of all I have a simple linux project with the default invokes of gst functions. Smth like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;#include &amp;lt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/gstreamer-1.0/gst/gst.h&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;gst_init(&amp;amp;argc, &amp;amp;argv);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;&amp;nbsp;pipeline = gst_pipeline_new("test-pipeline");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then into &lt;STRONG&gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings&lt;/STRONG&gt; I set up the next:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC C Compiler:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Command: ${CC}&lt;/P&gt;&lt;P&gt;GCC C Compiler-&amp;gt;Miscellaneous:&lt;/P&gt;&lt;P&gt;Other flags: `pkg-config --cflags --libs gstreamer-1.0`&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC C Linker:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Command: ${CC}&lt;/P&gt;&lt;P&gt;Command line pattern: ${LDFLAGS} (added it between {COMMAND} and {FLAGS})&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC Assembler:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Command: ${AS}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After compiling it in this way I have got an error&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;Building target: gstTry3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;Invoking: GCC C Linker&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;arm-phytec-linux-gnueabi-gcc&amp;nbsp; -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed&amp;nbsp; -o "gstTry3"&amp;nbsp; ./main.o&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;./main.o: In function `gst_message_unref':&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/gstreamer-1.0/gst/gstmessage.h:379: undefined reference to `gst_mini_object_unref'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;makefile:29: recipe for target 'gstTry3' failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I decided to include paths to gstreamer libs and so on.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC C Compiler-&amp;gt;Includes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/gstreamer-1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib/glib-2.0/include&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/glib-2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to compile again.&lt;/P&gt;&lt;P&gt;The same error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;Building target: gstTry3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;Invoking: GCC C Linker&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;arm-phytec-linux-gnueabi-gcc&amp;nbsp; -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed&amp;nbsp; -o "gstTry3"&amp;nbsp; ./main.o&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;./main.o: In function `gst_message_unref':&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/gstreamer-1.0/gst/gstmessage.h:379: undefined reference to `gst_mini_object_unref'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;makefile:29: recipe for target 'gstTry3' failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that I found an additional info about linking the .so lib. I did it in the next way:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC C Linker-&amp;gt;Libraries&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Libraries (-l(lowercase “L”))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib/libgstreamer-1.0.so&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Library search path (-L)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During compiling I have got the next error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;Building target: gstTry3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;Invoking: GCC C Linker&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;arm-phytec-linux-gnueabi-gcc&amp;nbsp; -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -L/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib -o "gstTry3"&amp;nbsp; ./main.o&amp;nbsp;&amp;nbsp; -l/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib/libgstreamer-1.0.so&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/x86_64-phytecsdk-linux/usr/libexec/arm-phytec-linux-gnueabi/gcc/arm-phytec-linux-gnueabi/7.3.0/real-ld: cannot find -l/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib/libgstreamer-1.0.so&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;collect2: error: ld returned 1 exit status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;makefile:29: recipe for target 'gstTry3' failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;make: *** [gstTry3] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wondered a bit, because there is a &lt;STRONG&gt;libgstreamer-1.0.so &lt;/STRONG&gt;is in necessary directory. I have checked it twice.&lt;/P&gt;&lt;P&gt;So, does anyone know what was going wrong and where did I fail?&lt;/P&gt;&lt;P&gt;Feel free to ask me for any additional info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2019 09:18:51 GMT</pubDate>
    <dc:creator>savok2165</dc:creator>
    <dc:date>2019-10-04T09:18:51Z</dc:date>
    <item>
      <title>Gstreamer application compiling via Eclipse for ARM-board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-application-compiling-via-Eclipse-for-ARM-board/m-p/946941#M141632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, I need someone who knows about Eclipse settings a bit. I try to compile gstreamer application for ARM board (Phytec-nunki board in my case, IMX6Quad).&lt;/P&gt;&lt;P&gt;My Eclipse version is: Eclipse IDE for C/C++ Developers Version: Photon Release (4.8.0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to describe step-by-step what I have done, and clarify the issue as much as I can.&lt;/P&gt;&lt;P&gt;First of all I have a simple linux project with the default invokes of gst functions. Smth like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;#include &amp;lt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/gstreamer-1.0/gst/gst.h&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;gst_init(&amp;amp;argc, &amp;amp;argv);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;&amp;nbsp;pipeline = gst_pipeline_new("test-pipeline");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then into &lt;STRONG&gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings&lt;/STRONG&gt; I set up the next:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC C Compiler:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Command: ${CC}&lt;/P&gt;&lt;P&gt;GCC C Compiler-&amp;gt;Miscellaneous:&lt;/P&gt;&lt;P&gt;Other flags: `pkg-config --cflags --libs gstreamer-1.0`&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC C Linker:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Command: ${CC}&lt;/P&gt;&lt;P&gt;Command line pattern: ${LDFLAGS} (added it between {COMMAND} and {FLAGS})&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC Assembler:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Command: ${AS}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After compiling it in this way I have got an error&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;Building target: gstTry3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;Invoking: GCC C Linker&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;arm-phytec-linux-gnueabi-gcc&amp;nbsp; -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed&amp;nbsp; -o "gstTry3"&amp;nbsp; ./main.o&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;./main.o: In function `gst_message_unref':&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/gstreamer-1.0/gst/gstmessage.h:379: undefined reference to `gst_mini_object_unref'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;makefile:29: recipe for target 'gstTry3' failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace; font-size: 11px;"&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I decided to include paths to gstreamer libs and so on.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC C Compiler-&amp;gt;Includes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/gstreamer-1.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib/glib-2.0/include&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/glib-2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to compile again.&lt;/P&gt;&lt;P&gt;The same error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;Building target: gstTry3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;Invoking: GCC C Linker&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;arm-phytec-linux-gnueabi-gcc&amp;nbsp; -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed&amp;nbsp; -o "gstTry3"&amp;nbsp; ./main.o&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;./main.o: In function `gst_message_unref':&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/include/gstreamer-1.0/gst/gstmessage.h:379: undefined reference to `gst_mini_object_unref'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;makefile:29: recipe for target 'gstTry3' failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that I found an additional info about linking the .so lib. I did it in the next way:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Properties-&amp;gt;C/C++ Build-&amp;gt;Settings&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GCC C Linker-&amp;gt;Libraries&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Libraries (-l(lowercase “L”))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib/libgstreamer-1.0.so&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Library search path (-L)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During compiling I have got the next error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;Building target: gstTry3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;Invoking: GCC C Linker&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;arm-phytec-linux-gnueabi-gcc&amp;nbsp; -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -L/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib -o "gstTry3"&amp;nbsp; ./main.o&amp;nbsp;&amp;nbsp; -l/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib/libgstreamer-1.0.so&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/x86_64-phytecsdk-linux/usr/libexec/arm-phytec-linux-gnueabi/gcc/arm-phytec-linux-gnueabi/7.3.0/real-ld: cannot find -l/opt/phytec-yogurt/BSP-Yocto-i.MX6-PD18.1.0/sysroots/cortexa9hf-neon-phytec-linux-gnueabi/usr/lib/libgstreamer-1.0.so&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;collect2: error: ld returned 1 exit status&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;makefile:29: recipe for target 'gstTry3' failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11px; font-family: 'courier new', courier, monospace;"&gt;make: *** [gstTry3] Error 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wondered a bit, because there is a &lt;STRONG&gt;libgstreamer-1.0.so &lt;/STRONG&gt;is in necessary directory. I have checked it twice.&lt;/P&gt;&lt;P&gt;So, does anyone know what was going wrong and where did I fail?&lt;/P&gt;&lt;P&gt;Feel free to ask me for any additional info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 09:18:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-application-compiling-via-Eclipse-for-ARM-board/m-p/946941#M141632</guid>
      <dc:creator>savok2165</dc:creator>
      <dc:date>2019-10-04T09:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Gstreamer application compiling via Eclipse for ARM-board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-application-compiling-via-Eclipse-for-ARM-board/m-p/946942#M141633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at general guidelines for gstreamer with eclipse&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/24889541/adding-gstreamer-to-eclipse" title="https://stackoverflow.com/questions/24889541/adding-gstreamer-to-eclipse"&gt;c - Adding GStreamer to Eclipse - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://elinux.org/images/c/c6/Exploring_Linux_Kernel_Source_Code_with_Eclipse.pdf" title="https://elinux.org/images/c/c6/Exploring_Linux_Kernel_Source_Code_with_Eclipse.pdf"&gt;https://elinux.org/images/c/c6/Exploring_Linux_Kernel_Source_Code_with_Eclipse.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Oct 2019 12:13:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Gstreamer-application-compiling-via-Eclipse-for-ARM-board/m-p/946942#M141633</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-10-06T12:13:34Z</dc:date>
    </item>
  </channel>
</rss>

