본문 바로가기

Linux

Linux kernel 3.x Compile Error (ipt_MASQUERADE, iptable_nat, nf_nat)

Linux 3.7 kernel compile 도중 

make moduiles_install 에서 아래와 같은 오류가 발생했다.


ERROR: modinfo: could not find module iptable_nat

ERROR: modinfo: could not find module nf_nat

ERROR: modinfo: could not find module ipt_MASQUERADE


이는 make menuconfig 에서


Networking support -->

Networking options -->

Networking packet filtering framework (Netfilter) -->

IP: Netfilter Congifuration -->


IPv4 NAT                                  

MASQUERADE target support       

NETMAP target support

REDIRECT target support

Basic CNMP-ALG support


5개를 M으로 체크하시면 해결된다.

(실제로 다 필요하지는 않을것 같음, 맨 위 2개 옵션만 체크해도 가능할 듯)


이후 make all 부터 다시 차례대로 하면 성공.


p.s : maks all이 시간이 많이 걸릴 경우 -j (core수) 옵션을 주면 더 빠르게 컴파일 된다.

ex ) make all -j 8   (8 core)

'Linux' 카테고리의 다른 글

nfs-utils source 설치  (0) 2013.08.05
CentOS Kernel 3.7 Compile  (0) 2013.07.12
cscope 에서 vim syntax 기능이 안될때  (0) 2013.07.09
Eclipse와 SVN Server 설치  (0) 2013.07.02
윈도우에서 xming 사용하여 리눅스 GUI 접속  (0) 2012.12.12