[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46622022-68e2-35eb-e6d6-55f7a62c6f94@mageia.org>
Date: Wed, 1 Mar 2017 01:15:06 +0200
From: Thomas Backlund <tmb@...eia.org>
To: Joakim Tjernlund <Joakim.Tjernlund@...inera.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: Re: [PATCH 1/2] Correct function definition for C++
Den 22.02.2017 kl. 09:50, skrev Joakim Tjernlund:
> On Wed, 2017-02-22 at 08:10 +0100, Greg KH wrote:
>> On Tue, Feb 21, 2017 at 04:24:04PM +0100, Joakim Tjernlund wrote:
>>> C++ does does not like the extra extern before asmlinkage, remove it.
>>>
>>> Signed-off-by: Joakim Tjernlund <joakim.tjernlund@...inera.com>
>>> ---
>>> include/linux/printk.h | 4 ++--
>>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/include/linux/printk.h b/include/linux/printk.h
>>> index 3472cc6..be823f5 100644
>>> --- a/include/linux/printk.h
>>> +++ b/include/linux/printk.h
>>
>>
>> Why are you building this file with a C++ compiler?
>
> virtualbox uses C++ and includes various kernel headers and the build
> fails, virtualbox guest additions has not build for quite some time now and
> this is one of the problems.
You need this fix for virtualbox:
https://www.virtualbox.org/changeset/65874/vbox/trunk/configure
--
Thomas
Powered by blists - more mailing lists