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
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
ziltoid the omniscient | 20 Nov 23:46 2014
Picon

ltib error: failed dependencies

Hi,

I am not able to build ltib cleanly as the rpm requires step is failing for qt-everywhere-opensource-src-4.8.5 with the following error:

error: failed dependencies:
libc.so.6(GLIBC_2.0)   is needed by qt-everywhere-opensource-src-4.8.5-0
libc.so.6(GLIBC_2.1)   is needed by qt-everywhere-opensource-src-4.8.5-0
libc.so.6(GLIBC_2.1.3)   is needed by qt-everywhere-opensource-src-4.8.5-0
libc.so.6(GLIBC_2.2)   is needed by qt-everywhere-opensource-src-4.8.5-0
libc.so.6(GLIBC_2.3)   is needed by qt-everywhere-opensource-src-4.8.5-0
libc.so.6(GLIBC_2.3.4)   is needed by qt-everywhere-opensource-src-4.8.5-0
libm.so.6(GLIBC_2.1)   is needed by qt-everywhere-opensource-src-4.8.5-0
libm.so.6(GLIBC_2.2)   is needed by qt-everywhere-opensource-src-4.8.5-0

From the rpm requires I can see that qt-everywhere-opensource-src-4.8.5 requires:

Requires: libc.so.6 libgcc_s.so.1 libm.so.6 libstdc++.so.6 /bin/sh /usr/bin/perl ld-linux.so.3(GLIBC_2.4) libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.10) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.9) libdl.so.2(GLIBC_2.4) libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgcc_s.so.1(GLIBC_2.0) libm.so.6(GLIBC_2.1) libm.so.6(GLIBC_2.2) libm.so.6(GLIBC_2.4) libpthread.so.0(GLIBC_2.4) librt.so.1(GLIBC_2.4) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.9)

From base_libs I can see it provides:

$ rpm --root `pwd`/rootfs -q base_libs --provides | grep libc.so
libc.so.6  
libc.so.6(GLIBC_2.10)  
libc.so.6(GLIBC_2.11)  
libc.so.6(GLIBC_2.4)  
libc.so.6(GLIBC_2.5)  
libc.so.6(GLIBC_2.6)  
libc.so.6(GLIBC_2.7)  
libc.so.6(GLIBC_2.8)  
libc.so.6(GLIBC_2.9)  
libc.so.6(GLIBC_PRIVATE) 

So it is clear that the dependencies are missing from required.

I'd appreciate any assistance with being able to solve this issue.

I'd also appreciate if anyone could explain to me what these dependency lines mean:
+ What is libc.so.6(GLIBC2_0) etc referring to?
+ What does it mean that base_libs provides libc.so.6(GLIBC2_4) -> libc.so.6(GLIBC2_11) referring to?
+ Can anyone point me to the relevant reference material to understand what these dependencies are referring to?

Thank you.

Regards,
Ziltoid


