Madhu Kumar N. | 22 Apr 15:37 2015

booting

Hi

 

I have bug during booting process it shows inflate return -3, please find the attached kernel console output.

 

Please give suggestion

 

Regards,

Madhu Kumar N.

 

 

SATTVA eTECH INDIA PRIVATE LIMITED

#91,11TH Main, Begur Main Road,

Hongasandra, Bangalore - 560 068.

Tel no: +91 80 25745590 Mobile: +91 9538325038

Email :  madhukumar <at> sattvaetech.com

URL:www.sattvaetech.com

 

 

Note : Please don't print this Email unless you really need to - this will preserve trees on planet earth.

           Check your email security settings for any attachments with this mail

 

Attachment (Booting.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 20 KiB
<div>

<div class="Section1">

<p class="MsoNormal">Hi<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">I have bug during booting process it shows inflate return -3,
please find the attached kernel console output.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Please give suggestion<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><span>Regards,<p></p></span></p>

<p class="MsoNormal"><span>Madhu Kumar N.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><p></p></p>

<p class="MsoNormal"><span>SATTVA eTECH INDIA PRIVATE
LIMITED</span><span><p></p></span></p>

<p class="MsoNormal"><span>#91,11TH Main,
Begur Main Road,</span><span><p></p></span></p>

<p class="MsoNormal"><span>Hongasandra, Bangalore -
560 068.<p></p></span></p>

<p class="MsoNormal"><span>Tel no: +91 80 25745590
Mobile: +91 9538325038<p></p></span></p>

<p class="MsoNormal"><span>Email :&nbsp; <a href="mailto:madhukumar <at> sattvaetech.com"><span>madhukumar <at> sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><a href="www.sattvaetech.com"><span>URL:www.sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Note : </span><span>Please don't print this Email </span><span>unless</span><span> you
really need to - this will preserve trees on </span><span>planet</span><span> earth.</span><span><p></p></span></p>

<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span>Check your email security
settings for any attachments with this mail</span><span><p></p></span></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

</div>

</div>
Madhu Kumar N. | 22 Apr 08:09 2015

booting process

Hi ,

 

 

I have bug during booting process stop at VFS: Mounted root (jffss2 filesystem),  Please find attached booting message.

 

Operating system :  fedora – 12

Tool : LTIB-2008

Kernel version : linux-2.6.25

 

 

Please give suggestion.

 

 

Regards,

Madhu Kumar N.

 

 

SATTVA eTECH INDIA PRIVATE LIMITED

#91,11TH Main, Begur Main Road,

Hongasandra, Bangalore - 560 068.

Tel no: +91 80 25745590 Mobile: +91 9538325038

Email :  madhukumar <at> sattvaetech.com

URL:www.sattvaetech.com

 

 

Note : Please don't print this Email unless you really need to - this will preserve trees on planet earth.

           Check your email security settings for any attachments with this mail

 

Attachment (Booting.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 20 KiB
<div>

<div class="Section1">

<p class="MsoNormal">Hi ,<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">I have bug during booting process stop at VFS: Mounted root
(jffss2 filesystem),&nbsp; Please find attached booting message.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Operating system : &nbsp;fedora &ndash; 12<p></p></p>

<p class="MsoNormal">Tool : LTIB-2008<p></p></p>

<p class="MsoNormal">Kernel version : linux-2.6.25<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Please give suggestion.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><span>Regards,<p></p></span></p>

<p class="MsoNormal"><span>Madhu Kumar N.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><p></p></p>

<p class="MsoNormal"><span>SATTVA eTECH INDIA PRIVATE
LIMITED</span><span><p></p></span></p>

<p class="MsoNormal"><span>#91,11TH Main,
Begur Main Road,</span><span><p></p></span></p>

<p class="MsoNormal"><span>Hongasandra, Bangalore -
560 068.<p></p></span></p>

<p class="MsoNormal"><span>Tel no: +91 80 25745590
Mobile: +91 9538325038<p></p></span></p>

<p class="MsoNormal"><span>Email :&nbsp; <a href="mailto:madhukumar <at> sattvaetech.com"><span>madhukumar <at> sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><a href="www.sattvaetech.com"><span>URL:www.sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Note : </span><span>Please don't print this Email </span><span>unless</span><span> you
really need to - this will preserve trees on </span><span>planet</span><span> earth.</span><span><p></p></span></p>

<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span>Check your email security
settings for any attachments with this mail</span><span><p></p></span></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

</div>

</div>
Madhu Kumar N. | 22 Apr 08:05 2015

booting process

Hi ,

 

 

I have bug during booting process stop at VFS: Mounted root (jffss2 filesystem),  Please find attached booting message.

 

Operating system :  fedora – 12

Tool : LTIB-2008

Kernel version : linux-2.6.25

 

 

Please give suggestion.

 

 

Regards,

Madhu Kumar N.

 

 

SATTVA eTECH INDIA PRIVATE LIMITED

#91,11TH Main, Begur Main Road,

Hongasandra, Bangalore - 560 068.

Tel no: +91 80 25745590 Mobile: +91 9538325038

Email :  madhukumar <at> sattvaetech.com

URL:www.sattvaetech.com

 

 

Note : Please don't print this Email unless you really need to - this will preserve trees on planet earth.

           Check your email security settings for any attachments with this mail

 

Attachment (Booting.docx): application/vnd.openxmlformats-officedocument.wordprocessingml.document, 20 KiB
<div>

<div class="Section1">

<p class="MsoNormal">Hi ,<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">I have bug during booting process stop at VFS: Mounted root
(jffss2 filesystem),&nbsp; Please find attached booting message.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Operating system : &nbsp;fedora &ndash; 12<p></p></p>

<p class="MsoNormal">Tool : LTIB-2008<p></p></p>

<p class="MsoNormal">Kernel version : linux-2.6.25<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal">Please give suggestion.<p></p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

<p class="MsoNormal"><span>Regards,<p></p></span></p>

<p class="MsoNormal"><span>Madhu Kumar N.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><p></p></p>

<p class="MsoNormal"><span>SATTVA eTECH INDIA PRIVATE
LIMITED</span><span><p></p></span></p>

<p class="MsoNormal"><span>#91,11TH Main,
Begur Main Road,</span><span><p></p></span></p>

<p class="MsoNormal"><span>Hongasandra, Bangalore -
560 068.<p></p></span></p>

<p class="MsoNormal"><span>Tel no: +91 80 25745590
Mobile: +91 9538325038<p></p></span></p>

<p class="MsoNormal"><span>Email :&nbsp; <a href="mailto:madhukumar <at> sattvaetech.com"><span>madhukumar <at> sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><a href="www.sattvaetech.com"><span>URL:www.sattvaetech.com</span></a><p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Note : </span><span>Please don't print this Email </span><span>unless</span><span> you
really need to - this will preserve trees on </span><span>planet</span><span> earth.</span><span><p></p></span></p>

<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span>Check your email security
settings for any attachments with this mail</span><span><p></p></span></p>

<p class="MsoNormal"><p>&nbsp;</p></p>

</div>

</div>
Mathieu Rozon | 29 Jan 23:03 2015

Modified packages using shared development

Hi,

 

I did minor modifications to packages kobs-ng and imx-bootlets.

We are multiple people working on this project and are using Git to share our code.

For the imx-bootlets package, simply adding the source code without scbuild and scdeploy works fine when the developer builds ltib.

My issue is with the kobs-ng package. If I could create and upload a patch everything would should build without problem, but I am trying to find an alternative.

 

I know that before building ltib, I should execute scbuild and scdeploy on the package, but this creates files with absolute paths relative to my build platform not corresponding to the other developers.

 

If I could force ltib to run scbuild and scdeploy on the kobs-ng package when executing ltib it would also solve my problem.

 

Maybe there is also a simpler solution that I simply do not see…

 

Thank you

 

-          Mat -

 

 

 

 

<div><div class="WordSection1">
<p class="MsoNormal">Hi, <p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I did minor modifications to packages kobs-ng and imx-bootlets.<p></p></p>
<p class="MsoNormal">We are multiple people working on this project and are using Git to share our code.<p></p></p>
<p class="MsoNormal">For the imx-bootlets package, simply adding the source code without scbuild and scdeploy works fine when the developer builds ltib.<p></p></p>
<p class="MsoNormal">My issue is with the kobs-ng package. If I could create and upload a patch everything would should build without problem, but I am trying to find an alternative.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I know that before building ltib, I should execute scbuild and scdeploy on the package, but this creates files with absolute paths relative to my build platform not corresponding to the other developers.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">If I could force ltib to run scbuild and scdeploy on the kobs-ng package when executing ltib it would also solve my problem.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Maybe there is also a simpler solution that I simply do not see&hellip;<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Thank you<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoListParagraph"><span>-<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>Mat -<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div></div>
L P | 29 Jan 15:07 2015

Re: Cross-compilation errors preventing build

Mike,

Sorry I missed response.  Creating a command line to remove the *.la files after install resolved the issue.

I will attempt upgrading to Gstreamer 1.x (again) in a few weeks.  I am currently at 0.10.31 limited by the TI DMAI plugin build error.  A build error occurred at 0.10.36 as well.

  • Have you (or anyone reading this) had success using a Gstreamer 1.x Linux build solution on TI DM37xx processors?
  • Working on the libvpx build issues to obtain the vp8 codec for webm playback.

Thank you,

Leo

Sent from Surface

From: Mike Goins
Sent: ‎Wednesday‎, ‎January‎ ‎14‎, ‎2015 ‎2‎:‎22‎ ‎PM
To: ltib <at> nongnu.org

On Wed, Jan 14, 2015 at 11:08 AM, Leonard Pimentel
<leo <at> lotus-research.com> wrote:
>
> General cross-compiling question
>
>
>
> Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?  I am running into build errors.  Help is appreciated.
>
>
>
> Error log snippet:
>
>
>
> libtool: link: warning: library `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la' was moved.
>
> /bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory
>
> libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive
>
> make[3]: *** [libgstaudiofx.la] Error 1
>
> make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'
>
> make[2]: *** [audiofx] Error 2
>
> make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'
>
> make[2]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'
>
> make[1]: *** [all-recursive] Error 1
>
>
>
>
>
>
>
> Snippets from spec file
>
>
>
> %define pfx          /opt/freescale/rootfs/%{_target_cpu}
>
> %define LOGICPD_DIR  /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3
>
>
>
> %Build
>
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig
>
>
>
> lt_cv_path_NM=nm \
>
> ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
>
>                 --with-pkg-config-path=$PKG_CONFIG_PATH \
>
>                 CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \
>
>                 LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \
>
>


This is my working build section for 1.2.2, so not sure if it works
well with 0.10:

%Build
lt_cv_path_NM=nm \
./configure --prefix=%{_prefix} --host=$CFGHOST \
   --build=%{_build} \
   --disable-speex \
   --disable-shout2 \
   --disable-dv1394 \
   --disable-libdv --disable-libcaca \
   --disable-flac \
   --disable-cairo --disable-aalib \
   --disable-aalibtest  \
   --with-sysroot=${DEV_IMAGE}
perl -pi -e 's,^sys_lib_search_path_spec=.*,sys_lib_search_path_spec=,' libtool
make


I don't recall why I put the perl snippet in there.  My commit note
was "Beating the gst-* packages into submission so they build
correctly."

I usually poke around other BSP packages to see what they've done.
buildroot uses gst 0.10, yocto is on recent versions.


> %install
>
> rm –rf $RPM_BUILD_ROOT
>
> make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}
>
>
>
>
>
>
>
> The following comment from StackOverflow suggests setting the dependency_libs section.
>
>
>
> Have you looked inside the libfreetype.la file? Libtool .la files are just text files describing libraries. By default, they are commented. Search for the libdir and dependency_libs settings and check if they point to the right places.
>
>
>
> How can this be accomplished either in the configuration statement or via a libtool –finish command?
>
>
>
> Contents of two .la files.  Note the libdir is referenced the file system directory path under the cross-compilied target.
>
>
>
> # libgstinterfaces-0.10.la - a libtool library file
>
> # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2
>
> #
>
> # Please DO NOT delete this file!
>
> # It is necessary for linking the library.
>
>
>
> # The name that we can dlopen(3).
>
> dlname='libgstinterfaces-0.10.so.0'
>
>
>
> # Names of this library.
>
> library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'
>
>
>
> # The name of the static archive.
>
> old_library='libgstinterfaces-0.10.a'
>
>
>
> # Linker flags that can not go in dependency_libs.
>
> inherited_linker_flags=' -pthread'
>
>
>
> # Libraries that this one depends upon.
>
> dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'
>
>
>
> # Names of additional weak libraries provided by this library
>
> weak_library_names=''
>
>
>
> # Version information for libgstinterfaces-0.10.
>
> current=21
>
> age=21
>
> revision=0
>
>
>
> # Is this an already installed library?
>
> installed=yes
>
>
>
> # Should we warn about portability when linking against -modules?
>
> shouldnotlink=no
>
>
>
> # Files to dlopen/dlpreopen
>
> dlopen=''
>
> dlpreopen=''
>
>
>
> # Directory that this library needs to be installed in:
>
> libdir='/usr/lib'
>
>
>
>
>
>
>
>
>
> libgstaudio-0.10.la - a libtool library file
>
> # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2
>
> #
>
> # Please DO NOT delete this file!
>
> # It is necessary for linking the library.
>
>
>
> # The name that we can dlopen(3).
>
> dlname='libgstaudio-0.10.so.0'
>
>
>
> # Names of this library.
>
> library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'
>
>
>
> # The name of the static archive.
>
> old_library='libgstaudio-0.10.a'
>
>
>
> # Linker flags that can not go in dependency_libs.
>
> inherited_linker_flags=' -pthread'
>
>
>
> # Libraries that this one depends upon.
>
> dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'
>
>
>
> # Names of additional weak libraries provided by this library
>
> weak_library_names=''
>
>
>
> # Version information for libgstaudio-0.10.
>
> current=21
>
> age=21
>
> revision=0
>
>
>
> # Is this an already installed library?
>
> installed=yes
>
>
>
> # Should we warn about portability when linking against -modules?
>
> shouldnotlink=no
>
>
>
> # Files to dlopen/dlpreopen
>
> dlopen=''
>
> dlpreopen=''
>
>
>
> # Directory that this library needs to be installed in:
>
> libdir='/usr/lib'
>
>
>
>
>
>
>
> Leonard Pimentel
>
> CEO & CTO
>
> Lotus Research, LLC.
>
> Cell: (917) 834-7533
>
>
>
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> Ltib <at> nongnu.org
> https://lists.nongnu.org/mailman/listinfo/ltib
>

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
Ltib <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/ltib
<div>
<div data-externalstyle="false" dir="ltr">
<div>Mike,</div>
<div><br></div>
<div>Sorry I missed response.&nbsp; Creating a command line to remove the *.la files after install resolved the issue.</div>
<div><br></div>
<div>I will attempt upgrading to Gstreamer 1.x (again) in a few weeks.&nbsp; I am currently at 0.10.31 limited by the TI DMAI plugin build error.&nbsp; A build error occurred at 0.10.36 as well.</div>
<div><br></div>
<ul>
<li><div>Have you&nbsp;(or anyone&nbsp;reading this)&nbsp;had success using a Gstreamer 1.x Linux build solution on TI DM37xx processors?</div></li>
<li><div data-signatureblock="true">Working on the libvpx build issues to obtain the vp8 codec for webm playback.</div></li>
</ul>
<div data-signatureblock="true"><br></div>
<div data-signatureblock="true">Thank you,</div>
<div data-signatureblock="true"><br></div>
<div data-signatureblock="true">Leo</div>
<div data-signatureblock="true"><br></div>
<div data-signatureblock="true">Sent from Surface</div>
<div data-signatureblock="true"><br></div>
<div><div>From:&nbsp;<a href="mailto:mike.goins <at> adtecservices.net" target="_parent">Mike Goins</a><br>Sent:&nbsp;&lrm;Wednesday&lrm;, &lrm;January&lrm; &lrm;14&lrm;, &lrm;2015 &lrm;2&lrm;:&lrm;22&lrm; &lrm;PM<br>To:&nbsp;<a href="mailto:ltib <at> nongnu.org" target="_parent">ltib <at> nongnu.org</a>
</div></div>
<div><br></div>
<div dir="">
<div class="PlainText">On Wed, Jan 14, 2015 at 11:08 AM, Leonard Pimentel<br>
&lt;leo <at> lotus-research.com&gt; wrote:<br>
&gt;<br>
&gt; General cross-compiling question<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?&nbsp; I am running into build errors.&nbsp; Help is appreciated.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Error log snippet:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; libtool: link: warning: library `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la' was moved.<br>
&gt;<br>
&gt; /bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory<br>
&gt;<br>
&gt; libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive<br>
&gt;<br>
&gt; make[3]: *** [libgstaudiofx.la] Error 1<br>
&gt;<br>
&gt; make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'<br>
&gt;<br>
&gt; make[2]: *** [audiofx] Error 2<br>
&gt;<br>
&gt; make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'<br>
&gt;<br>
&gt; make[2]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'<br>
&gt;<br>
&gt; make[1]: *** [all-recursive] Error 1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Snippets from spec file<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; %define pfx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freescale/rootfs/%{_target_cpu}<br>
&gt;<br>
&gt; %define LOGICPD_DIR&nbsp; /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; %Build<br>
&gt;<br>
&gt; export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; lt_cv_path_NM=nm \<br>
&gt;<br>
&gt; ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --with-pkg-config-path=$PKG_CONFIG_PATH \<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \<br>
&gt;<br>
&gt;<br><br><br>
This is my working build section for 1.2.2, so not sure if it works<br>
well with 0.10:<br><br>
%Build<br>
lt_cv_path_NM=nm \<br>
./configure --prefix=%{_prefix} --host=$CFGHOST \<br>
&nbsp;&nbsp; --build=%{_build} \<br>
&nbsp;&nbsp; --disable-speex \<br>
&nbsp;&nbsp; --disable-shout2 \<br>
&nbsp;&nbsp; --disable-dv1394 \<br>
&nbsp;&nbsp; --disable-libdv --disable-libcaca \<br>
&nbsp;&nbsp; --disable-flac \<br>
&nbsp;&nbsp; --disable-cairo --disable-aalib \<br>
&nbsp;&nbsp; --disable-aalibtest&nbsp; \<br>
&nbsp;&nbsp; --with-sysroot=${DEV_IMAGE}<br>
perl -pi -e 's,^sys_lib_search_path_spec=.*,sys_lib_search_path_spec=,' libtool<br>
make<br><br><br>
I don't recall why I put the perl snippet in there.&nbsp; My commit note<br>
was "Beating the gst-* packages into submission so they build<br>
correctly."<br><br>
I usually poke around other BSP packages to see what they've done.<br>
buildroot uses gst 0.10, yocto is on recent versions.<br><br><br>
&gt; %install<br>
&gt;<br>
&gt; rm &ndash;rf $RPM_BUILD_ROOT<br>
&gt;<br>
&gt; make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The following comment from StackOverflow suggests setting the dependency_libs section.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Have you looked inside the libfreetype.la file? Libtool .la files are just text files describing libraries. By default, they are commented. Search for the libdir and dependency_libs settings and check if they point to the right places.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; How can this be accomplished either in the configuration statement or via a libtool &ndash;finish command?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Contents of two .la files.&nbsp; Note the libdir is referenced the file system directory path under the cross-compilied target.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # libgstinterfaces-0.10.la - a libtool library file<br>
&gt;<br>
&gt; # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<br>
&gt;<br>
&gt; #<br>
&gt;<br>
&gt; # Please DO NOT delete this file!<br>
&gt;<br>
&gt; # It is necessary for linking the library.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # The name that we can dlopen(3).<br>
&gt;<br>
&gt; dlname='libgstinterfaces-0.10.so.0'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Names of this library.<br>
&gt;<br>
&gt; library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # The name of the static archive.<br>
&gt;<br>
&gt; old_library='libgstinterfaces-0.10.a'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Linker flags that can not go in dependency_libs.<br>
&gt;<br>
&gt; inherited_linker_flags=' -pthread'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Libraries that this one depends upon.<br>
&gt;<br>
&gt; dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Names of additional weak libraries provided by this library<br>
&gt;<br>
&gt; weak_library_names=''<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Version information for libgstinterfaces-0.10.<br>
&gt;<br>
&gt; current=21<br>
&gt;<br>
&gt; age=21<br>
&gt;<br>
&gt; revision=0<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Is this an already installed library?<br>
&gt;<br>
&gt; installed=yes<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Should we warn about portability when linking against -modules?<br>
&gt;<br>
&gt; shouldnotlink=no<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Files to dlopen/dlpreopen<br>
&gt;<br>
&gt; dlopen=''<br>
&gt;<br>
&gt; dlpreopen=''<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Directory that this library needs to be installed in:<br>
&gt;<br>
&gt; libdir='/usr/lib'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; libgstaudio-0.10.la - a libtool library file<br>
&gt;<br>
&gt; # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<br>
&gt;<br>
&gt; #<br>
&gt;<br>
&gt; # Please DO NOT delete this file!<br>
&gt;<br>
&gt; # It is necessary for linking the library.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # The name that we can dlopen(3).<br>
&gt;<br>
&gt; dlname='libgstaudio-0.10.so.0'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Names of this library.<br>
&gt;<br>
&gt; library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # The name of the static archive.<br>
&gt;<br>
&gt; old_library='libgstaudio-0.10.a'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Linker flags that can not go in dependency_libs.<br>
&gt;<br>
&gt; inherited_linker_flags=' -pthread'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Libraries that this one depends upon.<br>
&gt;<br>
&gt; dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Names of additional weak libraries provided by this library<br>
&gt;<br>
&gt; weak_library_names=''<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Version information for libgstaudio-0.10.<br>
&gt;<br>
&gt; current=21<br>
&gt;<br>
&gt; age=21<br>
&gt;<br>
&gt; revision=0<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Is this an already installed library?<br>
&gt;<br>
&gt; installed=yes<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Should we warn about portability when linking against -modules?<br>
&gt;<br>
&gt; shouldnotlink=no<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Files to dlopen/dlpreopen<br>
&gt;<br>
&gt; dlopen=''<br>
&gt;<br>
&gt; dlpreopen=''<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # Directory that this library needs to be installed in:<br>
&gt;<br>
&gt; libdir='/usr/lib'<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Leonard Pimentel<br>
&gt;<br>
&gt; CEO &amp; CTO<br>
&gt;<br>
&gt; Lotus Research, LLC.<br>
&gt;<br>
&gt; Cell: (917) 834-7533<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; LTIB home page: <a href="http://ltib.org" target="_parent">http://ltib.org</a><br>
&gt;<br>
&gt; Ltib mailing list<br>
&gt; Ltib <at> nongnu.org<br>
&gt; <a href="https://lists.nongnu.org/mailman/listinfo/ltib" target="_parent">https://lists.nongnu.org/mailman/listinfo/ltib</a><br>
&gt;<br><br>
_______________________________________________<br>
LTIB home page: <a href="http://ltib.org" target="_parent">http://ltib.org</a><br><br>
Ltib mailing list<br>
Ltib <at> nongnu.org<br><a href="https://lists.nongnu.org/mailman/listinfo/ltib" target="_parent">https://lists.nongnu.org/mailman/listinfo/ltib</a><br>
</div>

</div>
</div>
</div>
Stuart Hughes | 26 Jan 09:50 2015

Re: [SOLVED] Cross-compilation errors preventing build

Hi Lionel,

No I don't think it's the same.

--disable-static just tell a build not to create the .a (static libraries) that may be part of the build.  The would be needed by something else wanting to statically link with that package's library.

The .la files are use to allow you to test shared libraries before you install them, they let you link to a non-install set of libraries.  This is fine for self-hosted development, but will not work when you are cross compiling.  In fact it's worse than that, it will make the cross compilation pick up host libraries (which will be the wrong architecture).

To try to clarify, if you installed the .la files on the target image, they could be used if you natively compiled on a board running that target image.  However due to the way LTIB works, it stages the target image in rootfs and libraries under rootfs/usr/lib are used during cross compilation.  That is why you need to remove these as any .la files under rootfs will poison your cross compilation.

Regards, Stuart

On 25/01/15 19:22, Leonard Pimentel wrote:
<!-- /* Font Definitions */ <at> font-face {font-family:Helvetica; panose-1:2 11 6 4 2 2 2 2 2 4;} <at> font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} <at> font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} <at> font-face {font-family:"Folio Lt BT"; panose-1:2 11 4 3 2 2 2 2 2 4;} <at> font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman",serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} code {mso-style-priority:99; font-family:"Courier New";} span.apple-converted-space {mso-style-name:apple-converted-space;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Folio Lt BT",sans-serif; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} <at> page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} -->

