From: Richard Adams <pa3gcu@zeelandnet.nl>
To: Donald Duckie <schipperke2000@yahoo.com>,
Linux Newbie Mailing List <linux-newbie@vger.kernel.org>
Subject: Re: Invalid kernel header included in userspace; multi-line string literals are deprecated
Date: Mon, 13 Sep 2004 14:06:13 +0200 [thread overview]
Message-ID: <200409131406.13503.pa3gcu@zeelandnet.nl> (raw)
In-Reply-To: <20040913065243.40457.qmail@web53608.mail.yahoo.com>
On Monday 13 September 2004 08:52, Donald Duckie wrote:
> hi!
>
> can somebody please tell me what's going on with this.
> i have been changing my makefiles, in which i have
> been going in circles now.
You should have told us just what you are tying to do and how you are trying
to achive it, yes one can see you are compiling, but what commands did you do
beforehand, no way should you need to change Makefiles period, you may want
to edit the Top dir Makefile and add an EXTRAVERSION number tho'. which may
well save you a lot of problems if you succed in compiling and then the
kernel wont boot.
Anyway, your directory sructure is broken, as i see it you have a directory or
a symlink called /usr/src/inux-sh-2.4.18 you can have your source in any
directory you want, _however_ you are well advised to create a symlink called
linux pointing to where ever your source is, here is an example.
cd /usr/src
ls -al
linux -> linux-sh-2.4.18
linux-sh-2.4.18
>
> gcc -Wall -D__KERNEL__ -DMODULE
> -I/usr/src/linux-sh-2.4.18//include -O -g
> -DSNULL_DEBUG -I.. -M snull.c > .depend
> In file included from
> /usr/src/linux-sh-2.4.18/include/linux/config.h:4,
> from snull.c:25:
> /usr/include/linux/autoconf.h:1:2: #error Invalid
> kernel header included in userspace
> In file included from snull.c:51:
> /usr/src/linux-sh-2.4.18/include/asm/checksum.h:72:30:
> warning: multi-line string literals are deprecated
> /usr/src/linux-sh-2.4.18/include/asm/checksum.h:105:17:
> warning: multi-line string literals are deprecated
> /usr/src/linux-sh-2.4.18/include/asm/checksum.h:121:13:
> warning: multi-line string literals are deprecated
> /usr/src/linux-sh-2.4.18/include/asm/checksum.h:161:17:
> warning: multi-line string literals are deprecated
> make: *** [.depend] Error 1
All the errors are from 'depend' that means you possably have NOT configured
your kernel to start with.
For a quick HOWTO on making kernels goto;
http://people.zeelandnet.nl/pa3gcu/kernel.htm
Its old but is still valid for 2.4.x kernels.
Or read the README in the kernel source or read the Kernel-HOWTO found mostly
in /usr/share/doc/*
Or
http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO.html
> thanks.
--
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
next prev parent reply other threads:[~2004-09-13 12:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-13 6:52 Invalid kernel header included in userspace; multi-line string literals are deprecated Donald Duckie
2004-09-13 12:06 ` Richard Adams [this message]
2004-09-14 0:27 ` Donald Duckie
2004-09-14 8:25 ` Richard Adams
2004-09-14 9:48 ` Donald Duckie
2004-09-14 15:21 ` Richard Adams
2004-09-15 1:30 ` Donald Duckie
2004-09-15 12:04 ` Richard Adams
2004-09-22 2:51 ` Donald Duckie
2004-09-22 10:23 ` unresolved symbol __udivsi3_i4 Donald Duckie
2004-10-02 5:49 ` Richard Adams
2004-10-02 5:45 ` Invalid kernel header included in userspace; multi-line string literals are deprecated Richard Adams
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=200409131406.13503.pa3gcu@zeelandnet.nl \
--to=pa3gcu@zeelandnet.nl \
--cc=linux-newbie@vger.kernel.org \
--cc=schipperke2000@yahoo.com \
/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