Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-20-2009, 06:32 AM   #1
LQ Newbie
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
kernel compilation for to enable ip_divert using iptables

hi, i am very new to network programming. i have linux(kernel 2.6.29) fedora 11 installed on me system. i have tried to compile linux kernel after adding IP_DIVERT patch to enable diversion of packets through iptables so i could run the command:

iptables -A FORWARD -i eth1 -j DIVERT --div-port 1

but while configuring kernel- and running command "make" i got the following warnings and errors:

[root@faiza linux-]# make
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
dnsdomainname: Unknown host
CHK usr/initramfs_list
CC arch/i386/kernel/semaphore.o
In file included from include/asm/mpspec.h:6,
from include/asm/smp.h:19,
from include/linux/smp.h:20,
from include/linux/sched.h:27,
from arch/i386/kernel/semaphore.c:17:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
{standard input}: Assembler messages:
{standard input}:8817: Error: can't resolve `.sched.text' {.sched.text section} - `.Ltext0' {.text section}
make[1]: *** [arch/i386/kernel/semaphore.o] Error 1
make: *** [arch/i386/kernel] Error 2

i have followed the instructions from the following link for kernel compilation:

kindly help me to resolve these errors.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables, enable rdp only srs2000 Linux - Newbie 5 07-16-2009 10:34 AM
Fedora: which packages are needed to enable source compilation ? arijit_2404 Fedora 6 06-11-2008 01:25 PM
Kernel Compilation and Iptables Issues Peter_APIIT Linux - Kernel 6 08-02-2007 04:46 AM
iptables- enable davidhk Linux - Security 2 09-04-2005 03:43 PM
how do I enable logging in iptables for FC2? alizard Linux - Security 5 03-06-2005 06:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration