[Top] [All Lists]

Re: Ask help:why my 64-bit ELF file could not run at the 64-bit mips

To: Alexander Clouter <>, Jan Rovins <>,
Subject: Re: Ask help:why my 64-bit ELF file could not run at the 64-bit mips cpu
From: Dominic <>
Date: Mon, 26 Apr 2010 20:00:51 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=OprkUIdpGXVj/LWoT8hEHruiI5xdaQRCUUAutyscCEA=; b=BiPTgTRHxOo1grIje5He7qWKosCfTKECb8gcSExcZXPRbnFBOV22a+6bQX6l3DR4gR Ht9NwDKN4stsart3l/Ytcq5chgZViKyOzwBFJod4oRK7vPmsAT4nMHWkcT4VeDJ7k9Hi vJfS98bg6s9FZ3ts8GDdBBSZO+/lrtw5/uvSM=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Q9CnTF5g3n+X5NLUGTUjIGaHbyICy1RVLRT1kcK97QwFe4yygFZqnLGk6SGOLGiiyh 4JR9bSt2SZhtR7XIKc3sEIiNil11f3S9U6y48lUdU4K9Zu5mJoQGMHOfsLDwJTD4WZQm UbuJL83danQCPHou11mAGWz7XAXKwaiEydZFI=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <>
Hi Alexander, Jan & Greet

Much thanks for your advice, I have solve this problem, thanks a lot!


On Fri, Apr 23, 2010 at 5:34 PM, Alexander Clouter <> wrote:
> Dominic <> wrote:
>> Thanks a lot for your precious reply! I try to use -static to compile
>> the program, then the 64-bit program can run, so it should be the
>> library related other than 64-bit instruction or addressing related.
>> Then I stored the 64-bit libraries in nfs, and mount it on the target
>> board, after adding the path to and 'ldconfig', the program
>> compiled without -static still does not run. Shall I miss something?
> On your host, you can type something like:
> ----
> alex@berk:/usr/src/wag54g$ readelf -d 
> buildroot/output/target/usr/sbin/ip6tables-multi  | grep Shared
>  0x00000001 (NEEDED)                     Shared library: []
>  0x00000001 (NEEDED)                     Shared library: []
>  0x00000001 (NEEDED)                     Shared library: []
>  0x00000001 (NEEDED)                     Shared library: []
>  0x00000001 (NEEDED)                     Shared library: []
> ----
> This will list all the libraries that you need installed[1], I'm guessin
> you have missed one.
> You can look at the output of 'readelf -a' to try to see what might be
> missing.
> Cheers
> [1] in addition to the interpreter required (for example 'ld-uClibc')
>        and the main C library being used:
>        readelf -l buildroot/output/target/usr/sbin/ip6tables-multi
> --
> Alexander Clouter
> .sigmonster says: "Ninety percent of baseball is half mental."
>                                -- Yogi Berra

<Prev in Thread] Current Thread [Next in Thread>