Stuart,

 

I apologize for the delay.  Thank you for the clarification.   Is the option flag “—disable-static” effectively the same as removing the *.la and *.a files using the “rm –f $RPM_BUILD_ROOT/mypackage/*.la” command?

 

Regards,

 

Leo

 

From: Stuart Hughes [mailto:seh <at> zee2.com]
Sent: Sunday, January 18, 2015 1:23 PM
To: Leonard Pimentel
Cc: ltib <at> nongnu.org
Subject: Re: [SOLVED] Cross-compilation errors preventing build

 

Hi Leonard,

 

I’m not sure I completely follow, however it is essential that all the .la files are removed from the binary rpm file.

 

The reason is that the binary gets installed in the local project area on the host under rootfs/… any .la files under there will get picked up by later packages when cross compiling and will cause the compiler to try to link to libraries under /usr/lib /lib on the host, which is clearly not what you want.

 

Regards, Stuart

 

On 15 Jan 2015, at 18:22, Leonard Pimentel <leo <at> lotus-research.com> wrote:



Stuart Hughes,

 

Thank you.  Several times the cross-compilation would interrupt with errors and I could not understand why the *.la file was important to the compilation.

 

It was unforeseen that an innocuous statement would create cross-compilation build and install problems.

 

find $RPM_BUILD_ROOT%{pfx}%{_prefix}/lib/ -name “*.la” | xargs rm -f

 

After removing the above statement, warnings such “file moved” and the error “no such file or directory found” were commonplace.

 

 

 

 

From: Leonard Pimentel 
Sent: Wednesday, January 14, 2015 11:08 AM
To: 'ltib <at> nongnu.org'
Subject: Cross-compilation errors preventing build

 

General cross-compiling question

 

Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?  I am running into build errors.  Help is appreciated.

 

Error log snippet:

 

libtool: link: warning: library `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la' was moved.

/bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory

libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive

make[3]: *** [libgstaudiofx.la] Error 1

make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'

make[2]: *** [audiofx] Error 2

make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'

make[2]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'

make[1]: *** [all-recursive] Error 1

 

 

 

Snippets from spec file

 

%define pfx          /opt/freescale/rootfs/%{_target_cpu}

%define LOGICPD_DIR  /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3

 

%Build

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig

 

lt_cv_path_NM=nm \

./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \

                --with-pkg-config-path=$PKG_CONFIG_PATH \

                CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \

                LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \

 

%install

rm –rf $RPM_BUILD_ROOT

make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}

 

 

 

The following comment from StackOverflow suggests setting the dependency_libs section. 

 

Have you looked inside the libfreetype.la file? Libtool .la files are just text files describing libraries. By default, they are commented. Search for the libdir and dependency_libs settings and check if they point to the right places.

 

How can this be accomplished either in the configuration statement or via a libtool –finish command?

 

Contents of two .la files.  Note the libdir is referenced the file system directory path under the cross-compilied target.

 

# libgstinterfaces-0.10.la - a libtool library file

# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2

#

# Please DO NOT delete this file!

# It is necessary for linking the library.

 

# The name that we can dlopen(3).

dlname='libgstinterfaces-0.10.so.0'

 

# Names of this library.

library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'

 

# The name of the static archive.

old_library='libgstinterfaces-0.10.a'

 

# Linker flags that can not go in dependency_libs.

inherited_linker_flags=' -pthread'

 

# Libraries that this one depends upon.

dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'

 

# Names of additional weak libraries provided by this library

weak_library_names=''

 

# Version information for libgstinterfaces-0.10.

current=21

age=21

revision=0

 

# Is this an already installed library?

installed=yes

 

# Should we warn about portability when linking against -modules?

shouldnotlink=no

 

# Files to dlopen/dlpreopen

dlopen=''

dlpreopen=''

 

# Directory that this library needs to be installed in:

libdir='/usr/lib'

 

 

 

 

libgstaudio-0.10.la - a libtool library file

# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2

#

# Please DO NOT delete this file!

# It is necessary for linking the library.

 

# The name that we can dlopen(3).

dlname='libgstaudio-0.10.so.0'

 

# Names of this library.

library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'

 

# The name of the static archive.

old_library='libgstaudio-0.10.a'

 

# Linker flags that can not go in dependency_libs.

inherited_linker_flags=' -pthread'

 

# Libraries that this one depends upon.

dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'

 

# Names of additional weak libraries provided by this library

weak_library_names=''

 

# Version information for libgstaudio-0.10.

current=21

age=21

revision=0

 

# Is this an already installed library?

installed=yes

 

# Should we warn about portability when linking against -modules?

shouldnotlink=no

 

# Files to dlopen/dlpreopen

dlopen=''

dlpreopen=''

 

# Directory that this library needs to be installed in:

libdir='/usr/lib'

 

 

 

Leonard Pimentel

CEO & CTO

Lotus Research, LLC.

Cell: (917) 834-7533

 


<div>
    <div class="moz-cite-prefix">Hi Lionel,<br><br>
      No I don't think it's the same.<br><br>
      --disable-static just tell a build not to create the .a (static
      libraries) that may be part of the build.&nbsp; The would be needed by
      something else wanting to statically link with that package's
      library.<br><br>
      The .la files are use to allow you to test shared libraries before
      you install them, they let you link to a non-install set of
      libraries.&nbsp; This is fine for self-hosted development, but will not
      work when you are cross compiling.&nbsp; In fact it's worse than that,
      it will make the cross compilation pick up host libraries (which
      will be the wrong architecture).<br><br>
      To try to clarify, if you installed the .la files on the target
      image, they could be used if you natively compiled on a board
      running that target image.&nbsp; However due to the way LTIB works, it
      stages the target image in rootfs and libraries under
      rootfs/usr/lib are used during cross compilation.&nbsp; That is why you
      need to remove these as any .la files under rootfs will poison
      your cross compilation.<br><br>
      Regards, Stuart<br><br>
      On 25/01/15 19:22, Leonard Pimentel wrote:<br>
</div>
    <blockquote cite="mid:SN2PR0601MB783EFC5873095B5AD76B64196340 <at> SN2PR0601MB783.namprd06.prod.outlook.com" type="cite">
      &lt;!--
/* Font Definitions */
 <at> font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
 <at> font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
 <at> font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 <at> font-face
	{font-family:"Folio Lt BT";
	panose-1:2 11 4 3 2 2 2 2 2 4;}
 <at> font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
