From: Wen Congyang <wency@cn.fujitsu.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: Ian Campbell <Ian.Campbell@citrix.com>,
xen devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH] hvmloader: fix building error
Date: Wed, 8 Apr 2015 15:33:04 +0800 [thread overview]
Message-ID: <5524D9B0.2060307@cn.fujitsu.com> (raw)
In-Reply-To: <20150408072806.GA14277@aepfle.de>
On 04/08/2015 03:28 PM, Olaf Hering wrote:
> On Wed, Apr 08, Wen Congyang wrote:
>
>> On 04/08/2015 03:21 PM, Olaf Hering wrote:
>>> On Wed, Apr 08, Wen Congyang wrote:
>>>
>>>> commit b9245b75 introduces a building error:
>>>> make[1]: Entering directory `/root/work/xen/tools/firmware/hvmloader'
>>>> gcc -O1 -fno-omit-frame-pointer -m32 -march=i686 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .smbios.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -mno-tls-direct-seg-refs -Werror -fno-stack-protector -fno-exceptions -fno-builtin -msoft-float -I/root/work/xen/tools/firmware/hvmloader/../../../tools/include -DENABLE_ROMBIOS -DENABLE_SEABIOS -D__SMBIOS_DATE__="04/08/2015" -c -o smbios.o smbios.c
>>>> smbios.c:384:46: error: invalid digit "8" in octal constant
>>>> smbios.c:792:46: error: invalid digit "8" in octal constant
>>>> make[1]: *** [smbios.o] Error 1
>>>
>>> Oh, I did not spot that because in my builds the octal number was always
>>> valid. But you are right, it has to be a string constant.
>>
>> Do you run 'make -C tools/ clean' before building?
>
> No, I dont. I do 'git clean -dffx', often.
I guess if you do it, you will also find this problem.
Thanks
Wen Congyang
>
> Olaf
> .
>
next prev parent reply other threads:[~2015-04-08 7:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-08 1:47 [PATCH] hvmloader: fix building error Wen Congyang
2015-04-08 7:21 ` Olaf Hering
2015-04-08 7:29 ` Wen Congyang
2015-04-08 7:28 ` Olaf Hering
2015-04-08 7:33 ` Wen Congyang [this message]
2015-04-08 8:46 ` Andrew Cooper
2015-04-08 9:05 ` Wen Congyang
2015-04-08 10:46 ` Ian Jackson
2015-04-08 10:53 ` Andrew Cooper
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=5524D9B0.2060307@cn.fujitsu.com \
--to=wency@cn.fujitsu.com \
--cc=Ian.Campbell@citrix.com \
--cc=olaf@aepfle.de \
--cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.