Hi,
I am trying to build the fsl-alsa-plugins-1.0.25.tar.gz of gstreamer plugins.
But, Build Failed...
Please refer to attached log.
Could you give me a advice?
[Environment]
Board: MX6DL SABRE-SDP
BSP: L3.0.35_4.0.0
Keita
Original Attachment has been moved to: LogFile_fsl-alsa-plugins-1.0.25.txt.zip
Solved! Go to Solution.
Hi Keita :
Please go to edit the ltib/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec when you are building .
Use '#' to comment out the followings cairo things like this :
#export CAIRO_CFLAGS=-I/home/ashish/Desktop/dev_imx6/ltib/rootfs/usr/include/cairo
#export CAIRO_LIBS=-L/home/ashish/Desktop/dev_imx6/ltib/rootfs/usr/lib/cairo
#export LIBS=-lcairo
Otherwise the gst-fsl-plugins will be build failed.
Best Regards
DAN
Hi Keita :
Please go to edit the ltib/dist/lfs-5.1/gst-plugins-good/gst-plugins-good.spec when you are building .
Use '#' to comment out the followings cairo things like this :
#export CAIRO_CFLAGS=-I/home/ashish/Desktop/dev_imx6/ltib/rootfs/usr/include/cairo
#export CAIRO_LIBS=-L/home/ashish/Desktop/dev_imx6/ltib/rootfs/usr/lib/cairo
#export LIBS=-lcairo
Otherwise the gst-fsl-plugins will be build failed.
Best Regards
DAN
Hi DAN,
Thank you for your reply.
I have already used '#' to comment out in gst-plugins-good.spec file.
So, gst-plugins-good build succeeded.
I tried to install and build the MMCODEC again.
But, Build Failed...
When I checked out below 2 packages, Linux BSP build succeeded.
[ ] gst-plugins-gl
[ ] fsl-alsa-plugins
Refer to "Figure 2 Selecting the Plugins" in i.MX Linux Multimedia Framework User's Guide, Rev 3.0.6.
This figure checked out 2 packages, too.
Can you build the fsl-alsa-plugins with checking " [*] fsl-alsa-plugins"?
Keita
Hi Keita,
As you select " [*] fsl-alsa-plugins", the fsl-alsa-plugins will be build by LTIB. And it is build succeed when i select. Refer to "Figure 2-2 Selecting Plug-Ins" in i.MX Linux Multimedia Framework User's Guide, libfslcodec, libfslparser, libfslvpuwrap, gst-fsl-plugins, gsst-plugins-gl, and fsl-alsa-plugins should all be selected.
Best Regards
DAN
Hi DAN,
I think so too.
But, "fsl-alsa-plugins" didn't build in my environment.
My building procedure is below link.
https://community.freescale.com/thread/310185
Ummm...
Keita
Hi Keita,
I just tried building the package and worked..... strange. Make sure your platform type is imx6q (./ltib -m selectype). Also, remove the rpm/BUILD/fsl-alsa-plugins-1.0.25/ folder and prep & scbuild & scdeploy manually.
Leo
Hi Leo,
>Make sure your platform type is imx6q (./ltib -m selectype).
My setting is following.
--- Choose the platform type
Selection (imx6q) --->
--- Choose the packages profile
Selection (use packages in preconfig (Min profile))
>Also, remove the rpm/BUILD/fsl-alsa-plugins-1.0.25/ folder and prep & scbuild & scdeploy manually.
I removed rpm/BUILD/fsl-alsa-plugins-1.0.25/ folder & prep & scbuild.
./ltib -m prep -p fsl-alsa-plugins // OK.
./ltib -m scbuild -p fsl-alsa-plugins // Build failed.
(Error log was same the attached "LogFile_fsl-alsa-plugins-1.0.25.txt")
Keita
Hi Keita,
I advise you to download IMX53_QSB_UBUNTU_VM from http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&fpsp=1&tab=Design_Tools_Tab and use it to build from beginning.
When you are building, make sure to edit the gst-plugins-good.spec as I have told you and install libtool by commends"sudo apt-get install libtool and sudo apt-get update".
I have try it step by step, it's OK. I think this method can help you .
Best Regards
Dan
Hi Dan,
Thank you for your reply.
> I advise you to download IMX53_QSB_UBUNTU_VM
I have used the Virtual Box instead of VMware.
So, I couldn' use this VM image.
> make sure to edit the gst-plugins-good.spec as I have told you
Yes. I already confirmed and comment out the "gst-plugins-good.spec" file as you said.
> and install libtool by commends"sudo apt-get install libtool and sudo apt-get update".
Tried to above command.
But, it wasn't improve.
Keita
Hi Keita,
Have you solved the problem?
Best Regards
Dan
Hi Dan,
Sorry for my delay.
I changed my BSP environment from L3.0.35_4.0.0 to L3.0.35_4.1.0.
fsl-alsa-plugins-1.0.25 build succeeded
Thank you very much.
Keita
Hi Keita,
It's a good news. I wonder if you have solved the problem, and it also confused me. Thank you for your reply.
Best Regards
Dan
Hi Dan,
>I wonder if you have solved the problem, and it also confused me.
I think so, too.
There was change the document of "Setting_Up_LTIB_Host.pdf" in L3.0.35_4.1.0 from L3.0.35_4.0.0.
=====
# Install packages needed by LTIB
sudo aptitude -y install gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev
sudo aptitude -y install libdbus-glib-1-dev liborbit2-dev intltool
sudo aptitude -y install ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool
sudo aptitude -y install uuid-dev liblzo2-dev
sudo aptitude -y install tcl dpkg
sudo aptitude -y install asciidoc texlive-latex-base dblatex xutils-dev // <---Add this install
=====
I found only following difference in build procedure.
Case "L3.0.35_4.1.0" ;
$ sudo aptitude -y install asciidoc texlive-latex-base dblatex xutils-dev
Case "L3.0.35_4.0.0" ;
$ sudo apt-get install texinfo
$ sudo apt-get install texlive
Keita
Hi Keita,
Thanks a lot for your details.
Best Regards
Dan
Hi Keita,
I want to know that does the new error occur or the error is the same as you have attached ?
Thanks.
Best Regards
Dan
Hi Keita,
You said that "fsl-alsa-plugins" didn't build in your environment. Could you attach the error? I want to know the details.
Best Regards
Dan
Hi DAN,
> Could you attach the error?
> I want to know the details.
Yes. The error occurred.
Refer to above my first question.
I attached the error log file.
Keita
Hi Keita :
I have set up the same environment as yours , and while i tried to build the fsl-alsa-plugins-1.0.25.tar.gz of gstreamer plugins it was build succeed . I read the words of the attached log one by one , and i have tried many ways to find the mistakes and reproduce the errors , it made no use. Errors come from the "asrc_pair.c", so maybe your source code is broken. I advise you to download the Multimedia Codec package from here:http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW and try to build it again. You can reference to the document "i.MX_6_Ubuntu_Multimedia_User_Guide.pdf".
Best Regards
DAN