From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by ozlabs.org (Postfix) with ESMTP id 66CD7DE272 for ; Fri, 20 Jun 2008 04:45:45 +1000 (EST) Received: from aarprv06.charter.net ([10.20.200.76]) by mta31.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080619184545.LXMZ2641.mta31.charter.net@aarprv06.charter.net> for ; Thu, 19 Jun 2008 14:45:45 -0400 Received: from [192.168.1.34] (really [71.93.35.174]) by aarprv06.charter.net with ESMTP id <20080619184544.VHYS3194.aarprv06.charter.net@[192.168.1.34]> for ; Thu, 19 Jun 2008 14:45:44 -0400 Subject: Re: Updating glibc on SELF image From: Dave Cogley To: PPC Embedded List In-Reply-To: <1213824912.4450.20.camel@localhost.localdomain> References: <1213824912.4450.20.camel@localhost.localdomain> Content-Type: text/plain Date: Thu, 19 Jun 2008 11:45:49 -0700 Message-Id: <1213901149.4450.22.camel@localhost.localdomain> Mime-Version: 1.0 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Can someone provide a comprehensive guide for building SELF images from scratch? More specifically how to install dependency libraries? Thanks, Dave On Wed, 2008-06-18 at 14:35 -0700, Dave Cogley wrote: > Hi, > > I am having some trouble with building my SELF image on a Sequoia board. > I am trying to update some shared library components on the "stock" DENX > provided JFFS file system image. > > While running over an NFS root I was able to successfully mount my MTD > device and manually copy libraries my application requires to the SELF > image. This appears to work for most the libraries that are non existent > on the default image (libreadline, libXml etc.). > > The problem is that when developing on the NFS partition (flash_nfs) the > glic version in use is 2.6 and the SELF image only has 2.3.5. I manually > copy over the libc-2.6.so library from the NFS image to the SELF image > and create a new symbolic link "libc.so.6". Now while booting up with > 2.6 I get segfaults on start-up daemons and my application segfaults > when starting as well. Changing the link back to the 2.3.5 library > everything works fine (except my application which requires 2.4). > > The glibc library I am attempting to use is compiled for the ppc > architecture and works fine on the NFS partition. Am I missing something > else that needs to be updated for the glibc library? Is there anyway I > can update this library on the SELF image without installing make and > gcc? > > Thank You, > Dave Cogley > > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded