From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2C886E0090F; Fri, 9 Jan 2015 11:55:26 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5DB49E0080C for ; Fri, 9 Jan 2015 11:55:22 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 73220F811D9; Fri, 9 Jan 2015 12:55:22 -0700 (MST) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id EDFD8F811D9; Fri, 9 Jan 2015 12:55:21 -0700 (MST) Message-ID: <54B03231.6000807@mlbassoc.com> Date: Fri, 09 Jan 2015 12:55:29 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: yocto@yoctoproject.org References: <54B01D64.4000101@mlbassoc.com> <54B02496.5070409@windriver.com> In-Reply-To: <54B02496.5070409@windriver.com> Subject: Re: libtool woes X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2015 19:55:26 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2015-01-09 11:57, Mark Hatle wrote: > On 1/9/15 12:26 PM, Gary Thomas wrote: >> I'm trying to build a recipe which uses libtool. The problem >> I'm having is that the program uses glib-2.0 and one of the >> libraries from that package has library dependencies. This >> is giving libtool major troubles. I get errors like this: >> | sed: can't read =/usr/lib/libffi.la: No such file or directory >> | libtool: link: `=/usr/lib/libffi.la' is not a valid libtool archive >> >> This is coming from libgobject-2.0.la which contains this line: >> dependency_libs=' =/usr/lib/libglib-2.0.la -lpthread -L=/usr/lib =/usr/lib/libffi.la' >> >> The odd thing is that my recipe built the last time I tried, >> but admittedly that was in late 2013. >> >> Any ideas what I might be doing wrong or how to fix this? > > The version of libtool you are running doesn't understand cross compilation > (sysroot) paths. (Sysroot paths start w/ the '='.) You should use "libtoolize" > prior to running to update the libtool configuration to match the changes that > OE/YP have. This works in almost all cases.. (where it doesn't work usually > means someone had manually hacked on the previous libtool file...) Thanks, that fixed it. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------