From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,b1ea679f343925db X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!news.cs.univ-paris8.fr!news.zanker.org!news-peer-lilac.gradwell.net!not-for-mail Message-ID: Date: Thu, 27 Jan 2005 09:33:51 +0000 From: John Beardmore Newsgroups: comp.os.linux.alpha Subject: Re: Debian v3r3 - How do I find what is in the default kernel ? References: Organization: the Saab graveyard ! MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed User-Agent: Turnpike/6.04-U () NNTP-Posting-Date: 27 Jan 2005 09:40:41 GMT NNTP-Posting-Host: 81.187.247.166 X-Trace: 1106818841 news.aaisp.net.uk 23057 81.187.247.166 X-Complaints-To: aaispnews-abuse@gradwell.net Xref: g2news1.google.com comp.os.linux.alpha:598 In message , Atro Tossavainen writes >John Beardmore 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