Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753383AbXKUF5f (ORCPT ); Wed, 21 Nov 2007 00:57:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757166AbXKUF5K (ORCPT ); Wed, 21 Nov 2007 00:57:10 -0500 Received: from e28smtp02.in.ibm.com ([59.145.155.2]:45901 "EHLO e28esmtp02.in.ibm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755586AbXKUF5G (ORCPT ); Wed, 21 Nov 2007 00:57:06 -0500 Message-ID: <4743C8A3.60909@linux.vnet.ibm.com> Date: Wed, 21 Nov 2007 11:26:51 +0530 From: Kamalesh Babulal User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: Andrew Morton CC: linux-kernel@vger.kernel.org, linux390@de.ibm.com, linux-s390@vger.kernel.org, schwidefsky@de.ibm.com, Andy Whitcroft Subject: Re: 2.6.24-rc3-mm1 - Build Failure on S390x References: <20071120204525.ff27ac98.akpm@linux-foundation.org> In-Reply-To: <20071120204525.ff27ac98.akpm@linux-foundation.org> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9173 Lines: 125 Hi Andrew, The kernel build fails on S390x, with arch/s390/kernel/ipl.c: In function `ipl_register_fcp_files': arch/s390/kernel/ipl.c:415: error: `ipl_subsys' undeclared (first use in this function) arch/s390/kernel/ipl.c:415: error: (Each undeclared identifier is reported only once arch/s390/kernel/ipl.c:415: error: for each function it appears in.) arch/s390/kernel/ipl.c: In function `ipl_init': arch/s390/kernel/ipl.c:449: error: implicit declaration of function `firmware_register' arch/s390/kernel/ipl.c:449: error: `ipl_subsys' undeclared (first use in this function) arch/s390/kernel/ipl.c: In function `on_panic_show': arch/s390/kernel/ipl.c:764: error: implicit declaration of function `shutdown_action_str' arch/s390/kernel/ipl.c:764: error: `on_panic_action' undeclared (first use in this function) arch/s390/kernel/ipl.c:764: warning: format argument is not a pointer (arg 3) arch/s390/kernel/ipl.c:764: warning: format argument is not a pointer (arg 3) arch/s390/kernel/ipl.c: In function `on_panic_store': arch/s390/kernel/ipl.c:771: error: `SHUTDOWN_REIPL_STR' undeclared (first use in this function) arch/s390/kernel/ipl.c:772: error: `on_panic_action' undeclared (first use in this function) arch/s390/kernel/ipl.c:772: error: `SHUTDOWN_REIPL' undeclared (first use in this function) arch/s390/kernel/ipl.c:773: error: `SHUTDOWN_DUMP_STR' undeclared (first use in this function) arch/s390/kernel/ipl.c:775: error: `SHUTDOWN_DUMP' undeclared (first use in this function) arch/s390/kernel/ipl.c:776: error: `SHUTDOWN_STOP_STR' undeclared (first use in this function) arch/s390/kernel/ipl.c:778: error: `SHUTDOWN_STOP' undeclared (first use in this function) arch/s390/kernel/ipl.c: At top level: arch/s390/kernel/ipl.c:879: error: redefinition of 'ipl_register_fcp_files' arch/s390/kernel/ipl.c:412: error: previous definition of 'ipl_register_fcp_files' was here arch/s390/kernel/ipl.c:904: error: redefinition of 'ipl_init' arch/s390/kernel/ipl.c:446: error: previous definition of 'ipl_init' was here arch/s390/kernel/ipl.c:1050: error: `reipl_run' undeclared here (not in a function) arch/s390/kernel/ipl.c:1050: error: initializer element is not constant arch/s390/kernel/ipl.c:1050: error: (near initialization for `reipl_action.fn') arch/s390/kernel/ipl.c:1058: error: redefinition of 'sys_dump_fcp_wwpn_show' arch/s390/kernel/ipl.c:662: error: previous definition of 'sys_dump_fcp_wwpn_show' was here arch/s390/kernel/ipl.c:1058: error: redefinition of 'sys_dump_fcp_wwpn_store' arch/s390/kernel/ipl.c:662: error: previous definition of 'sys_dump_fcp_wwpn_store' was here arch/s390/kernel/ipl.c:1058: error: redefinition of 'sys_dump_fcp_wwpn_attr' arch/s390/kernel/ipl.c:662: error: previous definition of 'sys_dump_fcp_wwpn_attr' was here arch/s390/kernel/ipl.c:1060: error: redefinition of 'sys_dump_fcp_lun_show' arch/s390/kernel/ipl.c:664: error: previous definition of 'sys_dump_fcp_lun_show' was here arch/s390/kernel/ipl.c:1060: error: redefinition of 'sys_dump_fcp_lun_store' arch/s390/kernel/ipl.c:664: error: previous definition of 'sys_dump_fcp_lun_store' was here arch/s390/kernel/ipl.c:1060: error: redefinition of 'sys_dump_fcp_lun_attr' arch/s390/kernel/ipl.c:664: error: previous definition of 'sys_dump_fcp_lun_attr' was here arch/s390/kernel/ipl.c:1062: error: redefinition of 'sys_dump_fcp_bootprog_show' arch/s390/kernel/ipl.c:666: error: previous definition of 'sys_dump_fcp_bootprog_show' was here arch/s390/kernel/ipl.c:1062: error: redefinition of 'sys_dump_fcp_bootprog_store' arch/s390/kernel/ipl.c:666: error: previous definition of 'sys_dump_fcp_bootprog_store' was here arch/s390/kernel/ipl.c:1062: error: redefinition of 'sys_dump_fcp_bootprog_attr' arch/s390/kernel/ipl.c:666: error: previous definition of 'sys_dump_fcp_bootprog_attr' was here arch/s390/kernel/ipl.c:1064: error: redefinition of 'sys_dump_fcp_br_lba_show' arch/s390/kernel/ipl.c:668: error: previous definition of 'sys_dump_fcp_br_lba_show' was here arch/s390/kernel/ipl.c:1064: error: redefinition of 'sys_dump_fcp_br_lba_store' arch/s390/kernel/ipl.c:668: error: previous definition of 'sys_dump_fcp_br_lba_store' was here arch/s390/kernel/ipl.c:1064: error: redefinition of 'sys_dump_fcp_br_lba_attr' arch/s390/kernel/ipl.c:668: error: previous definition of 'sys_dump_fcp_br_lba_attr' was here arch/s390/kernel/ipl.c:1066: error: redefinition of 'sys_dump_fcp_device_show' arch/s390/kernel/ipl.c:670: error: previous definition of 'sys_dump_fcp_device_show' was here arch/s390/kernel/ipl.c:1066: error: redefinition of 'sys_dump_fcp_device_store' arch/s390/kernel/ipl.c:670: error: previous definition of 'sys_dump_fcp_device_store' was here arch/s390/kernel/ipl.c:1066: error: redefinition of 'sys_dump_fcp_device_attr' arch/s390/kernel/ipl.c:670: error: previous definition of 'sys_dump_fcp_device_attr' was here arch/s390/kernel/ipl.c:1069: error: redefinition of 'dump_fcp_attrs' arch/s390/kernel/ipl.c:673: error: previous definition of 'dump_fcp_attrs' was here arch/s390/kernel/ipl.c:1078: error: redefinition of 'dump_fcp_attr_group' arch/s390/kernel/ipl.c:682: error: previous definition of 'dump_fcp_attr_group' was here arch/s390/kernel/ipl.c:1085: error: redefinition of 'sys_dump_ccw_device_show' arch/s390/kernel/ipl.c:689: error: previous definition of 'sys_dump_ccw_device_show' was here arch/s390/kernel/ipl.c:1085: error: redefinition of 'sys_dump_ccw_device_store' arch/s390/kernel/ipl.c:689: error: previous definition of 'sys_dump_ccw_device_store' was here arch/s390/kernel/ipl.c:1085: error: redefinition of 'sys_dump_ccw_device_attr' arch/s390/kernel/ipl.c:689: error: previous definition of 'sys_dump_ccw_device_attr' was here arch/s390/kernel/ipl.c:1088: error: redefinition of 'dump_ccw_attrs' arch/s390/kernel/ipl.c:692: error: previous definition of 'dump_ccw_attrs' was here arch/s390/kernel/ipl.c:1093: error: redefinition of 'dump_ccw_attr_group' arch/s390/kernel/ipl.c:697: error: previous definition of 'dump_ccw_attr_group' was here arch/s390/kernel/ipl.c:1101: error: redefinition of 'dump_set_type' arch/s390/kernel/ipl.c:705: error: previous definition of 'dump_set_type' was here arch/s390/kernel/ipl.c:1122: error: conflicting types for 'dump_type_show' arch/s390/kernel/ipl.c:729: error: previous definition of 'dump_type_show' was here arch/s390/kernel/ipl.c:1128: error: conflicting types for 'dump_type_store' arch/s390/kernel/ipl.c:736: error: previous definition of 'dump_type_store' was here arch/s390/kernel/ipl.c:1140: error: variable `dump_type_attr' has initializer but incomplete type arch/s390/kernel/ipl.c:1140: error: conflicting types for 'dump_type_attr' arch/s390/kernel/ipl.c:748: error: previous definition of 'dump_type_attr' was here arch/s390/kernel/ipl.c:1141: error: unknown field `attr' specified in initializer arch/s390/kernel/ipl.c:1141: error: extra brace group at end of initializer arch/s390/kernel/ipl.c:1141: error: (near initialization for `dump_type_attr') arch/s390/kernel/ipl.c:1141: warning: excess elements in struct initializer arch/s390/kernel/ipl.c:1141: warning: (near initialization for `dump_type_attr') arch/s390/kernel/ipl.c:1141: error: unknown field `show' specified in initializer arch/s390/kernel/ipl.c:1141: warning: excess elements in struct initializer arch/s390/kernel/ipl.c:1141: warning: (near initialization for `dump_type_attr') arch/s390/kernel/ipl.c:1141: error: unknown field `store' specified in initializer arch/s390/kernel/ipl.c:1141: warning: excess elements in struct initializer arch/s390/kernel/ipl.c:1141: warning: (near initialization for `dump_type_attr') arch/s390/kernel/ipl.c:1143: error: syntax error before '(' token arch/s390/kernel/ipl.c: In function `dump_init': arch/s390/kernel/ipl.c:1231: warning: passing arg 2 of `sysfs_create_file' from incompatible pointer type arch/s390/kernel/ipl.c: In function `shutdown_actions_init': arch/s390/kernel/ipl.c:1254: warning: passing arg 2 of `sysfs_create_file' from incompatible pointer type arch/s390/kernel/ipl.c:1260: error: `shutdown_on_panic_nb' undeclared (first use in this function) arch/s390/kernel/ipl.c: At top level: arch/s390/kernel/ipl.c:237: warning: 'get_ipl_type' defined but not used arch/s390/kernel/ipl.c:477: warning: 'ipl_action' defined but not used arch/s390/kernel/ipl.c:682: warning: 'dump_fcp_attr_group' defined but not used arch/s390/kernel/ipl.c:697: warning: 'dump_ccw_attr_group' defined but not used arch/s390/kernel/ipl.c:748: warning: 'dump_type_attr' defined but not used arch/s390/kernel/ipl.c:843: warning: 'do_dump' defined but not used arch/s390/kernel/ipl.c:1049: warning: 'reipl_action' defined but not used arch/s390/kernel/ipl.c:1146: warning: 'dump_run' defined but not used make[1]: *** [arch/s390/kernel/ipl.o] Error 1 make: *** [arch/s390/kernel] Error 2 11/21/2007-06:02:16 Build the kernel. Failed rc = 2 -- Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/