<div><div dir="ltr">
<div>Hi,<br>
</div>
<div><br></div>
<div>I am not able to build ltib cleanly as the rpm requires step is failing for&nbsp;qt-everywhere-opensource-src-4.8.5 with the following error:</div>
<div><br></div>
<div>
<div>error: failed dependencies:</div>
<div>
<span class="">	</span>libc.so.6(GLIBC_2.0) &nbsp; is needed by qt-everywhere-opensource-src-4.8.5-0</div>
<div>
<span class="">	</span>libc.so.6(GLIBC_2.1) &nbsp; is needed by qt-everywhere-opensource-src-4.8.5-0</div>
<div>
<span class="">	</span>libc.so.6(GLIBC_2.1.3) &nbsp; is needed by qt-everywhere-opensource-src-4.8.5-0</div>
<div>
<span class="">	</span>libc.so.6(GLIBC_2.2) &nbsp; is needed by qt-everywhere-opensource-src-4.8.5-0</div>
<div>
<span class="">	</span>libc.so.6(GLIBC_2.3) &nbsp; is needed by qt-everywhere-opensource-src-4.8.5-0</div>
<div>
<span class="">	</span>libc.so.6(GLIBC_2.3.4) &nbsp; is needed by qt-everywhere-opensource-src-4.8.5-0</div>
<div>
<span class="">	</span>libm.so.6(GLIBC_2.1) &nbsp; is needed by qt-everywhere-opensource-src-4.8.5-0</div>
<div>
<span class="">	</span>libm.so.6(GLIBC_2.2) &nbsp; is needed by qt-everywhere-opensource-src-4.8.5-0</div>
</div>
<div><br></div>
<div>From the rpm requires I can see that&nbsp;qt-everywhere-opensource-src-4.8.5&nbsp;requires:<br>
</div>
<div><br></div>
<div>Requires: libc.so.6 libgcc_s.so.1 libm.so.6 libstdc++.so.6 /bin/sh /usr/bin/perl ld-linux.so.3(GLIBC_2.4) libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.10) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.9) libdl.so.2(GLIBC_2.4) libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.5) libgcc_s.so.1(GLIBC_2.0) libm.so.6(GLIBC_2.1) libm.so.6(GLIBC_2.2) libm.so.6(GLIBC_2.4) libpthread.so.0(GLIBC_2.4) librt.so.1(GLIBC_2.4) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.9)</div>
<div><br></div>
<div>From base_libs I can see it provides:</div>
<div><br></div>
<div>
<div>$ rpm --root `pwd`/rootfs -q base_libs --provides | grep libc.so</div>
<div>libc.so.6 &nbsp;</div>
<div>libc.so.6(GLIBC_2.10) &nbsp;</div>
<div>libc.so.6(GLIBC_2.11) &nbsp;</div>
<div>libc.so.6(GLIBC_2.4) &nbsp;</div>
<div>libc.so.6(GLIBC_2.5) &nbsp;</div>
<div>libc.so.6(GLIBC_2.6) &nbsp;</div>
<div>libc.so.6(GLIBC_2.7) &nbsp;</div>
<div>libc.so.6(GLIBC_2.8) &nbsp;</div>
<div>libc.so.6(GLIBC_2.9) &nbsp;</div>
<div>libc.so.6(GLIBC_PRIVATE)&nbsp;</div>
</div>
<div><br></div>
<div>So it is clear that the dependencies are missing from required.</div>
<div><br></div>
<div>I'd appreciate any assistance with being able to solve this issue.<br>
</div>
<div><br></div>
<div>I'd also appreciate if anyone could explain to me what these dependency lines mean:</div>
<div>+ What is&nbsp;libc.so.6(GLIBC2_0) etc&nbsp;referring to?</div>
<div>+ What does it mean that base_libs provides libc.so.6(GLIBC2_4) -&gt; libc.so.6(GLIBC2_11) referring to?</div>
<div>+ Can anyone point me to the relevant reference material to understand&nbsp;what these dependencies are referring to?</div>
<div><br></div>
<div>Thank you.</div>
<div><br></div>
<div>Regards,</div>
<div>Ziltoid</div>
<div><br></div>
<div><br></div>
</div></div>
David Kaplan | 14 Nov 20:04 2014
Picon

403 Errors

I can not get any files from bitshrine, I always get a 403 not authed error.  For example, 

Is there something wrong with my network, or is the error on the server?

Thanks!
<div><div dir="ltr">I can not get any files from bitshrine, I always get a 403 not authed error.&nbsp; For example,&nbsp;<blockquote type="cite"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote"><a rel="nofollow" href="http://www.bitshrine.org/gpp/linux-2.6.27.8.tar.bz2" target="_blank">http://www.bitshrine.org/gpp/linux-2.6.27.8.tar.bz2</a></blockquote></div></div></blockquote>
<div><br></div>
<div>Is there something wrong with my network, or is the error on the server?</div>
<div><br></div>
<div>Thanks!</div>
</div></div>
Sergey Ablalimov | 23 Oct 07:15 2014
Picon

Re: ARMv5 PostgreSQL LTIB

It's better replay to mail list. May be some one else can help you.
Other comments see below.

