도움 감사합니다. ^^
: : 커널 컴파일시 발생된 에러입니다. 이전에도 문의 드렸었는데
: : 해결되지 않아서 다시 올립니다. 어떻게해야할지... 막막하네요
: : 도움 부탁합니다.
: : [root@cri linux]# make -s bzImage
: : dnotify.c: In function `__inode_dir_notify':
: : dnotify.c:139: warning: label `out' defined but not used
: : namespace.c: In function `mnt_init':
: : namespace.c:1093: warning: implicit declaration of function
: : `init_rootfs'
: : setup.c: In function `amd_adv_spec_cache_feature':
: : setup.c:751: warning: implicit declaration of function `have_cpuid_p'
: : setup.c: At top level:
: : setup.c:2629: warning: `have_cpuid_p' was declared implicitly `extern'
: : and later `static'
: : setup.c:751: warning: previous declaration of `have_cpuid_p'
: : dmi_scan.c:196: warning: `disable_ide_dma' defined but not used
: : init/main.o: In function `check_fpu':
: : init/main.o(.text.init+0x63): undefined reference to
: : `__buggy_fxsr_alignment'
: : make: *** [vmlinux] Error 1
: : [root@cri linux]#
:
: 커널 컴파일 옵션을 조정해주셔야 겠습니다.
: ( make menuconfig, make xconfig 에서 )
:
: 저도 자세하게는 모르겠지만 위의 2가지는 File System 에서
: ( Mount 와 Root Filesystem 에 관련 ?)
:
: setup.c 와 관련있는 아래는 프로세서 관련 옵션을 바꿔보시죠.
: ( Processor type and features 항목 )
:
: AMD 를 사용하시다면 Processor Type 를 AMD (Athlon/K7)로 설정하고
: cpuid 사용하지 않기 설정 ( =사용하기를 해제 )
: Math Emulation 설정 해제 (예전에 FPU 를 Co-Proccesor 로 사용할 때 사용)
:
: 그리고 하드디스크의 DMA 를 사용하지 않으시면 하드의 속도가 매우 느립니다
: ( disable_ide_dma 부분 )
: 이것은 ATA/IDE/MFM/RLL support 항목에서 설정
:
: 보다 자세한 커널 컴파일 옵션은
:
: http://kldp.org/KoreanDoc/html/Kernel-KLDP/ :
: 에서 읽어보세요.
: 비록 2.4.19 버젼의 커널이지만 한글로 설명되어 있으니
: 차분히 읽고 이해하시기 바랍니다.
:
: 위 문서의 각 세부사항은
: http://kldp.org/KoreanDoc/html/Kernel-KLDP/specprocessor.html : http://kldp.org/KoreanDoc/html/Kernel-KLDP/specata.htm
: l : http://kldp.org/KoreanDoc/html/Kernel-KLDP/specide.html : 입니다.
: 문서전체를 다 읽어 보셔야합니다.
: ( 저는 커널 컴파일 할 때마다 다시 읽어봅니다. 그래도 잘 안되는
: 부분이 많더라고요.. )
:
: Read The Fine Manual !