This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: wrong lib address
- From: Daniel Jacobowitz <drow at false dot org>
- To: xchen <xchen at sunrisetelecom dot com dot cn>
- Cc: gdb at sourceware dot org
- Date: Thu, 30 Aug 2007 08:14:33 -0400
- Subject: Re: wrong lib address
- References: <20070830102107.6A5A398153@nan.false.org>
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