Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid>
Subject: Re: Debian v3r3 -  How do I find what is in the default kernel ?
Date: 27 Jan 2005 10:45:52 +0200	[thread overview]
Message-ID: <pgzfz0ntg3j.fsf@kruuna.helsinki.fi> (raw)
In-Reply-To: mrMgbFFy029BFwwk@wookie.demon.co.uk

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.

/usr/src/linux-2.4 is a symlink to the 2.4.29 build directory.

/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.  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...

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS


  parent reply	other threads:[~2005-01-27  8:45 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 [this message]
2005-01-27  9:33           ` John Beardmore
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