code
	{mso-style-priority:99;
	font-family:"Courier New";}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Folio Lt BT",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
 <at> page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--&gt;<div class="WordSection1">
        <p class="MsoNormal"><span>Stuart,<p></p></span></p>
        <p class="MsoNormal"><span><p>&nbsp;</p></span></p>
        <p class="MsoNormal"><span>I apologize for the
            delay.&nbsp; Thank you for the clarification.&nbsp;&nbsp; Is the option
            flag &ldquo;&mdash;disable-static&rdquo; effectively the same as removing the
            *.la and *.a files using the &ldquo;rm &ndash;f
            $RPM_BUILD_ROOT/mypackage/*.la&rdquo; command?<p></p></span></p>
        <p class="MsoNormal"><span><p>&nbsp;</p></span></p>
        <p class="MsoNormal"><span>Regards,<p></p></span></p>
        <p class="MsoNormal"><span><p>&nbsp;</p></span></p>
        <p class="MsoNormal"><span>Leo
            <p></p></span></p>
        <p class="MsoNormal"><span><p>&nbsp;</p></span></p>
        <div>
          <div>
            <div>
              <p class="MsoNormal"><span>From:</span><span>
                  Stuart Hughes [<a class="moz-txt-link-freetext" href="mailto:seh <at> zee2.com">mailto:seh <at> zee2.com</a>]
                  <br>Sent: Sunday, January 18, 2015 1:23 PM<br>To: Leonard Pimentel<br>Cc: <a class="moz-txt-link-abbreviated" href="mailto:ltib <at> nongnu.org">ltib <at> nongnu.org</a><br>Subject: Re: [SOLVED] Cross-compilation errors
                  preventing build<p></p></span></p>
            </div>
          </div>
          <p class="MsoNormal"><p>&nbsp;</p></p>
          <p class="MsoNormal">Hi Leonard,<p></p></p>
          <div>
            <p class="MsoNormal"><p>&nbsp;</p></p>
          </div>
          <div>
            <p class="MsoNormal">I&rsquo;m not sure I completely follow,
              however it is essential that all the .la files are removed
              from the binary rpm file.<p></p></p>
          </div>
          <div>
            <p class="MsoNormal"><p>&nbsp;</p></p>
          </div>
          <div>
            <p class="MsoNormal">The reason is that the binary gets
              installed in the local project area on the host under
              rootfs/&hellip; any .la files under there will get picked up by
              later packages when cross compiling and will cause the
              compiler to try to link to libraries under /usr/lib /lib
              on the host, which is clearly not what you want.<p></p></p>
          </div>
          <div>
            <p class="MsoNormal"><p>&nbsp;</p></p>
          </div>
          <div>
            <p class="MsoNormal">Regards, Stuart<p></p></p>
          </div>
          <div>
            <p class="MsoNormal"><p>&nbsp;</p></p>
            <div>
              <div>
                <p class="MsoNormal">On 15 Jan 2015, at 18:22, Leonard
                  Pimentel &lt;<a moz-do-not-send="true" href="mailto:leo <at> lotus-research.com">leo <at> lotus-research.com</a>&gt;
                  wrote:<p></p></p>
              </div>
              <p class="MsoNormal"><br><br><p></p></p>
              <blockquote>
                <div>
                  <div>
                    <p class="MsoNormal"><span>Stuart Hughes,</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>Thank you. &nbsp;Several
                        times the cross-compilation would interrupt with
                        errors and I could not understand why the *.la
                        file was important to the compilation.</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>It was unforeseen that
                        an innocuous statement would create
                        cross-compilation build and install problems.</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>find
                        $RPM_BUILD_ROOT%{pfx}%{_prefix}/lib/ -name
                        &ldquo;*.la&rdquo; | xargs rm -f</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>After removing the above
                        statement, warnings such &ldquo;file moved&rdquo; and the
                        error &ldquo;no such file or directory found&rdquo; were
                        commonplace.</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span><a moz-do-not-send="true" href="http://lists.gnu.org/archive/html/ltib/2010-04/msg00127.html"><span>http://lists.gnu.org/archive/html/ltib/2010-04/msg00127.html</span></a></span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <div>
                      <div>
                        <p class="MsoNormal"><span>From:</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>Leonard

                            Pimentel<span class="apple-converted-space">&nbsp;</span><br>Sent:<span class="apple-converted-space">&nbsp;</span>Wednesday,
                            January 14, 2015 11:08 AM<br>To:<span class="apple-converted-space">&nbsp;</span>'<a moz-do-not-send="true" href="mailto:ltib <at> nongnu.org"><span>ltib <at> nongnu.org</span></a>'<br>Subject:<span class="apple-converted-space">&nbsp;</span>Cross-compilation
                            errors preventing build<p></p></span></p>
                      </div>
                    </div>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>General cross-compiling
                        question</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>Are there two solutions
                        (at minimum) to solve the following warning
                        [file moved] and error [no such file]?&nbsp; I am
                        running into build errors.&nbsp; Help is appreciated.</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>Error log snippet:</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>libtool: link: warning:
                        library
                        `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la'
                        was moved.</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>/bin/sed: can't read
                        /usr/lib/libgstinterfaces-0.10.la: No such file
                        or directory</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>libtool: link:
                        `/usr/lib/libgstinterfaces-0.10.la' is not a
                        valid libtool archive</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>make[3]: ***
                        [libgstaudiofx.la] Error 1</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>make[3]: Leaving
                        directory
`/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>make[2]: *** [audiofx]
                        Error 2</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>make[3]: Leaving
                        directory
`/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>make[2]: Leaving
                        directory
`/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>make[1]: ***
                        [all-recursive] Error 1</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>Snippets from spec
                          file</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>%define pfx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        /opt/freescale/rootfs/%{_target_cpu}</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>%define LOGICPD_DIR&nbsp;
                        /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>%Build</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>export
                        PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>lt_cv_path_NM=nm \</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>./configure
                        --prefix=%{_prefix} --host=$CFGHOST
                        --build=%{_build} \</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                        --with-pkg-config-path=$PKG_CONFIG_PATH \</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                        CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst
                        \</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                        LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>%install</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>rm &ndash;rf $RPM_BUILD_ROOT</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>make install
                        DESTDIR=${RPM_BUILD_ROOT}%{pfx}</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>The following comment
                        from StackOverflow suggests setting the
                        dependency_libs section.&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>Have
                        you looked inside the<span class="apple-converted-space">&nbsp;</span></span><span>libfreetype.la</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>file?

                        Libtool<span class="apple-converted-space">&nbsp;</span></span><span>.la</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>files

                        are just text files describing libraries. By
                        default, they are commented. Search for the<span class="apple-converted-space">&nbsp;</span></span><span>libdir</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>and<span class="apple-converted-space">&nbsp;</span></span><span>dependency_libs</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>settings

                        and check if they point to the right places.</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>How can this be
                        accomplished either in the configuration
                        statement or via a libtool &ndash;finish command?</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>Contents
                        of two .la files.&nbsp; Note the libdir is referenced
                        the file system directory path under the
                        cross-compilied target.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        libgstinterfaces-0.10.la - a libtool library
                        file<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Generated by ltmain.sh (GNU libtool) 2.2.6b
                        Debian-2.2.6b-2<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Please DO NOT delete this file!<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        It is necessary for linking the library.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        The name that we can dlopen(3).<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>dlname='libgstinterfaces-0.10.so.0'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Names of this library.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>library_names='libgstinterfaces-0.10.so.0.21.0
                        libgstinterfaces-0.10.so.0
                        libgstinterfaces-0.10.so'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        The name of the static archive.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>old_library='libgstinterfaces-0.10.a'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Linker flags that can not go in dependency_libs.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>inherited_linker_flags='
                        -pthread'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Libraries that this one depends upon.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>dependency_libs='
                        -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib
                        -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0
                        -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Names of additional weak libraries provided by
                        this library<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>weak_library_names=''<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Version information for libgstinterfaces-0.10.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>current=21<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>age=21<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>revision=0<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Is this an already installed library?<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>installed=yes<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Should we warn about portability when linking
                        against -modules?<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>shouldnotlink=no<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Files to dlopen/dlpreopen<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>dlopen=''<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>dlpreopen=''<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Directory that this library needs to be
                        installed in:<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>libdir='/usr/lib'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>libgstaudio-0.10.la
                        - a libtool library file<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Generated by ltmain.sh (GNU libtool) 2.2.6b
                        Debian-2.2.6b-2<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Please DO NOT delete this file!<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        It is necessary for linking the library.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        The name that we can dlopen(3).<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>dlname='libgstaudio-0.10.so.0'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Names of this library.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>library_names='libgstaudio-0.10.so.0.21.0
                        libgstaudio-0.10.so.0 libgstaudio-0.10.so'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        The name of the static archive.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>old_library='libgstaudio-0.10.a'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Linker flags that can not go in dependency_libs.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>inherited_linker_flags='
                        -pthread'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Libraries that this one depends upon.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>dependency_libs='
                        -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib
                        -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la
                        -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0
                        -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Names of additional weak libraries provided by
                        this library<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>weak_library_names=''<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Version information for libgstaudio-0.10.<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>current=21<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>age=21<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>revision=0<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Is this an already installed library?<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>installed=yes<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Should we warn about portability when linking
                        against -modules?<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>shouldnotlink=no<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Files to dlopen/dlpreopen<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>dlopen=''<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>dlpreopen=''<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>#
                        Directory that this library needs to be
                        installed in:<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>libdir='/usr/lib'<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                  </div>
                  <div>
                    <div>
                      <p class="MsoNormal"><span>&nbsp;<p></p></span></p>
                    </div>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>Leonard
                          Pimentel</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>CEO
                          &amp; CTO</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>Lotus
                          Research, LLC.</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span>Cell:
                          (917) 834-7533</span><span><p></p></span></p>
                  </div>
                  <div>
                    <p class="MsoNormal"><span><a moz-do-not-send="true" href="http://www.linkedin.com/pub/leonard-pimentel/3/a0a/796"><span>&lt;image001.png&gt;</span></a><p></p></span></p>
                  </div>
                </div>
              </blockquote>
            </div>
            <p class="MsoNormal"><p>&nbsp;</p></p>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
</div>
Leonard Pimentel | 15 Jan 19:22 2015

Re: [SOLVED] Cross-compilation errors preventing build

Stuart Hughes,

 

Thank you.  Several times the cross-compilation would interrupt with errors and I could not understand why the *.la file was important to the compilation.

 

It was unforeseen that an innocuous statement would create cross-compilation build and install problems.

 

find $RPM_BUILD_ROOT%{pfx}%{_prefix}/lib/ -name “*.la” | xargs rm -f

 

After removing the above statement, warnings such “file moved” and the error “no such file or directory found” were commonplace.

 

http://lists.gnu.org/archive/html/ltib/2010-04/msg00127.html

 

 

 

From: Leonard Pimentel
Sent: Wednesday, January 14, 2015 11:08 AM
To: 'ltib <at> nongnu.org'
Subject: Cross-compilation errors preventing build

 

General cross-compiling question

 

Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?  I am running into build errors.  Help is appreciated.

 

Error log snippet:

 

libtool: link: warning: library `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la' was moved.

/bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory

libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive

make[3]: *** [libgstaudiofx.la] Error 1

make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'

make[2]: *** [audiofx] Error 2

make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'

make[2]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'

make[1]: *** [all-recursive] Error 1

 

 

 

Snippets from spec file

 

%define pfx          /opt/freescale/rootfs/%{_target_cpu}

%define LOGICPD_DIR  /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3

 

%Build

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig

 

lt_cv_path_NM=nm \

./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \

                --with-pkg-config-path=$PKG_CONFIG_PATH \

                CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \

                LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \

 

%install

rm –rf $RPM_BUILD_ROOT

make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}

 

 

 

The following comment from StackOverflow suggests setting the dependency_libs section. 

 

Have you looked inside the libfreetype.la file? Libtool .la files are just text files describing libraries. By default, they are commented. Search for the libdir and dependency_libs settings and check if they point to the right places.

 

How can this be accomplished either in the configuration statement or via a libtool –finish command?

 

Contents of two .la files.  Note the libdir is referenced the file system directory path under the cross-compilied target.

 

# libgstinterfaces-0.10.la - a libtool library file

# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2

#

# Please DO NOT delete this file!

# It is necessary for linking the library.

 

# The name that we can dlopen(3).

dlname='libgstinterfaces-0.10.so.0'

 

# Names of this library.

library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'

 

# The name of the static archive.

old_library='libgstinterfaces-0.10.a'

 

# Linker flags that can not go in dependency_libs.

inherited_linker_flags=' -pthread'

 

# Libraries that this one depends upon.

dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'

 

# Names of additional weak libraries provided by this library

weak_library_names=''

 

# Version information for libgstinterfaces-0.10.

current=21

age=21

revision=0

 

# Is this an already installed library?

installed=yes

 

# Should we warn about portability when linking against -modules?

shouldnotlink=no

 

# Files to dlopen/dlpreopen

dlopen=''

dlpreopen=''

 

# Directory that this library needs to be installed in:

libdir='/usr/lib'

 

 

 

 

libgstaudio-0.10.la - a libtool library file

# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2

#

# Please DO NOT delete this file!

# It is necessary for linking the library.

 

# The name that we can dlopen(3).

dlname='libgstaudio-0.10.so.0'

 

# Names of this library.

library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'

 

# The name of the static archive.

old_library='libgstaudio-0.10.a'

 

# Linker flags that can not go in dependency_libs.

inherited_linker_flags=' -pthread'

 

# Libraries that this one depends upon.

dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'

 

# Names of additional weak libraries provided by this library

weak_library_names=''

 

# Version information for libgstaudio-0.10.

current=21

age=21

revision=0

 

# Is this an already installed library?

installed=yes

 

# Should we warn about portability when linking against -modules?

shouldnotlink=no

 

# Files to dlopen/dlpreopen

dlopen=''

dlpreopen=''

 

# Directory that this library needs to be installed in:

libdir='/usr/lib'

 

 

 

Leonard Pimentel

CEO & CTO

Lotus Research, LLC.

Cell: (917) 834-7533

 

<div>
<div class="WordSection1">
<p class="MsoNormal"><span>Stuart Hughes,<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Thank you. &nbsp;Several times the cross-compilation would interrupt with errors and I could not understand why the *.la file was important to the compilation.
<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>It was unforeseen that an innocuous statement would create cross-compilation build and install problems.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>find $RPM_BUILD_ROOT%{pfx}%{_prefix}/lib/ -name &ldquo;*.la&rdquo; | xargs rm -f<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>After removing the above statement, warnings such &ldquo;file moved&rdquo; and the error &ldquo;no such file or directory found&rdquo; were commonplace.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><a href="http://lists.gnu.org/archive/html/ltib/2010-04/msg00127.html">http://lists.gnu.org/archive/html/ltib/2010-04/msg00127.html</a><p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<div>
<div>
<p class="MsoNormal">From: Leonard Pimentel <br>Sent: Wednesday, January 14, 2015 11:08 AM<br>To: 'ltib <at> nongnu.org'<br>Subject: Cross-compilation errors preventing build<p></p></p>
</div>
</div>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><span>General cross-compiling question<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?&nbsp; I am running into build errors.&nbsp; Help is appreciated.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Error log snippet:<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>libtool: link: warning: library `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la' was moved.<p></p></span></p>
<p class="MsoNormal"><span>/bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory<p></p></span></p>
<p class="MsoNormal"><span>libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive<p></p></span></p>
<p class="MsoNormal"><span>make[3]: *** [libgstaudiofx.la] Error 1<p></p></span></p>
<p class="MsoNormal"><span>make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'<p></p></span></p>
<p class="MsoNormal"><span>make[2]: *** [audiofx] Error 2<p></p></span></p>
<p class="MsoNormal"><span>make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'<p></p></span></p>
<p class="MsoNormal"><span>make[2]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'<p></p></span></p>
<p class="MsoNormal"><span>make[1]: *** [all-recursive] Error 1<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Snippets from spec file<p></p></span></p>
<p class="MsoNormal"><span><p><span>&nbsp;</span></p></span></p>
<p class="MsoNormal"><span>%define pfx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freescale/rootfs/%{_target_cpu}<p></p></span></p>
<p class="MsoNormal"><span>%define LOGICPD_DIR&nbsp; /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>%Build<p></p></span></p>
<p class="MsoNormal"><span>export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>lt_cv_path_NM=nm \<p></p></span></p>
<p class="MsoNormal"><span>./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \<p></p></span></p>
<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-pkg-config-path=$PKG_CONFIG_PATH \<p></p></span></p>
<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \<p></p></span></p>
<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>%install<p></p></span></p>
<p class="MsoNormal"><span>rm &ndash;rf $RPM_BUILD_ROOT<p></p></span></p>
<p class="MsoNormal"><span>make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>The following comment from StackOverflow suggests setting the dependency_libs section.&nbsp;
<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Have you looked inside the<span class="apple-converted-space">&nbsp;</span></span><span>libfreetype.la</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>file?
 Libtool<span class="apple-converted-space">&nbsp;</span></span><span>.la</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>files
 are just text files describing libraries. By default, they are commented. Search for the<span class="apple-converted-space">&nbsp;</span></span><span>libdir</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>and<span class="apple-converted-space">&nbsp;</span></span><span>dependency_libs</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>settings
 and check if they point to the right places.</span><span><p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>How can this be accomplished either in the configuration statement or via a libtool &ndash;finish command?<p></p></span></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Contents of two .la files.&nbsp; Note the libdir is referenced the file system directory path under the cross-compilied target.
<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># libgstinterfaces-0.10.la - a libtool library file<p></p></p>
<p class="MsoNormal"># Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<p></p></p>
<p class="MsoNormal">#<p></p></p>
<p class="MsoNormal"># Please DO NOT delete this file!<p></p></p>
<p class="MsoNormal"># It is necessary for linking the library.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name that we can dlopen(3).<p></p></p>
<p class="MsoNormal">dlname='libgstinterfaces-0.10.so.0'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of this library.<p></p></p>
<p class="MsoNormal">library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name of the static archive.<p></p></p>
<p class="MsoNormal">old_library='libgstinterfaces-0.10.a'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Linker flags that can not go in dependency_libs.<p></p></p>
<p class="MsoNormal">inherited_linker_flags=' -pthread'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Libraries that this one depends upon.<p></p></p>
<p class="MsoNormal">dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of additional weak libraries provided by this library<p></p></p>
<p class="MsoNormal">weak_library_names=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Version information for libgstinterfaces-0.10.<p></p></p>
<p class="MsoNormal">current=21<p></p></p>
<p class="MsoNormal">age=21<p></p></p>
<p class="MsoNormal">revision=0<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Is this an already installed library?<p></p></p>
<p class="MsoNormal">installed=yes<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Should we warn about portability when linking against -modules?<p></p></p>
<p class="MsoNormal">shouldnotlink=no<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Files to dlopen/dlpreopen<p></p></p>
<p class="MsoNormal">dlopen=''<p></p></p>
<p class="MsoNormal">dlpreopen=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Directory that this library needs to be installed in:<p></p></p>
<p class="MsoNormal">libdir='/usr/lib'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">libgstaudio-0.10.la - a libtool library file<p></p></p>
<p class="MsoNormal"># Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<p></p></p>
<p class="MsoNormal">#<p></p></p>
<p class="MsoNormal"># Please DO NOT delete this file!<p></p></p>
<p class="MsoNormal"># It is necessary for linking the library.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name that we can dlopen(3).<p></p></p>
<p class="MsoNormal">dlname='libgstaudio-0.10.so.0'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of this library.<p></p></p>
<p class="MsoNormal">library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name of the static archive.<p></p></p>
<p class="MsoNormal">old_library='libgstaudio-0.10.a'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Linker flags that can not go in dependency_libs.<p></p></p>
<p class="MsoNormal">inherited_linker_flags=' -pthread'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Libraries that this one depends upon.<p></p></p>
<p class="MsoNormal">dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of additional weak libraries provided by this library<p></p></p>
<p class="MsoNormal">weak_library_names=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Version information for libgstaudio-0.10.<p></p></p>
<p class="MsoNormal">current=21<p></p></p>
<p class="MsoNormal">age=21<p></p></p>
<p class="MsoNormal">revision=0<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Is this an already installed library?<p></p></p>
<p class="MsoNormal">installed=yes<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Should we warn about portability when linking against -modules?<p></p></p>
<p class="MsoNormal">shouldnotlink=no<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Files to dlopen/dlpreopen<p></p></p>
<p class="MsoNormal">dlopen=''<p></p></p>
<p class="MsoNormal">dlpreopen=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Directory that this library needs to be installed in:<p></p></p>
<p class="MsoNormal">libdir='/usr/lib'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<div>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
<p class="MsoNormal">Leonard Pimentel<p></p></p>
<p class="MsoNormal">CEO &amp; CTO<p></p></p>
<p class="MsoNormal">Lotus Research, LLC.<p></p></p>
<p class="MsoNormal">Cell: (917) 834-7533<p></p></p>
<p class="MsoNormal"><a href="http://www.linkedin.com/pub/leonard-pimentel/3/a0a/796"><span></span></a><p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
</div>
Leonard Pimentel | 15 Jan 19:18 2015

Re: LTIB Shell mode and GStreamer application compile.

Stuart Hughes,

 

Thank you.  Several times the cross-compilation would interrupt with errors and I could not understand why the *.la file was important to the compilation.

 

It was not clear that such an innocuous statement created such a build and install problem.

 

find $RPM_BUILD_ROOT%{pfx}%{_prefix}/lib/ -name “*.la” | xargs rm -f

 

After removing the above statement, warnings such “file moved” and the error “no such file or directory found” were commonplace.

 

I listed the original problem so others may benefit from my mistake.

 

--- original problem statement

 

General cross-compiling question

 

Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?  I am running into build errors.  Help is appreciated.

 

Error log snippet:

 

libtool: link: warning: library `/home/mydrive/rootfs/usr/lib/libgstvideo-0.10.la' was moved.

/bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory

libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive

make[3]: *** [libgstaudiofx.la] Error 1

make[3]: Leaving directory `/home/mydrive/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'

make[2]: *** [audiofx] Error 2

make[3]: Leaving directory `/home/mydrive/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'

make[2]: Leaving directory `/home/mydrive/rpm/BUILD/gst-plugins-good-0.10.25/gst'

make[1]: *** [all-recursive] Error 1

 

 

 

Snippets from spec file

 

%define pfx          /opt/freescale/rootfs/%{_target_cpu}

%define LOGICPD_DIR  /home/mydrive

 

%Build

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig

 

lt_cv_path_NM=nm \

./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \

                --with-pkg-config-path=$PKG_CONFIG_PATH \

                CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \

                LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \

 

%install

rm –rf $RPM_BUILD_ROOT

make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}

 

 

The following comment from StackOverflow suggests setting the dependency_libs section. 

 

Have you looked inside the libfreetype.la file? Libtool .la files are just text files describing libraries. By default, they are commented. Search for the libdir and dependency_libs settings and check if they point to the right places.

 

How can this be accomplished either in the configuration statement or via a libtool –finish command?

 

Contents of two .la files.  Note the libdir is referenced the file system directory path under the cross-compilied target.

 

# libgstinterfaces-0.10.la - a libtool library file

# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2

#

# Please DO NOT delete this file!

# It is necessary for linking the library.

 

# The name that we can dlopen(3).

dlname='libgstinterfaces-0.10.so.0'

 

# Names of this library.

library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'

 

# The name of the static archive.

old_library='libgstinterfaces-0.10.a'

 

# Linker flags that can not go in dependency_libs.

inherited_linker_flags=' -pthread'

 

# Libraries that this one depends upon.

dependency_libs=' -L/home/mydrive/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'

 

# Names of additional weak libraries provided by this library

weak_library_names=''

 

# Version information for libgstinterfaces-0.10.

current=21

age=21

revision=0

 

# Is this an already installed library?

installed=yes

 

# Should we warn about portability when linking against -modules?

shouldnotlink=no

 

# Files to dlopen/dlpreopen

dlopen=''

dlpreopen=''

 

# Directory that this library needs to be installed in:

libdir='/usr/lib'

 

 

 

 

libgstaudio-0.10.la - a libtool library file

# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2

#

# Please DO NOT delete this file!

# It is necessary for linking the library.

 

# The name that we can dlopen(3).

dlname='libgstaudio-0.10.so.0'

 

# Names of this library.

library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'

 

# The name of the static archive.

old_library='libgstaudio-0.10.a'

 

# Linker flags that can not go in dependency_libs.

inherited_linker_flags=' -pthread'

 

# Libraries that this one depends upon.

dependency_libs=' -L/home/mydrive/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'

 

# Names of additional weak libraries provided by this library

weak_library_names=''

 

# Version information for libgstaudio-0.10.

current=21

age=21

revision=0

 

# Is this an already installed library?

installed=yes

 

# Should we warn about portability when linking against -modules?

shouldnotlink=no

 

# Files to dlopen/dlpreopen

dlopen=''

dlpreopen=''

 

# Directory that this library needs to be installed in:

libdir='/usr/lib'

 

 

 

 

Leonard Pimentel

CEO & CTO

Lotus Research, LLC.

Cell: (917) 834-7533

 

<div>
<div class="WordSection1">
<p class="MsoNormal"><span>Stuart Hughes,<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Thank you. &nbsp;Several times the cross-compilation would interrupt with errors and I could not understand why the *.la file was important to the compilation.
<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>It was not clear that such an innocuous statement created such a build and install problem.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>find $RPM_BUILD_ROOT%{pfx}%{_prefix}/lib/ -name &ldquo;*.la&rdquo; | xargs rm -f<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>After removing the above statement, warnings such &ldquo;file moved&rdquo; and the error &ldquo;no such file or directory found&rdquo; were commonplace.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>I listed the original problem so others may benefit from my mistake.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>--- original problem statement<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>General cross-compiling question<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?&nbsp; I am running into build errors.&nbsp; Help is appreciated.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Error log snippet:<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>libtool: link: warning: library `/home/mydrive/rootfs/usr/lib/libgstvideo-0.10.la' was moved.<p></p></span></p>
<p class="MsoNormal"><span>/bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory<p></p></span></p>
<p class="MsoNormal"><span>libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive<p></p></span></p>
<p class="MsoNormal"><span>make[3]: *** [libgstaudiofx.la] Error 1<p></p></span></p>
<p class="MsoNormal"><span>make[3]: Leaving directory `/home/mydrive/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'<p></p></span></p>
<p class="MsoNormal"><span>make[2]: *** [audiofx] Error 2<p></p></span></p>
<p class="MsoNormal"><span>make[3]: Leaving directory `/home/mydrive/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'<p></p></span></p>
<p class="MsoNormal"><span>make[2]: Leaving directory `/home/mydrive/rpm/BUILD/gst-plugins-good-0.10.25/gst'<p></p></span></p>
<p class="MsoNormal"><span>make[1]: *** [all-recursive] Error 1<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Snippets from spec file<p></p></span></p>
<p class="MsoNormal"><span><p><span>&nbsp;</span></p></span></p>
<p class="MsoNormal"><span>%define pfx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freescale/rootfs/%{_target_cpu}<p></p></span></p>
<p class="MsoNormal"><span>%define LOGICPD_DIR&nbsp; /home/mydrive<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>%Build<p></p></span></p>
<p class="MsoNormal"><span>export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>lt_cv_path_NM=nm \<p></p></span></p>
<p class="MsoNormal"><span>./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \<p></p></span></p>
<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-pkg-config-path=$PKG_CONFIG_PATH \<p></p></span></p>
<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \<p></p></span></p>
<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>%install<p></p></span></p>
<p class="MsoNormal"><span>rm &ndash;rf $RPM_BUILD_ROOT<p></p></span></p>
<p class="MsoNormal"><span>make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>The following comment from StackOverflow suggests setting the dependency_libs section.&nbsp;
<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Have you looked inside the<span class="apple-converted-space">&nbsp;</span></span><span>libfreetype.la</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>file?
 Libtool<span class="apple-converted-space">&nbsp;</span></span><span>.la</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>files
 are just text files describing libraries. By default, they are commented. Search for the<span class="apple-converted-space">&nbsp;</span></span><span>libdir</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>and<span class="apple-converted-space">&nbsp;</span></span><span>dependency_libs</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>settings
 and check if they point to the right places.</span><span><p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>How can this be accomplished either in the configuration statement or via a libtool &ndash;finish command?<p></p></span></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Contents of two .la files.&nbsp; Note the libdir is referenced the file system directory path under the cross-compilied target.
<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># libgstinterfaces-0.10.la - a libtool library file<p></p></p>
<p class="MsoNormal"># Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<p></p></p>
<p class="MsoNormal">#<p></p></p>
<p class="MsoNormal"># Please DO NOT delete this file!<p></p></p>
<p class="MsoNormal"># It is necessary for linking the library.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name that we can dlopen(3).<p></p></p>
<p class="MsoNormal">dlname='libgstinterfaces-0.10.so.0'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of this library.<p></p></p>
<p class="MsoNormal">library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name of the static archive.<p></p></p>
<p class="MsoNormal">old_library='libgstinterfaces-0.10.a'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Linker flags that can not go in dependency_libs.<p></p></p>
<p class="MsoNormal">inherited_linker_flags=' -pthread'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Libraries that this one depends upon.<p></p></p>
<p class="MsoNormal">dependency_libs=' -L/home/mydrive/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of additional weak libraries provided by this library<p></p></p>
<p class="MsoNormal">weak_library_names=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Version information for libgstinterfaces-0.10.<p></p></p>
<p class="MsoNormal">current=21<p></p></p>
<p class="MsoNormal">age=21<p></p></p>
<p class="MsoNormal">revision=0<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Is this an already installed library?<p></p></p>
<p class="MsoNormal">installed=yes<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Should we warn about portability when linking against -modules?<p></p></p>
<p class="MsoNormal">shouldnotlink=no<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Files to dlopen/dlpreopen<p></p></p>
<p class="MsoNormal">dlopen=''<p></p></p>
<p class="MsoNormal">dlpreopen=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Directory that this library needs to be installed in:<p></p></p>
<p class="MsoNormal">libdir='/usr/lib'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">libgstaudio-0.10.la - a libtool library file<p></p></p>
<p class="MsoNormal"># Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<p></p></p>
<p class="MsoNormal">#<p></p></p>
<p class="MsoNormal"># Please DO NOT delete this file!<p></p></p>
<p class="MsoNormal"># It is necessary for linking the library.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name that we can dlopen(3).<p></p></p>
<p class="MsoNormal">dlname='libgstaudio-0.10.so.0'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of this library.<p></p></p>
<p class="MsoNormal">library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name of the static archive.<p></p></p>
<p class="MsoNormal">old_library='libgstaudio-0.10.a'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Linker flags that can not go in dependency_libs.<p></p></p>
<p class="MsoNormal">inherited_linker_flags=' -pthread'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Libraries that this one depends upon.<p></p></p>
<p class="MsoNormal">dependency_libs=' -L/home/mydrive/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of additional weak libraries provided by this library<p></p></p>
<p class="MsoNormal">weak_library_names=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Version information for libgstaudio-0.10.<p></p></p>
<p class="MsoNormal">current=21<p></p></p>
<p class="MsoNormal">age=21<p></p></p>
<p class="MsoNormal">revision=0<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Is this an already installed library?<p></p></p>
<p class="MsoNormal">installed=yes<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Should we warn about portability when linking against -modules?<p></p></p>
<p class="MsoNormal">shouldnotlink=no<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Files to dlopen/dlpreopen<p></p></p>
<p class="MsoNormal">dlopen=''<p></p></p>
<p class="MsoNormal">dlpreopen=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Directory that this library needs to be installed in:<p></p></p>
<p class="MsoNormal">libdir='/usr/lib'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<div>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
<p class="MsoNormal">Leonard Pimentel<p></p></p>
<p class="MsoNormal">CEO &amp; CTO<p></p></p>
<p class="MsoNormal">Lotus Research, LLC.<p></p></p>
<p class="MsoNormal">Cell: (917) 834-7533<p></p></p>
<p class="MsoNormal"><a href="http://www.linkedin.com/pub/leonard-pimentel/3/a0a/796"><span></span></a><p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
</div>
Leonard Pimentel | 14 Jan 17:08 2015

Cross-compilation errors preventing build

General cross-compiling question

 

Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?  I am running into build errors.  Help is appreciated.

 

Error log snippet:

 

libtool: link: warning: library `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la' was moved.

/bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory

libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive

make[3]: *** [libgstaudiofx.la] Error 1

make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'

make[2]: *** [audiofx] Error 2

make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'

make[2]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'

make[1]: *** [all-recursive] Error 1

 

 

 

Snippets from spec file

 

%define pfx          /opt/freescale/rootfs/%{_target_cpu}

%define LOGICPD_DIR  /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3

 

%Build

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig

 

lt_cv_path_NM=nm \

./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \

                --with-pkg-config-path=$PKG_CONFIG_PATH \

                CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \

                LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \

 

%install

rm –rf $RPM_BUILD_ROOT

make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}

 

 

 

The following comment from StackOverflow suggests setting the dependency_libs section. 

 

Have you looked inside the libfreetype.la file? Libtool .la files are just text files describing libraries. By default, they are commented. Search for the libdir and dependency_libs settings and check if they point to the right places.

 

How can this be accomplished either in the configuration statement or via a libtool –finish command?

 

Contents of two .la files.  Note the libdir is referenced the file system directory path under the cross-compilied target.

 

# libgstinterfaces-0.10.la - a libtool library file

# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2

#

# Please DO NOT delete this file!

# It is necessary for linking the library.

 

# The name that we can dlopen(3).

dlname='libgstinterfaces-0.10.so.0'

 

# Names of this library.

library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'

 

# The name of the static archive.

old_library='libgstinterfaces-0.10.a'

 

# Linker flags that can not go in dependency_libs.

inherited_linker_flags=' -pthread'

 

# Libraries that this one depends upon.

dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'

 

# Names of additional weak libraries provided by this library

weak_library_names=''

 

# Version information for libgstinterfaces-0.10.

current=21

age=21

revision=0

 

# Is this an already installed library?

installed=yes

 

# Should we warn about portability when linking against -modules?

shouldnotlink=no

 

# Files to dlopen/dlpreopen

dlopen=''

dlpreopen=''

 

# Directory that this library needs to be installed in:

libdir='/usr/lib'

 

 

 

 

libgstaudio-0.10.la - a libtool library file

# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2

#

# Please DO NOT delete this file!

# It is necessary for linking the library.

 

# The name that we can dlopen(3).

dlname='libgstaudio-0.10.so.0'

 

# Names of this library.

library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'

 

# The name of the static archive.

old_library='libgstaudio-0.10.a'

 

# Linker flags that can not go in dependency_libs.

inherited_linker_flags=' -pthread'

 

# Libraries that this one depends upon.

dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'

 

# Names of additional weak libraries provided by this library

weak_library_names=''

 

# Version information for libgstaudio-0.10.

current=21

age=21

revision=0

 

# Is this an already installed library?

installed=yes

 

# Should we warn about portability when linking against -modules?

shouldnotlink=no

 

# Files to dlopen/dlpreopen

dlopen=''

dlpreopen=''

 

# Directory that this library needs to be installed in:

libdir='/usr/lib'

 

 

 

Leonard Pimentel

CEO & CTO

Lotus Research, LLC.

Cell: (917) 834-7533

 

<div>
<div class="WordSection1">
<p class="MsoNormal"><span>General cross-compiling question<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Are there two solutions (at minimum) to solve the following warning [file moved] and error [no such file]?&nbsp; I am running into build errors.&nbsp; Help is appreciated.<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Error log snippet:<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>libtool: link: warning: library `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib/libgstvideo-0.10.la' was moved.<p></p></span></p>
<p class="MsoNormal"><span>/bin/sed: can't read /usr/lib/libgstinterfaces-0.10.la: No such file or directory<p></p></span></p>
<p class="MsoNormal"><span>libtool: link: `/usr/lib/libgstinterfaces-0.10.la' is not a valid libtool archive<p></p></span></p>
<p class="MsoNormal"><span>make[3]: *** [libgstaudiofx.la] Error 1<p></p></span></p>
<p class="MsoNormal"><span>make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/audiofx'<p></p></span></p>
<p class="MsoNormal"><span>make[2]: *** [audiofx] Error 2<p></p></span></p>
<p class="MsoNormal"><span>make[3]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst/debugutils'<p></p></span></p>
<p class="MsoNormal"><span>make[2]: Leaving directory `/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rpm/BUILD/gst-plugins-good-0.10.25/gst'<p></p></span></p>
<p class="MsoNormal"><span>make[1]: *** [all-recursive] Error 1<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Snippets from spec file<p></p></span></p>
<p class="MsoNormal"><span><p><span>&nbsp;</span></p></span></p>
<p class="MsoNormal"><span>%define pfx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freescale/rootfs/%{_target_cpu}<p></p></span></p>
<p class="MsoNormal"><span>%define LOGICPD_DIR&nbsp; /home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>%Build<p></p></span></p>
<p class="MsoNormal"><span>export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:%LOGICPD_FS/usr/lib/pkconfig<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>lt_cv_path_NM=nm \<p></p></span></p>
<p class="MsoNormal"><span>./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \<p></p></span></p>
<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; --with-pkg-config-path=$PKG_CONFIG_PATH \<p></p></span></p>
<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CPPFLAGS=-I%LOGICPD_DIR/rootfs/usr/include/gstreamer-0.10/gst \<p></p></span></p>
<p class="MsoNormal"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LDFLAGS=-L%LOGICPD_DIR/rootfs/usr/lib \<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>%install<p></p></span></p>
<p class="MsoNormal"><span>rm &ndash;rf $RPM_BUILD_ROOT<p></p></span></p>
<p class="MsoNormal"><span>make install DESTDIR=${RPM_BUILD_ROOT}%{pfx}<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>The following comment from StackOverflow suggests setting the dependency_libs section.&nbsp;
<p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>Have you looked inside the<span class="apple-converted-space">&nbsp;</span></span><span>libfreetype.la</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>file?
 Libtool<span class="apple-converted-space">&nbsp;</span></span><span>.la</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>files
 are just text files describing libraries. By default, they are commented. Search for the<span class="apple-converted-space">&nbsp;</span></span><span>libdir</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>and<span class="apple-converted-space">&nbsp;</span></span><span>dependency_libs</span><span class="apple-converted-space"><span>&nbsp;</span></span><span>settings
 and check if they point to the right places.</span><span><p></p></span></p>
<p class="MsoNormal"><span><p>&nbsp;</p></span></p>
<p class="MsoNormal"><span>How can this be accomplished either in the configuration statement or via a libtool &ndash;finish command?<p></p></span></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Contents of two .la files.&nbsp; Note the libdir is referenced the file system directory path under the cross-compilied target.
<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># libgstinterfaces-0.10.la - a libtool library file<p></p></p>
<p class="MsoNormal"># Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<p></p></p>
<p class="MsoNormal">#<p></p></p>
<p class="MsoNormal"># Please DO NOT delete this file!<p></p></p>
<p class="MsoNormal"># It is necessary for linking the library.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name that we can dlopen(3).<p></p></p>
<p class="MsoNormal">dlname='libgstinterfaces-0.10.so.0'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of this library.<p></p></p>
<p class="MsoNormal">library_names='libgstinterfaces-0.10.so.0.21.0 libgstinterfaces-0.10.so.0 libgstinterfaces-0.10.so'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name of the static archive.<p></p></p>
<p class="MsoNormal">old_library='libgstinterfaces-0.10.a'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Linker flags that can not go in dependency_libs.<p></p></p>
<p class="MsoNormal">inherited_linker_flags=' -pthread'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Libraries that this one depends upon.<p></p></p>
<p class="MsoNormal">dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of additional weak libraries provided by this library<p></p></p>
<p class="MsoNormal">weak_library_names=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Version information for libgstinterfaces-0.10.<p></p></p>
<p class="MsoNormal">current=21<p></p></p>
<p class="MsoNormal">age=21<p></p></p>
<p class="MsoNormal">revision=0<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Is this an already installed library?<p></p></p>
<p class="MsoNormal">installed=yes<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Should we warn about portability when linking against -modules?<p></p></p>
<p class="MsoNormal">shouldnotlink=no<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Files to dlopen/dlpreopen<p></p></p>
<p class="MsoNormal">dlopen=''<p></p></p>
<p class="MsoNormal">dlpreopen=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Directory that this library needs to be installed in:<p></p></p>
<p class="MsoNormal">libdir='/usr/lib'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">libgstaudio-0.10.la - a libtool library file<p></p></p>
<p class="MsoNormal"># Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2<p></p></p>
<p class="MsoNormal">#<p></p></p>
<p class="MsoNormal"># Please DO NOT delete this file!<p></p></p>
<p class="MsoNormal"># It is necessary for linking the library.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name that we can dlopen(3).<p></p></p>
<p class="MsoNormal">dlname='libgstaudio-0.10.so.0'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of this library.<p></p></p>
<p class="MsoNormal">library_names='libgstaudio-0.10.so.0.21.0 libgstaudio-0.10.so.0 libgstaudio-0.10.so'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># The name of the static archive.<p></p></p>
<p class="MsoNormal">old_library='libgstaudio-0.10.a'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Linker flags that can not go in dependency_libs.<p></p></p>
<p class="MsoNormal">inherited_linker_flags=' -pthread'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Libraries that this one depends upon.<p></p></p>
<p class="MsoNormal">dependency_libs=' -L/home/leo/logic/Logic_BSPs/Linux_3.0/1026167_LogicPD_Linux_BSP_2.4-3/rootfs/usr/lib -lgstbase-0.10 /usr/lib/libgstinterfaces-0.10.la -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lm'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Names of additional weak libraries provided by this library<p></p></p>
<p class="MsoNormal">weak_library_names=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Version information for libgstaudio-0.10.<p></p></p>
<p class="MsoNormal">current=21<p></p></p>
<p class="MsoNormal">age=21<p></p></p>
<p class="MsoNormal">revision=0<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Is this an already installed library?<p></p></p>
<p class="MsoNormal">installed=yes<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Should we warn about portability when linking against -modules?<p></p></p>
<p class="MsoNormal">shouldnotlink=no<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Files to dlopen/dlpreopen<p></p></p>
<p class="MsoNormal">dlopen=''<p></p></p>
<p class="MsoNormal">dlpreopen=''<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"># Directory that this library needs to be installed in:<p></p></p>
<p class="MsoNormal">libdir='/usr/lib'<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<div>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
<p class="MsoNormal">Leonard Pimentel<p></p></p>
<p class="MsoNormal">CEO &amp; CTO<p></p></p>
<p class="MsoNormal">Lotus Research, LLC.<p></p></p>
<p class="MsoNormal">Cell: (917) 834-7533<p></p></p>
<p class="MsoNormal"><a href="http://www.linkedin.com/pub/leonard-pimentel/3/a0a/796"><span></span></a><p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
</div>
</div>
L P | 8 Jan 11:17 2015

RPM archive is empty after ./ltib -m scdeploy command

I am hoping someone, or a few more knowledgeable programmers, can provide an answer. 

Problem Statement

I have two packages that successfully build and install, scbuild and scinstall, respectively.
The files listed in the .spec file were found, copied, and stored in the correct directories in the tmp folder.  Files were confirmed.

However, after executing scdeploy [./ltib -m scdeploy -p <pkg>], the <pkg>.rpm has a file size of 1.3KB and is empty, far less than the 12MB.

What is the possible reason(s) this could occur?

Details:

File Specification Type A:

The 20 packages that successfully generate a RPM package containing files have a general file list, i.e.
%files
%defattr (-,root,root)
%(pfx)/*

The two packages that generate empty RPM packages were modified to list the individual files as a “best coding practice” and provide traceability.

File Specification Type B:

%files
%defattr (-,root,root)
%{pfx}%{libdir}/libgstaudio-%{majorminor}.so
….

To summarize, File Type A generates a proper RPM package, while Type B generates RPM packages that are empty (file size = 1.3KB).

Other Details

TI vendor BSP
Cross-compilation to ARM processor
Modifying spec files to add support for additional Gstreamer plugins
Disto: Ubuntu 14.04.01
LTIB version 1.93


Thank you,

Leo
Sent from Windows Mail

<div>
<div data-externalstyle="false" dir="ltr">
<div>I am hoping someone, or a few more knowledgeable programmers,&nbsp;can provide an answer.&nbsp;</div>
<div><br></div>
<div>Problem Statement</div>
<div><br></div>
<div>I have two packages that successfully build and install, scbuild and scinstall, respectively.</div>
<div>The files listed in the .spec file were found,&nbsp;copied, and&nbsp;stored in the correct directories in the tmp folder.&nbsp; Files were confirmed.</div>
<div><br></div>
<div>However, after executing scdeploy [./ltib -m scdeploy -p &lt;pkg&gt;], the &lt;pkg&gt;.rpm has a file size of 1.3KB and is empty, far less than the 12MB.</div>
<div><br></div>
<div>What&nbsp;is the possible reason(s) this could occur?</div>
<div><br></div>
<div>Details:</div>
<div><br></div>
<div>File Specification Type&nbsp;A:</div>
<div><br></div>
<div>The 20 packages that successfully generate a RPM package containing files&nbsp;have a general file list, i.e.</div>
<div>%files</div>
<div>%defattr (-,root,root)</div>
<div>%(pfx)/*</div>
<div><br></div>
<div>The&nbsp;two packages that generate empty RPM packages&nbsp;were modified to list the individual files as a&nbsp;&ldquo;best coding practice&rdquo; and provide&nbsp;traceability.</div>
<div><br></div>
<div>File Specification Type B: </div>
<div><br></div>
<div>%files</div>
<div>%defattr (-,root,root)</div>
<div>%{pfx}%{libdir}/libgstaudio-%{majorminor}.so</div>
<div>&hellip;.</div>
<div><br></div>
<div data-signatureblock="true">
<div>To summarize, File Type A generates a proper RPM package, while Type B generates RPM packages that are empty (file size = 1.3KB).</div>
<div><br></div>
<div>Other Details</div>
<div><br></div>
<div>TI vendor BSP</div>
<div>Cross-compilation to ARM processor</div>
<div>Modifying spec files to add support for additional Gstreamer plugins</div>
<div>Disto: Ubuntu 14.04.01</div>
<div>LTIB version 1.93</div>
<div><br></div>
<div><br></div>
<div>Thank you,</div>
<div><br></div>
<div>Leo<br>
</div>
<div>Sent from Windows Mail</div>
<div><br></div>
</div>
</div>
</div>
Mehmet Ali Ekici | 4 Dec 13:06 2014
Picon

ltib and gpp usage

Dear All,

We have two questions. 

1-) How do we know which packages and which patches are available at the repositories? How can we make ltib to
list and force to use them ?

2-) When we tried to access bitshrine/gpp  or xpp  we are warned access error ?

Try linux-2.6.38.tar.bz2.md5 from the GPP
04:59:42 URL:http://bitshrine.org/xpp/linux-2.6.38.tar.bz2.md5 [54/54] ->
"linux-2.6.38.tar.bz2.md5" [1]
Try linux-2.6.38.tar.bz2 from the GPP
05:02:34 URL:http://bitshrine.org/xpp/linux-2.6.38.tar.bz2 [74739098/74739098] ->
"linux-2.6.38.tar.bz2" [1]
Try linux-2.6.38-imx_10.12.01.bz2.md5 from the GPP
http://bitshrine.org/gpp/linux-2.6.38-imx_10.12.01.bz2.md5:
05:02:34 ERROR 404: Not Found.
Try linux-2.6.38-imx_10.12.01.bz2 from the GPP
http://bitshrine.org/gpp/linux-2.6.38-imx_10.12.01.bz2:
05:02:35 ERROR 404: Not Found.
Can't get: linux-2.6.38-imx_10.12.01.bz2 at ./ltib line 802.

Best regards,

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
Ltib <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/ltib

Gmane