Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 12 Feb 2002 16:37:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 12 Feb 2002 16:36:56 -0500 Received: from adsl-64-162-142-126.dsl.snfc21.pacbell.net ([64.162.142.126]:51915 "EHLO bach.leonora.org") by vger.kernel.org with ESMTP id ; Tue, 12 Feb 2002 16:36:45 -0500 Message-Id: <200202122136.g1CLaeq31566@bach.leonora.org> From: Vladimir G Ivanovic To: linux-kernel@vger.kernel.org Subject: Unable to compile 2.5.4: "control reaches end of non-void functionm" Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Date: Tue, 12 Feb 2002 13:36:40 -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org System: Red Hat 7.2 (fully updated) running a 2.4.17 kernel. * Copied 2.4.17/.config to 2.5.4/.config * Ran `make oldconfig' and `make dep' * Then: # make bzImage gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c scripts/split-include include/linux/autoconf.h include/config gcc -D__KERNEL__ -I/usr/src/linux-2.5.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c In file included from /usr/src/linux-2.5.4/include/asm/thread_info.h:13, from /usr/src/linux-2.5.4/include/linux/thread_info.h:10, from /usr/src/linux-2.5.4/include/linux/spinlock.h:7, from /usr/src/linux-2.5.4/include/linux/mmzone.h:8, from /usr/src/linux-2.5.4/include/linux/gfp.h:4, from /usr/src/linux-2.5.4/include/linux/slab.h:14, from /usr/src/linux-2.5.4/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux-2.5.4/include/asm/processor.h: In function `thread_saved_pc': /usr/src/linux-2.5.4/include/asm/processor.h:444: dereferencing pointer to incomplete type /usr/src/linux-2.5.4/include/asm/processor.h:445: warning: control reaches end of non-void functionmake: *** [init/main.o] Error 1 --- Vladimir -------- Vladimir G. Ivanovic http://leonora.org/~vladimir 2770 Cowper St. vladimir@acm.org Palo Alto, CA 94306-2447 +1 650 678 8014 - 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/