Re: Help compiling kernel modules in Fedora C1
From: David Bailey (Newsgroups_at_bailey.id.au)
Date: 09/04/04
- Next message: Nwlf: "/etc/fstab boot up vfat mounts"
- Previous message: Scott Hemphill: "Re: tar question"
- Next in thread: Nicholas Andrade: "Re: Help compiling kernel modules in Fedora C1"
- Reply: Nicholas Andrade: "Re: Help compiling kernel modules in Fedora C1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 04 Sep 2004 17:00:09 +1000
On Sun, 29 Aug 2004 19:18:14 -0600, Andrew Falanga wrote:
> Hi,
>
> Yes, I do know that C1 is a little old. However, my attempts to install
> C2 have as yet proved unsuccessful (I need a new CD-ROM drive). In any
> event, I have to compile a new kernel because I need to have the option
> set, in the SCSI config, to probe all LUN's on each device (or whatever
> it is).
>
> The kernel compiles ok, however, whenever I go to compile the modules
> make bombs with thousands of errors. Problems inappropriate
> declarations of variables, variables not being declared (but used),
> functions being perceived as arguments to other functions, and
> eventually the compiler has just had enough and dies.
>
> These problems are with header files and source code. Files regarding
> the file system, memory managment, device drivers, etc. The basic
> question is, what's the magic chant one must sing in Fedora C1 to
> compile modules. (By the way, I get the same problem with C2 at work.)
>
> In all cases, here's the process I'm using to make a new kernel.
>
> 1) Edit Makefile to give some sort of identifier for my kernel apart
> form the stock kernel.
> 2) make clean
> 3) make xconfig
> 4) make dep
> 5) make bzImage
> 6) make modules
> 7) wished I could get here, but can't get past 6
>
> Any help would be greatly appreciated.
>
> Andy
Hi Andy,
I had a similar problem at one stage. I found I had to do a
make mrproper
before any of the other steps. Apparently this cleans things up and
prepares for compiling a new kernel. (I had never done this before, but
anyhow it worked. Actually, I've just tried it on my FC2 laptop and that
make option doesn't seem to exist)
If it is the same issue that I had, the errors it makes are completely
spurious and if you remove one area in the config file, it will find
another thing to complain about next time.
Hope that helps,
David
- Next message: Nwlf: "/etc/fstab boot up vfat mounts"
- Previous message: Scott Hemphill: "Re: tar question"
- Next in thread: Nicholas Andrade: "Re: Help compiling kernel modules in Fedora C1"
- Reply: Nicholas Andrade: "Re: Help compiling kernel modules in Fedora C1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|