| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 20871 | 2002-06-13 05:28:00 | Error in compiling kernel process | Guest (0) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 54167 | 2002-06-13 05:28:00 | Hi, To create Firewall under Linux, I download iptables-1.2.4.tar.bz2 ( to upgrade iptables ) and linux-2.4.16.tar.gz ( to compile kernel linux again). After unpack, I follow steps: 1.Attach functions of iptables-1.2.4 to kernel: > make pending-patches KERNEL_DIR=/usr/src/linux 2.And append new functions: > make patch-o-matic KERNEL_DIR=/usr/src/linux 3.Compile iptables: > make KERNEL_DIR=/usr/src/linux > make install KERNEL_DIR=/usr/src/linux 4. Compile Kernel and its modules: > make menuconfig Choose all of function in: Network Option - > Netfilter Configuration. 5. Exit menu and compile: > make dep; > make clean; > make bzImage; (tat ca deu OK) But when I type command: > make modules then error appeared: make[2]: *** [ip_conntrack_proto_tcp.o] Error 1 make[2]: Leaving directory /usr/src/linux/net/ipv4/netfilter' make[1]: *** [_modsubdir_ipv4/netfilter] Error 2 make[1]: Leaving directory /usr/src/linux/net/' make: *** [_mod_net] Error 2 I do not know how to solve, Help me...! Thanh hai - T.T.Hue |
Guest (0) | ||
| 54168 | 2002-06-14 05:50:00 | I would normally use the order 'make clean' then 'make dep'. Might not matter, but worth a try. Have you read the Kernel-HOWTO? If not, at least have a look at Kernel-HOWTO-2.html. I *think* that the Error 1 from make means 'file not found'. Are the files there? 'find /usr/src/linux -name filename.o' ... If this is your first go at kernel compiling, don't be discouraged. It can be nasty. RedHat 7.1 as distributed would not compile the kernel. I fought it for a while before I could make it work. |
Guest (0) | ||
| 54169 | 2002-06-14 10:24:00 | (Thank letter) Graham Lees, I received your respond, thank you very much! Thanh Hai - T.T.Hue |
Guest (0) | ||
| 1 | |||||