From: Filip Navara <filip.navara@gmail.com>
To: Sebastian Herbszt <herbszt@gmx.de>
Cc: Alexander Graf <agraf@suse.de>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] signrom.sh and MinGW
Date: Sat, 1 Aug 2009 23:51:11 +0200 [thread overview]
Message-ID: <5b31733c0908011451i69a51791r7fec576fed7c41ad@mail.gmail.com> (raw)
In-Reply-To: <75404CF870024F539884B8819ECD6E60@FSCPC>
On Sat, Aug 1, 2009 at 11:47 PM, Sebastian Herbszt<herbszt@gmx.de> wrote:
> v0.11.0-rc0-182-g28e738d/pc-bios/optionrom/signrom.sh multiboot.raw
> multiboot.bin
> v0.11.0-rc0-182-g28e738d/pc-bios/optionrom/signrom.sh: * 512 - 1 : syntax
> error: operand expected (error token is "* 512 - 1 ")
> make[1]: *** [multiboot.bin] Error 1
> rm multiboot.raw multiboot.img multiboot.o
> make: *** [romsubdir-optionrom] Error 2
>
> pc-bios/optionrom/signrom.sh has
>
> # find out the file size
> x=`dd if="$1" bs=1 count=1 skip=2 2>/dev/null | od -t u1 -A n`
> #size=`expr $x \* 512 - 1`
> size=$(( $x * 512 - 1 ))
>
> but it seems (at least my) MinGW doesn't include "dd".
>
I have already reported that on the mailing list earlier.
Workaround/fix is to download MSYS coreutils from the MinGW download
page.
Best regards,
Filip Navara
next prev parent reply other threads:[~2009-08-01 21:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-01 21:47 [Qemu-devel] signrom.sh and MinGW Sebastian Herbszt
2009-08-01 21:51 ` Filip Navara [this message]
2009-08-02 12:21 ` Sebastian Herbszt
2009-08-02 12:29 ` Alexander Graf
2009-08-02 19:56 ` Sebastian Herbszt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5b31733c0908011451i69a51791r7fec576fed7c41ad@mail.gmail.com \
--to=filip.navara@gmail.com \
--cc=agraf@suse.de \
--cc=herbszt@gmx.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).