Hello!
I have download and install dvsdk_dm365-evm_4_02_00_06_setuplinux and arm-2009q1-203-arm-none-linux-gnueabi.bin, DVSDK bulded succesfully.Now I have to build GStreamer for DM36x processors. I have download gst-ti-plugin-full-1.02.00.tar.gz and unpack it, after this I modify Makefile.common, I set variables in:DVSDK_INSTALL_DIR = /opt/DM36x_DVSDK_4_02TARGET_ROOT_DIR = /tmp/gstreamer GSTREAMER_DIR = /opt/gstreamerCROSS_COMPILER = CS_2009Q1GST_TI_PLATFORM =
After run make all I see unpacking glib-2.22.2 and configure it, but configure failed:checking for arm-linux-gcc... /opt/CodeSource//bin/arm-none-linux-gnueabi-gccchecking for C compiler default output file name... configure: error: in `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build/glib-2.22.2':configure: error: C compiler cannot create executablesSee `config.log' for more details.make[4]: *** [glib.configure] Error 77make[4]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'make[3]: *** [base] Error 2make[3]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'make[2]: *** [.base] Error 2make[2]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'make[1]: *** [opensource_build] Error 2make[1]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00'make: *** [all] Error 2
How can I solve this problem?
Thank you and exuse me my bad english.
Ok, I solve first problem after write correct path in Makefile.common.But now I get next problem:configure: No package 'glib-2.0' foundNo package 'gobject-2.0' foundNo package 'gthread-2.0' foundNo package 'gmodule-no-export-2.0' foundconfigure: error: This package requires GLib >= 2.16 to compile.make[4]: *** [gstreamer.configure] Error 1make[4]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'make[3]: *** [base] Error 2make[3]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'make[2]: *** [.base] Error 2make[2]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'make[1]: *** [opensource_build] Error 2make[1]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00'make: *** [all] Error 2
After run make all install I get next error:/opt/CodeSource//bin/arm-none-linux-gnueabi-gcc -shared .libs/version.o .libs/ucs4.o .libs/latin1.o .libs/utf16.o .libs/utf8.o .libs/parse.o .libs/render.o .libs/field.o .libs/frametype.o .libs/compat.o .libs/genre.o .libs/frame.o .libs/crc.o .libs/util.o .libs/tag.o .libs/file.o -L/home/kirill/MegaIP/nfs//opt/gstreamer/lib -L/opt/DM36x_DVSDK_4_02/linux-devkit/arm-none-linux-gnueabi/usr/lib /usr/lib/libz.so -march=armv5te -mtune=arm926ej-s -Wl,-soname -Wl,libid3tag.so.0 -o .libs/libid3tag.so.0.3.0/usr/lib/libz.so: could not read symbols: File in wrong formatcollect2: ld returned 1 exit statusmake[7]: *** [libid3tag.la] Error 1make[7]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build/libid3tag-0.15.1b'make[6]: *** [install-recursive] Error 1make[6]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build/libid3tag-0.15.1b'make[5]: *** [install] Error 2make[5]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build/libid3tag-0.15.1b'make[4]: *** [id3tag.build] Error 2make[4]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'make[3]: *** [base] Error 2make[3]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'make[2]: *** [.base] Error 2make[2]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00/opensource_build'make[1]: *** [opensource_build] Error 2make[1]: Leaving directory `/opt/DM36x_DVSDK_4_02/gstreamer_1.02.00'make: *** [all] Error 2
I think problem in linked with system /usr/lib/libz.so, but why?
1) A couple of E2E forum post that should help as it might be that you are not taking the right repository: http://e2e.ti.com/support/embedded/linux/f/354/t/100682.aspx#352910 http://e2e.ti.com/support/embedded/linux/f/354/t/67130.aspx#2429482) General info on G-streamer:a) The TI G-streamer port is available from here: http://www.ti.com/tool/gstreamerb) There are different wiki page that you could look at:This are the 2 main starting links for G-streamer: http://processors.wiki.ti.com/index.php/GStreamerNumbers of other Twiki pages on Gstreamer exist. For example: http://processors.wiki.ti.com/index.php/DMAI_GStreamer_Plug-In_Getting_Started_Guide http://processors.wiki.ti.com/index.php/GStreamer_Plug-in_2.x_Designc) Also there are info on the RidgeRun wiki:https://www.ridgerun.com/developer/wiki/index.php/Main_Pagehttps://www.ridgerun.com/developer/wiki/index.php/Category:DM36xThe below link tells that when debug is enable then performances are poor:https://www.ridgerun.com/developer/wiki/index.php/GStreamer_Debuggingd) Also the below page can help to understand G-streamer vs other solutions: http://processors.wiki.ti.com/index.php/GStreamer_positioning
Hope it helps.Anthony
Thank you, Anthony!
I have read https://gstreamer.ti.com/gf/project/gstreamer_ti/scmsvn/?action=AccessInfo and after get sources from repositoty trunk I succesfully buld it.