Re: [mmotm:master 192/212] include/uapi/asm-generic/int-ll64.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
From: Randy Dunlap
Date: Sun Jun 10 2018 - 20:02:14 EST
On 06/07/2018 07:06 PM, kbuild test robot wrote:
> tree: git://git.cmpxchg.org/linux-mmotm.git master
> head: 7393732bae530daa27567988b91d16ecfeef6c62
> commit: b1a8bfbadbcb79644ccdd5f9cd370caa63cb1fa7 [192/212] linux-next-git-rejects
> config: i386-randconfig-s0-201822-CONFIG_DEBUG_INFO_REDUCED (attached as .config)
> compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
> reproduce:
> git checkout b1a8bfbadbcb79644ccdd5f9cd370caa63cb1fa7
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> In file included from include/asm-generic/int-ll64.h:11:0,
> from include/uapi/asm-generic/types.h:7,
> from arch/x86/include/uapi/asm/types.h:5,
> from include/uapi/linux/types.h:5,
> from include/linux/types.h:6,
> from net/ipv4/ipconfig.c:36:
>>> include/uapi/asm-generic/int-ll64.h:20:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
> typedef __signed__ char __s8;
> ^~~~~~~
The problem here was that net/ipv4/ipconfig.c begins like this:
q// SPDX-License-Identifier: GPL-2.0
Did anyone fix that?
--
~Randy