lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130327154453.GA27576@localhost>
Date:	Wed, 27 Mar 2013 23:44:53 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	sparclinux@...r.kernel.org
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: usr/include/linux/types.h:27:1: error: unknown type name '__u16'

Greetings,

The below errors show up in both upstream and linux-next.

   make ARCH=sparc allyesconfig
   make ARCH=sparc

   In file included from usr/include/linux/genetlink.h:4:0,
                    from Documentation/accounting/getdelays.c:27:
>> usr/include/linux/types.h:27:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:28:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:29:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:30:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:31:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:32:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:34:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:35:1: error: unknown type name '__u32'
   In file included from usr/include/linux/genetlink.h:5:0,
                    from Documentation/accounting/getdelays.c:27:
>> usr/include/linux/netlink.h:37:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:38:9: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:42:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:43:2: error: unknown type name '__u16'
>> usr/include/linux/netlink.h:44:2: error: unknown type name '__u16'
>> usr/include/linux/netlink.h:45:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:46:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:110:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:130:2: error: unknown type name '__u16'
>> usr/include/linux/netlink.h:131:2: error: unknown type name '__u16'
   In file included from Documentation/accounting/getdelays.c:27:0:
>> usr/include/linux/genetlink.h:13:2: error: unknown type name '__u8'
>> usr/include/linux/genetlink.h:14:2: error: unknown type name '__u8'
--
   In file included from usr/include/linux/netlink.h:5:0,
                    from Documentation/connector/ucon.c:28:
>> usr/include/linux/types.h:27:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:28:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:29:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:30:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:31:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:32:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:34:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:35:1: error: unknown type name '__u32'
   In file included from Documentation/connector/ucon.c:28:0:
>> usr/include/linux/netlink.h:37:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:38:9: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:42:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:43:2: error: unknown type name '__u16'
>> usr/include/linux/netlink.h:44:2: error: unknown type name '__u16'
>> usr/include/linux/netlink.h:45:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:46:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:110:2: error: unknown type name '__u32'
>> usr/include/linux/netlink.h:130:2: error: unknown type name '__u16'
>> usr/include/linux/netlink.h:131:2: error: unknown type name '__u16'
   In file included from usr/include/linux/rtnetlink.h:6:0,
                    from Documentation/connector/ucon.c:29:
>> usr/include/linux/if_link.h:9:2: error: unknown type name '__u32'
>> usr/include/linux/if_link.h:10:2: error: unknown type name '__u32'
--
   In file included from usr/include/linux/uuid.h:24:0,
                    from usr/include/linux/mei.h:70,
                    from Documentation/misc-devices/mei/mei-amt-version.c:77:
>> usr/include/linux/types.h:27:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:28:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:29:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:30:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:31:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:32:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:34:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:35:1: error: unknown type name '__u32'
   In file included from usr/include/linux/mei.h:70:0,
                    from Documentation/misc-devices/mei/mei-amt-version.c:77:
>> usr/include/linux/uuid.h:28:2: error: unknown type name '__u8'
>> usr/include/linux/uuid.h:32:2: error: unknown type name '__u8'
   In file included from Documentation/misc-devices/mei/mei-amt-version.c:77:0:
>> usr/include/linux/mei.h:95:2: error: unknown type name '__u32'
>> usr/include/linux/mei.h:96:2: error: unknown type name '__u8'
>> usr/include/linux/mei.h:97:2: error: unknown type name '__u8'
--
   In file included from usr/include/linux/if.h:22:0,
                    from Documentation/networking/ifenslave.c:161:
>> usr/include/linux/types.h:27:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:28:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:29:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:30:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:31:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:32:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:34:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:35:1: error: unknown type name '__u32'
   In file included from Documentation/networking/ifenslave.c:164:0:
>> usr/include/linux/if_bonding.h:96:2: error: unknown type name '__s32'
>> usr/include/linux/if_bonding.h:97:2: error: unknown type name '__s32'
>> usr/include/linux/if_bonding.h:98:2: error: unknown type name '__s32'
>> usr/include/linux/if_bonding.h:102:2: error: unknown type name '__s32'
>> usr/include/linux/if_bonding.h:104:2: error: unknown type name '__s8'
>> usr/include/linux/if_bonding.h:105:2: error: unknown type name '__s8'
>> usr/include/linux/if_bonding.h:106:2: error: unknown type name '__u32'
>> usr/include/linux/if_bonding.h:110:2: error: unknown type name '__u16'
>> usr/include/linux/if_bonding.h:111:2: error: unknown type name '__u16'
>> usr/include/linux/if_bonding.h:112:2: error: unknown type name '__u16'
>> usr/include/linux/if_bonding.h:113:2: error: unknown type name '__u16'
>> usr/include/linux/if_bonding.h:114:2: error: unknown type name '__u8'
   In file included from Documentation/networking/ifenslave.c:171:0:
--
   In file included from Documentation/spi/spidev_test.c:21:0:
>> usr/include/linux/types.h:27:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:28:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:29:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:30:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:31:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:32:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:34:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:35:1: error: unknown type name '__u32'
   In file included from Documentation/spi/spidev_test.c:22:0:
>> usr/include/linux/spi/spidev.h:86:2: error: unknown type name '__u64'
>> usr/include/linux/spi/spidev.h:87:2: error: unknown type name '__u64'
>> usr/include/linux/spi/spidev.h:89:2: error: unknown type name '__u32'
>> usr/include/linux/spi/spidev.h:90:2: error: unknown type name '__u32'
>> usr/include/linux/spi/spidev.h:92:2: error: unknown type name '__u16'
>> usr/include/linux/spi/spidev.h:93:2: error: unknown type name '__u8'
>> usr/include/linux/spi/spidev.h:94:2: error: unknown type name '__u8'
>> usr/include/linux/spi/spidev.h:95:2: error: unknown type name '__u32'
   Documentation/spi/spidev_test.c: In function 'main':
>> Documentation/spi/spidev_test.c:171:18: error: '__u8' undeclared (first use in this function)
   Documentation/spi/spidev_test.c:171:18: note: each undeclared identifier is reported only once for each function it appears in
>> Documentation/spi/spidev_test.c:193:18: error: '__u32' undeclared (first use in this function)
--
   In file included from Documentation/spi/spidev_fdx.c:11:0:
>> usr/include/linux/types.h:27:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:28:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:29:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:30:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:31:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:32:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:34:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:35:1: error: unknown type name '__u32'
   In file included from Documentation/spi/spidev_fdx.c:12:0:
>> usr/include/linux/spi/spidev.h:86:2: error: unknown type name '__u64'
>> usr/include/linux/spi/spidev.h:87:2: error: unknown type name '__u64'
>> usr/include/linux/spi/spidev.h:89:2: error: unknown type name '__u32'
>> usr/include/linux/spi/spidev.h:90:2: error: unknown type name '__u32'
>> usr/include/linux/spi/spidev.h:92:2: error: unknown type name '__u16'
>> usr/include/linux/spi/spidev.h:93:2: error: unknown type name '__u8'
>> usr/include/linux/spi/spidev.h:94:2: error: unknown type name '__u8'
>> usr/include/linux/spi/spidev.h:95:2: error: unknown type name '__u32'
   Documentation/spi/spidev_fdx.c: In function 'dumpstat':
>> Documentation/spi/spidev_fdx.c:81:2: error: unknown type name '__u8'
>> Documentation/spi/spidev_fdx.c:82:2: error: unknown type name '__u32'
>> Documentation/spi/spidev_fdx.c:84:16: error: '__u8' undeclared (first use in this function)
   Documentation/spi/spidev_fdx.c:84:16: note: each undeclared identifier is reported only once for each function it appears in
>> Documentation/spi/spidev_fdx.c:96:16: error: '__u32' undeclared (first use in this function)
--
   In file included from usr/include/linux/errqueue.h:4:0,
                    from Documentation/networking/timestamping/timestamping.c:46:
>> usr/include/linux/types.h:27:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:28:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:29:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:30:1: error: unknown type name '__u32'
>> usr/include/linux/types.h:31:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:32:1: error: unknown type name '__u64'
>> usr/include/linux/types.h:34:1: error: unknown type name '__u16'
>> usr/include/linux/types.h:35:1: error: unknown type name '__u32'
   In file included from Documentation/networking/timestamping/timestamping.c:46:0:
>> usr/include/linux/errqueue.h:7:2: error: unknown type name '__u32'
>> usr/include/linux/errqueue.h:8:2: error: unknown type name '__u8'
>> usr/include/linux/errqueue.h:9:2: error: unknown type name '__u8'
>> usr/include/linux/errqueue.h:10:2: error: unknown type name '__u8'
>> usr/include/linux/errqueue.h:11:2: error: unknown type name '__u8'
>> usr/include/linux/errqueue.h:12:2: error: unknown type name '__u32'
>> usr/include/linux/errqueue.h:13:2: error: unknown type name '__u32'

It's bisected down to upstream commit b87fc3e6e2e ("Merge tag 'staging-3.8-rc3' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging). However
it's possibly a wrong bisect because there are other build errors in
the parent commits and they may hide these errors.

Thanks,
Fengguang
---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