[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130327155134.GA24155@kroah.com>
Date: Wed, 27 Mar 2013 08:51:34 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Fengguang Wu <fengguang.wu@...el.com>
Cc: sparclinux@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: usr/include/linux/types.h:27:1: error: unknown type name '__u16'
On Wed, Mar 27, 2013 at 11:44:53PM +0800, Fengguang Wu wrote:
> 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.
As you are getting errors when building Documentation files, I don't
think this is a staging tree specific issue, as I haven't changed
anything in that directory that I can see.
So it's probably something else.
greg k-h
--
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