You are not logged in.

#1 2008-04-19 06:42:59

krisvek
Member
Registered: 2008-04-19
Posts: 20

compiling 2.6.25, a problem

I have been wanting to compile my own kernel for a while, but since 2.6.25 was so near, I decided to wait for it.  That said, 2.6.25 is now out, so I got to configuring and compiling.

Anyone know what I need to do to rectify this error?  Could it be a dependency issue (couldn't find a list of dependencies for compiling this kernel), or is it perhaps a bug on the file mentioned in the error?

CC [M]  net/ipv4/netfilter/ipt_ecn.o
net/ipv4/netfilter/ipt_ecn.c: In function 'set_ect_ip':
net/ipv4/netfilter/ipt_ecn.c:33: error: 'IPT_DSCP_MASK' undeclared (first use in this function)
net/ipv4/netfilter/ipt_ecn.c:33: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ipt_ecn.c:33: error: for each function it appears in.)
net/ipv4/netfilter/ipt_ecn.c: In function 'ecn_tg_check':
net/ipv4/netfilter/ipt_ecn.c:111: error: 'IPT_DSCP_MASK' undeclared (first use in this function)
make[3]: *** [net/ipv4/netfilter/ipt_ecn.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
==> ERROR: Build Failed.
    Aborting...

Offline

#2 2008-04-21 11:27:07

_nalle
Member
From: Stockholm/Sweden
Registered: 2006-01-11
Posts: 70
Website

Re: compiling 2.6.25, a problem

Don't beat me if I'm wrong on this one, got no sources to colaborate this.

I remember something about the later kernels not compiling with gcc 4.3.0.
I'd recommend you check your gcc version (gcc -v) and if it's 4.3.0 try upgrading it to 4.4.0.

Not sure if there is a release in the archlinux repositories. Can't find any updates on mine anyways.
Hope it helps in some way though.


Swedish Archlinux Mirror Administrator - ftp.gigabit.nu

Offline

#3 2008-04-21 11:57:28

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: compiling 2.6.25, a problem

It's kernel 2.6.24 (and older) that needs the gcc 4.3 patch, to be "reliable". Kernel 2.6.25 already includes this patch.

Want to be bleeding-edge, outside of the farcical "KISS" arrangement where make menuconfig fails on the installed kernel? Run upgradekernel, then compilekernel, and here's alsa-driver-checkout if you want the Mercurial ALSA (which didn't compile last time I tried, so it's safer to exclude it).

The scripts include some waffle, but the waffle includes some interesting links, so I've kept them as-is smile

Edit: Added "and older"

Last edited by brebs (2008-04-21 12:01:38)

Offline

#4 2008-04-21 13:45:29

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: compiling 2.6.25, a problem

brebs wrote:

Want to be bleeding-edge, outside of the farcical "KISS" arrangement where make menuconfig fails on the installed kernel?

I guess somebody already told you this, but we do not install a full kernel source with Arch, thus make menuconfig and similar won't work with it. Download the full source if you want to configure/compile things.

Offline

#5 2008-04-21 13:49:17

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: compiling 2.6.25, a problem

assuming that you have vanilla 2.6.25
check if "ecn" match support and ECN target support are set
otherwise it builds fine.

not sure what these scripts (upgradekernel and compilekernel) have to do with iptables problems. Not to mention that there is no point for some of the patches to be added.

Last edited by broch (2008-04-21 13:51:03)

Offline

#6 2008-04-21 17:46:11

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: compiling 2.6.25, a problem

kernel 2.6.25 in now in testing. You could use the config file as starting point.

Last edited by kishd (2008-04-21 17:51:02)


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#7 2008-04-22 06:52:42

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: compiling 2.6.25, a problem

has anyone tried to enable the stackprotector?
I've found after some googleing that my issue with the stackprotector is a known "bug" on some distro...i've tried to patch the file /kernel/panic.c as suggested by Ingo Molnar by anything changed.
The problem is that after having correctly booted my system is unstable and goes very often in kernel panic - not syncing...
I'm trying different configurations but up to know nothing changed.

Offline

Board footer

Powered by FluxBB