From: Vladimir G Ivanovic <vladimir@acm.org>
To: linux-kernel@vger.kernel.org
Subject: Unable to compile 2.5.4: "control reaches end of non-void functionm"
Date: Tue, 12 Feb 2002 13:36:40 -0800 [thread overview]
Message-ID: <200202122136.g1CLaeq31566@bach.leonora.org> (raw)
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
next reply other threads:[~2002-02-12 21:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-12 21:36 Vladimir G Ivanovic [this message]
2002-02-13 4:48 Steve Kieu
2002-02-13 13:53 ` J.S.S.
2002-02-13 16:27 ` Daniel J Blueman
2002-02-14 0:56 ` Drew P. Vogel
2002-02-14 13:49 ` J.S.S.
[not found] <fa.l69quuv.1ljio8r@ifi.uio.no>
2002-02-13 5:09 ` John Weber
[not found] <fa.j3e61kv.181e63g@ifi.uio.no>
2002-02-13 17:34 ` Per Persson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200202122136.g1CLaeq31566@bach.leonora.org \
--to=vladimir@acm.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®