Re: mei file2alias compile error

From: Dave Hansen
Date: Thu May 02 2013 - 11:23:49 EST


On 05/01/2013 11:50 PM, Winkler, Tomas wrote:
>> On Wed, May 01, 2013 at 09:56:35AM -0700, Dave Hansen wrote:
>>> Linus's current git isn't compiling for me:
>>>> HOSTCC scripts/mod/file2alias.o
>>>> /home/davehans/linux.git/scripts/mod/file2alias.c: In function
>> âdo_mei_entryâ:
>>>> /home/davehans/linux.git/scripts/mod/file2alias.c:1140:1: error:
>> âOFF_mei_cl_device_id_nameâ undeclared (first use in this function)
>>>> /home/davehans/linux.git/scripts/mod/file2alias.c:1140:1: note: each
>> undeclared identifier is reported only once for each function it appears in
>>>> /home/davehans/linux.git/scripts/mod/file2alias.c: At top level:
>>>> /home/davehans/linux.git/scripts/mod/file2alias.c:1146:1: error:
>> âSIZE_mei_cl_device_idâ undeclared here (not in a function)
>>>
>>> I confirmed that this commit: e5354107e is the one causing it for me.
>>> My .config is here:
>>>
>>> http://sr71.net/~dave/linux/config-3.9-meibad
>>>
>>> Note that I don't even have CONFIG_INTEL_MEI enabled with this config.
>>
>> I don't have CONFIG_INTEL_MEI set either, and I can't duplicate this.
>> Samuel and Tomas, can you please track this down?
>
> I cannot reproduce it as well. I've tried with v3.9 and also with the latest tip.

I did some more poking around. I was building with O= to put the
binaries in another dir. When I saw the error, one of the first things
I did was do a "make mrproper" on the binary directory. But, I never
did one one the source directory. Doing that seems to have made this go
away. There must have been some build gunk in the source directory
causing this.

Tomas, thanks for taking a look.

For posterity:

gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC)
Fedora release 16 (Verne)
v3.9-5295-ga49fe6d
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/