Messages in this thread | | | From | Vladimir G Ivanovic <> | Subject | Unable to compile 2.5.4: "control reaches end of non-void functionm" | Date | Tue, 12 Feb 2002 13:36:40 -0800 |
| |
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/
| |