23.10.2014 10:36, Александр Глухов пишет:
> Thank you, but I already red it. I create file with:
>
> %define pfx /opt/freescale/rootfs/%{_target_cpu}
>
> Summary        : PostgreSQL for arm
>
> Name            : postgresql
>
> Version        : 9.3.5
>
> Release        : 1
>
> License        :
>
> Vendor          : PostgreSQL
>
> Packager        :
>
> Group          : System Environment/Libraries
>
> URL            : http:// <http://xxxx/>
>
> Source          : %{name}-%{version}.tar.bz2
>
> BuildRoot      : %{_tmppath}/%{name}
>
> Prefix          : %{pfx}
>
> %Description
>
> %{summary}
>
> %Prep
>
> %setup
>
> %Build
>
> ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
>
> make
>
> %Install
>
> rm -rf $RPM_BUILD_ROOT
>
> make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
>
> %Clean
>
> rm -rf $RPM_BUILD_ROOT
>
> %Files
>
> %defattr(-,root,root)
>
> %{pfx}/*
>
> but I get error, when run ./ltib -p postgresql.spec
>
> checking for zic... no
>
> configure: error:
>
> When cross-compiling, either use the option --with-system-tzdata to use
>
> existing time-zone data, or set the environment variable ZIC to a zic
>
> program to use during the build.

As I can see this package need zic or use the option --with-system-tzdata.

>
> error: Bad exit status from
> /home/ubuntu/Projects/TionPro28/ltib/ltib/tmp/rpm-tmp.2856 (%build)
>
>
>
>
> Thu, 23 Oct 2014 10:22:36 +0600 от Sergey Ablalimov <abl-s <at> yandex.ru>:
>
>     I hope this help you http://www.ltib.org/documentation-LtibFaq#ref_89
>
>     22.10.2014 17:50, Александр Глухов пишет:
>      > Hello, I have a problem in LTIB. I need to install PostgreSQL on
>     ARMv5
>      > with tcp/ip access. I'm trying to do it in LTIB. I already downloaded
>      > sources and put it in rpm/SOURCES. And now I need to create a
>      > postgresql.spec file. Could you help me in it, because I have not
>      > enought experience in it? Thank you in advance.

http://www.ltib.org/documentation-LtibFaq#ref_89 recommend put your 
source at /opt/freescale/pkgs/

>      >
>      > With best regards,
>      > Alexandr Glukhov
>      >
>      >
>      > _______________________________________________
>      > LTIB home page: http://ltib.org
>      >
>      > Ltib mailing list
>      > Ltib <at> nongnu.org </compose?To=Ltib <at> nongnu.org>
>      > https://lists.nongnu.org/mailman/listinfo/ltib
>      >
>
>
>     _______________________________________________
>     LTIB home page: http://ltib.org
>
>     Ltib mailing list
>     Ltib <at> nongnu.org </compose?To=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
Picon

ARMv5 PostgreSQL LTIB

Hello, I have a problem in LTIB. I need to install PostgreSQL on ARMv5 with tcp/ip access. I'm trying to do it in LTIB. I already downloaded sources and put it in rpm/SOURCES. And now I need to create a postgresql.spec file. Could you help me in it, because I have not enought experience in it? Thank you in advance.

With best regards,
Alexandr Glukhov
<div>
<span data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; line-height: 18.2000007629395px;">Hello, I have a problem in LTIB. I need to install PostgreSQL on ARMv5 with tcp/ip access. I'm trying to do it in LTIB. <span data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; line-height: 18.2000007629395px;">I already downloaded sources and put it in rpm/SOURCES.</span>&nbsp;And now I need to create a postgresql.spec file. Could you help me in it, because I have not enought experience in it? Thank you in advance.</span><br data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; line-height: 18.2000007629395px;"><br data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; line-height: 18.2000007629395px;"><span data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; line-height: 18.2000007629395px;">With best regards,</span><br data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; line-height: 18.2000007629395px;"><span data-mce-style="font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 13px; line-height: 18.2000007629395px;">Alexandr Glukhov</span>
</div>

Gmane