From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2187 invoked by alias); 30 Aug 2007 12:14:42 -0000 Received: (qmail 2178 invoked by uid 22791); 30 Aug 2007 12:14:42 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 30 Aug 2007 12:14:36 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id E988798154; Thu, 30 Aug 2007 12:14:36 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id CB2CF98153; Thu, 30 Aug 2007 12:14:35 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IQiuv-0006sI-9k; Thu, 30 Aug 2007 08:14:33 -0400 Date: Thu, 30 Aug 2007 12:14:00 -0000 From: Daniel Jacobowitz To: xchen Cc: gdb@sourceware.org Subject: Re: wrong lib address Message-ID: <20070830121433.GC25759@caradoc.them.org> Mail-Followup-To: xchen , gdb@sourceware.org References: <20070830102107.6A5A398153@nan.false.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070830102107.6A5A398153@nan.false.org> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00261.txt.bz2 On Thu, Aug 30, 2007 at 06:21:12PM +0800, xchen wrote: > I don't know why the path changed to /mnt/cf/shared/lib, this is my target > lib path. Maybe I create the related dir can solve the problem, but I am > glad to know the essential reason and the related solution. That means /mnt/cf/shared is the path on your target where these libraries are found. You need the libraries available in the same path (plus sysroot) on your host that is used on your target. Try running ldd on the target instead of the cross ldd. -- Daniel Jacobowitz CodeSourcery