From: John Beardmore <wookie@wookie.demon.co.uk>
Subject: Re: Debian v3r3 - How do I find what is in the default kernel ?
Date: Thu, 27 Jan 2005 09:33:51 +0000 [thread overview]
Message-ID: <TFcNQVI$VL+BFwck@wookie.demon.co.uk> (raw)
In-Reply-To: pgzfz0ntg3j.fsf@kruuna.helsinki.fi
In message <pgzfz0ntg3j.fsf@kruuna.helsinki.fi>, Atro Tossavainen
<Atro.Tossavainen+news@helsinki.finland.invalid> writes
>John Beardmore <wookie@wookie.demon.co.uk> writes:
>
>> Yes. Trying to build this, but it fails with
>>
>> In file included from /usr/src/linux/include/asm/spinlock.h:7,
>> from /usr/src/linux/include/linux/spinlock.h:58,
>> from /usr/src/linux/include/linux/module.h:12,
>> from iteraid.c:231:
>> /usr/src/linux/include/asm/current.h:4: global register variable
>> follows a
>> function definition
>> /usr/src/linux/include/asm/current.h:4: warning: call-clobbered
>> register
>> used for global register variable
>>
>> iteraid.c:4653: warning: `IdeMediaStatus' defined but not used
>> make: *** [iteraid.o] Error 1
>
>I got similar warnings too, but they were just warnings, not errors.
OK. I took "Error 1" to mean something should be fixed.
>/usr/src/linux-2.4 is a symlink to the 2.4.29 build directory.
Yes. I've got /usr/src/linux as a symlink to /home/linux-2.4.29 but
same idea.
>/usr/src/ITE/src/2.4.x # make
>gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2
>-fomit-frame-pointer -fno-strict-aliasing -I.
>-I/usr/src/linux-2.4/drivers/scsi -I/usr/src/linux-2.4/include -include
>/usr/src/linux-2.4/include/linux/modversions.h -c -o iteraid.o iteraid.c
>In file included from /usr/src/linux-2.4/include/asm/semaphore.h:11,
> from /usr/src/linux-2.4/include/linux/fs.h:200,
> from /usr/src/linux-2.4/include/linux/capability.h:17,
> from /usr/src/linux-2.4/include/linux/binfmts.h:5,
> from /usr/src/linux-2.4/include/linux/sched.h:9,
> from /usr/src/linux-2.4/include/linux/mm.h:4,
> from /usr/src/linux-2.4/include/linux/slab.h:14,
> from /usr/src/linux-2.4/include/linux/proc_fs.h:5,
> from iteraid.c:239:
>/usr/src/linux-2.4/include/asm/current.h:4: warning: call-clobbered
>register used for global register variable
>iteraid.c:4653: warning: `IdeMediaStatus' defined but not used
>/usr/src/ITE/src/2.4.x #
>
>At least, the module built just fine.
OK, forgive my utter ignorance, but where is it writing the output
files, and what should I expect ? I was assuming iteraid.o, but I can't
see a new one.
> I haven't got the hardware to
>test it, and I haven't even rebooted the XL266 with the 2.4.29 kernel
>yet to see if attempting to load it would kill something...
I'll have a go when I get into work.
Cheers, J/.
--
John Beardmore
next prev parent reply other threads:[~2005-01-27 9:33 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-23 1:36 Debian v3r3 - How do I find what is in the default kernel ? John Beardmore
2005-01-23 8:07 ` Moores family
2005-01-23 10:16 ` John Beardmore
2005-01-24 20:43 ` Lamar Owen
2005-01-24 22:26 ` John Beardmore
2005-01-25 12:15 ` Atro Tossavainen
2005-01-26 10:13 ` John Beardmore
2005-01-26 13:29 ` Atro Tossavainen
2005-01-26 18:51 ` John Beardmore
2005-01-27 18:03 ` Lamar Owen
2005-01-27 21:47 ` John Beardmore
2005-01-27 8:45 ` Atro Tossavainen
2005-01-27 9:33 ` John Beardmore [this message]
2005-01-27 11:28 ` Atro Tossavainen
2005-01-28 0:01 ` John Beardmore
2005-01-28 9:41 ` Atro Tossavainen
2005-01-28 22:37 ` John Beardmore
2005-01-29 22:21 ` Atro Tossavainen
2005-01-29 23:03 ` John Beardmore
2005-02-07 10:38 ` Atro Tossavainen
2005-02-08 10:46 ` alexiss
2005-01-25 20:08 ` Lamar Owen
2005-01-26 9:14 ` John Beardmore
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox