[Top] [All Lists]

Re: Can't execute any MIPS binary

To: "Matteo Croce" <>
Subject: Re: Can't execute any MIPS binary
From: "Michael Wood" <>
Date: Fri, 22 Feb 2008 00:40:36 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <>
Original-recipient: rfc822;
References: <>

On Wed, Feb 13, 2008 at 1:34 AM, Matteo Croce <> 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):

Michael Wood <>

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