Re: Recompiling the kernel

From: jayjwa (
Date: 07/12/05

Date: Tue, 12 Jul 2005 09:02:39 -0000

> On Mon, 11 Jul 2005 03:46:05 -0700, jzz wrote:
>> error occurs at 'make modules'

> error occurs at "help newbie"


Umm... bad header? What distro are you using? That's an old kernel. Why not
use a recent one, with recent tools? I compile my kernels for both my
machines, with Netfilter patches, and have been successful so far, so I know
they do build correctly. There was one issue with the 2.4.31 kernel and 2.16.*
binutils (as, specifically, involving segments went translating assembler
directives), but that's not what is happening here. Usually the first few
lines of the error messages are what's important. The rest results from what
happend there. Check the locations in the headers that the compiler is
complaining about and try to figure out why it might do that. Common things
are missing files, old headers/incomplete headers, -D defines not being set
correctly, etc... If all else fails, you might have to leave off compiling the
module that is generating the error, if possible. Reconfigure and de-select
it, then make a clean recompile. See if that clears up anything. It's hard to
know without sitting down at your machine, or you showing some specifics.

pna'g guvax bs n tbbq fvtangher gbqnl 
guvf jvyy unir gb qb

Relevant Pages

  • Re: [PATCH] arch/tile: new multi-core architecture for Linux
    ... support in the arch/tile/drivers directory is for devices which exist ... driver is tied to the Tilera networking shim DMA engine on the chip. ... but kernel is also good. ... part of the set of headers that provide access to all the grotty details ...
  • State of userland headers
    ... When I first created llh, it was a couple of weeks before 2.6.0 came out. ... had a need for those headers, since a new version of PLD distro was supposed ... LLH as it is is not and never will be mergable into mainline kernel. ... llh for the most popular archs and figure out how to build all the various ...
  • Re: FreeBSD as a VPN Client Gateway ...
    ... I tried to compile ipsec-tools with 6.1-PRERELEASE natt patched kernel & ... headers and so far, didn't succeed. ... FreeBSD), as it just detects NAT-T support in kernel includes, not in ...
  • Re: Where to put the source of kernel ??
    ... needed is for a kernel module compile to be able to find the *dev* headers. ... The kernel headers have *about* the same ABI, but they are what you need to compile a kernel module with. ...
  • Re: State of userland headers
    ... to get changes of this nature into glibc in particular, ... If the headers ... the kernel. ... This would mean that the kabi headers have no ...