| To: | "Matteo Croce" <rootkit85@yahoo.it> |
|---|---|
| Subject: | Re: Can't execute any MIPS binary |
| From: | "Michael Wood" <esiotrot@gmail.com> |
| Date: | Fri, 22 Feb 2008 00:40:36 +0200 |
| Cc: | linux-mips@linux-mips.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=13tz0i75ddpiyXhTC1wgeSo7Em7jxOA3nNgbyNRdJPs=; b=PIIjFxXjJw0WgJwof5C+mwLn87TN/OASPtmf3QqF/tD25kvRqLfe40v5iYzVCblnnxbmA9C8wFkjbbDIapoPklx3DUalCQIWhKaSMfz9eKXCerysYIxWGTQRfi7gKIe9MrzwC74tesl9J5paTb6XVQYgqYyQ7eIEpxhdv4PHJII= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r02KIKANtC/SowI3zABubdNa3Ns+pXQ9IBUdDcqjpbKDnLa+lQ9UJsdFoA2Qk22FZiGlTlQwuD8EZe5lXFsn6BpTE1wekcqhi5g66LaV9NxhH2/CiEiR30xRYZulzl/0yr0u/BbU7d1KdZ7S1fKj/mMhfWlP/+8qkcK8lPcNf2o= |
| In-reply-to: | <200802130034.25052.rootkit85@yahoo.it> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <200802130034.25052.rootkit85@yahoo.it> |
| Sender: | linux-mips-bounce@linux-mips.org |
Hi
On Wed, Feb 13, 2008 at 1:34 AM, Matteo Croce <rootkit85@yahoo.it> wrote:
> Hi,
> I have a machine, an AR7 MIPS router I want to hack, but I'm unable
> to run _any_ executable on that machine outside the ones in the firmware.
> I tried building a static mips1 binary, but it fails so:
>
> # /var/test.bin
> /var/test.bin: 1: Syntax error: "(" unexpected
I had the exact same problem.
As far as I remember I had to make sure to build uclibc for MIPS-I,
because if I built a MIPS-I object file and linked it to a uclibc that
was not built for MIPS-I, it would give those errors.
I have just found my change to the OpenWrt wiki (on the WRTP54G page):
http://wiki.openwrt.org/OpenWrtDocs/Hardware/Linksys/WRTP54G?action=diff&rev2=171&rev1=170
--
Michael Wood <esiotrot@gmail.com>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | kdb patches?!, Anirban Sinha |
|---|---|
| Next by Date: | Re: MIPS section alignment of object file, Ralf Baechle |
| Previous by Thread: | Re: Can't execute any MIPS binary, David Daney |
| Next by Thread: | [PATCH] Fix build failure for 64-bit SB-1 kernels, Thiemo Seufer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |