LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-07-2005, 09:01 PM   #1
mikfig
LQ Newbie
 
Registered: Nov 2004
Distribution: Suse 9.2
Posts: 18

Rep: Reputation: 0
Upgrading from iptables 1.3.3 to 1.3.4


Recently I've tried to upgrade to iptables 1.3.4 from 1.3.3. The first thing I tried was using the upgrade file available from their site,
filename: patch-iptables-1.3.3-1.3.4. I had no idea how to run that patch and there was no RPMs available since this version is only about a week or so old. So then I decided to install it using make, which I'm usually very unlucky with. So I ran make as instructed in the INSTALL file in the iptables-1.3.4 tar file:

"FOLLOW THESE STEPS:

1) Make the package.
% make KERNEL_DIR=<<where-you-built-your-kernel>>

2) Finally, you need to to install the shared libraries, and the binary:
# make install KERNEL_DIR=<<where-you-built-your-kernel>>"

when I did the first step I got this output:

# make KERNEL_DIR=/usr/src/linux
Making dependencies: please wait...
Something wrong... deleting dependencies.
make: *** [linux/autoconf.h] Error 1

I have no idea what this error means but I checked the file it mentioned and it isnt in my kernel source folder (autoconf.h). So I downloaded the latest kernel and checked if my version of make was up to date. Then I tried the command again and it gave me the same error message.

If these details help I was using kernel source linux-2.6.14 from
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ and I am currently running SuSE Linux 10.0 Retail.

Any help would be apprectiated,
n00b mikfig
 
Old 11-08-2005, 07:19 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
First make sure the following kernel source exist.

If there is no /usr/src/linux****** then you need to download the source of the matching kernel. You can get the kernel name from the command ' uname -r '.

If there is a /usr/src/linux****** macthing current kernel and no /usr/src/linux then you can run the command ' ln -s /usr/src/linux<name of kernel here minus<>characters> /usr/src/linux.

Now apply the patch as the instructions apply. Then in /usr/src/linux run the command ' make ', ' make modules_install ' and then ' make install '. If this is a fresh kernel source you will need to configure other settings to match your system or run the command ' make oldconfig '. To build a .config file.

Search this site about building the kernel. Lots of info here about it.

Hope this helps.
Brian1
 
Old 11-13-2005, 06:47 PM   #3
mikfig
LQ Newbie
 
Registered: Nov 2004
Distribution: Suse 9.2
Posts: 18

Original Poster
Rep: Reputation: 0
I tried you advice on compiling my kernel since the folder did exist. So I compiled the kernel using the tut from Linux Headquarters . I did a successful 'make gconfig' when compiling the kernel, and then I ran 'make clean' and 'make dep'. 'make dep' returned this:

*** Warning: make dep is unnecessary now.

I was unsure about this but none the less I moved on and ran 'make zImage', when I ran this everything seemed to be going fine until I got these errors:

CC net/sched/ematch.o
net/sched/ematch.c: In function ‘__tcf_em_tree_match’:
net/sched/ematch.c:475: error: ‘null’ undeclared (first use in this function)
net/sched/ematch.c:475: error: (Each undeclared identifier is reported only once
net/sched/ematch.c:475: error: for each function it appears in.)
net/sched/ematch.c:475: warning: unused variable ‘stack’
make[2]: *** [net/sched/ematch.o] Error 1
make[1]: *** [net/sched] Error 2
make: *** [net] Error 2

I have no idea what these errors mean .

Any help would be appreciated,
Thx MikFig
 
  


Reply


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
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 12:09 PM
upgrading iptables in Slack 10 linuxhippy Slackware 4 03-21-2005 04:52 PM
iptables doesn't like ACCEPT after upgrading to 2.6.10 TruckStuff Linux - Security 5 01-12-2005 04:51 PM
iptables errors since upgrading to RH 8.0 pdibona Linux - Networking 2 02-17-2003 08:53 AM
Upgrading from ipchains to iptables pros Linux - Networking 2 06-25-2001 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:14 PM.

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