menuconfig 실행시 에러

shadowi의 이미지

페도라 5를 설치하고 난 뒤
바로 2.6.18 커널 컴파일을 위해 menuconfig를 실행하니까
다음과 같은 에러 메세지가 뜨고 난 뒤 menuconfig가 실행되네요
menuconfig는 정상적으로 설정하고 난뒤 종료된 것 같네요
왜 이런 에러메세지가 뜨는건지 모르겠네요 컴파일에서 무슨 문제가 생기는 것은 아닌지 알고싶습니다. 꼭좀 답변부탁드립니다
2.6.18 커널 컴파일이 안되서 정말 미치겠네요
그냥 기본설정에서 cpu 타입을 펜티엄 4로 설정하고 ntfs파일시스템 추가한것 뿐인데 왜 컴파일이 안되는지 참 답답합니다.

----에러메세지----

[root@shadowi linux-2.6.18]# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/mconf
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/lxdialog.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/msgbox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTLD scripts/kconfig/lxdialog/lxdialog
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in /boot/config-2.6.15-1.2054_FC5smp
#
/boot/config-2.6.15-1.2054_FC5smp:53:warning: trying to assign nonexistent symbo l CC_ALIGN_FUNCTIONS
/boot/config-2.6.15-1.2054_FC5smp:54:warning: trying to assign nonexistent symbo l CC_ALIGN_LABELS
/boot/config-2.6.15-1.2054_FC5smp:55:warning: trying to assign nonexistent symbo l CC_ALIGN_LOOPS
/boot/config-2.6.15-1.2054_FC5smp:56:warning: trying to assign nonexistent symbo l CC_ALIGN_JUMPS
/boot/config-2.6.15-1.2054_FC5smp:61:warning: trying to assign nonexistent symbo l OBSOLETE_INTERMODULE
/boot/config-2.6.15-1.2054_FC5smp:69:warning: trying to assign nonexistent symbo l OBSOLETE_MODPARM
/boot/config-2.6.15-1.2054_FC5smp:72:warning: trying to assign nonexistent symbo l MODULE_SIG
/boot/config-2.6.15-1.2054_FC5smp:73:warning: trying to assign nonexistent symbo l MODULE_SIG_FORCE
/boot/config-2.6.15-1.2054_FC5smp:99:warning: trying to assign nonexistent symbo l X86_XEN
/boot/config-2.6.15-1.2054_FC5smp:150:warning: trying to assign nonexistent symb ol SMP_ALTERNATIVES
/boot/config-2.6.15-1.2054_FC5smp:168:warning: trying to assign nonexistent symb ol SWIOTLB
/boot/config-2.6.15-1.2054_FC5smp:307:warning: trying to assign nonexistent symb ol PCI_GOXEN_FE
/boot/config-2.6.15-1.2054_FC5smp:316:warning: trying to assign nonexistent symb ol PCI_LEGACY_PROC
/boot/config-2.6.15-1.2054_FC5smp:506:warning: trying to assign nonexistent symb ol IP_NF_MATCH_MULTIPORT
/boot/config-2.6.15-1.2054_FC5smp:511:warning: trying to assign nonexistent symb ol IP_NF_MATCH_AH_ESP
/boot/config-2.6.15-1.2054_FC5smp:516:warning: trying to assign nonexistent symb ol IP_NF_MATCH_POLICY
/boot/config-2.6.15-1.2054_FC5smp:554:warning: trying to assign nonexistent symb ol IP6_NF_MATCH_MULTIPORT
/boot/config-2.6.15-1.2054_FC5smp:557:warning: trying to assign nonexistent symb ol IP6_NF_MATCH_AHESP
/boot/config-2.6.15-1.2054_FC5smp:559:warning: trying to assign nonexistent symb ol IP6_NF_MATCH_POLICY
/boot/config-2.6.15-1.2054_FC5smp:607:warning: trying to assign nonexistent symb ol IP_DCCP_UNLOAD_HACK
/boot/config-2.6.15-1.2054_FC5smp:802:warning: trying to assign nonexistent symb ol TUX
/boot/config-2.6.15-1.2054_FC5smp:807:warning: trying to assign nonexistent symb ol TUX_EXTCGI
/boot/config-2.6.15-1.2054_FC5smp:808:warning: trying to assign nonexistent symb ol TUX_EXTENDED_LOG
/boot/config-2.6.15-1.2054_FC5smp:809:warning: trying to assign nonexistent symb ol TUX_DEBUG
/boot/config-2.6.15-1.2054_FC5smp:872:warning: trying to assign nonexistent symb ol MTD_CFI_AMDSTD_RETRY
/boot/config-2.6.15-1.2054_FC5smp:910:warning: trying to assign nonexistent symb ol MTD_BLKMTD
/boot/config-2.6.15-1.2054_FC5smp:1018:warning: trying to assign nonexistent sym bol DISKDUMP
/boot/config-2.6.15-1.2054_FC5smp:1196:warning: trying to assign nonexistent sym bol SCSI_SYM53C8XX_IOMAPPED
/boot/config-2.6.15-1.2054_FC5smp:1204:warning: trying to assign nonexistent sym bol SCSI_QLA2XXX_EMBEDDED_FIRMWARE
/boot/config-2.6.15-1.2054_FC5smp:1205:warning: trying to assign nonexistent sym bol SCSI_QLA21XX
/boot/config-2.6.15-1.2054_FC5smp:1206:warning: trying to assign nonexistent sym bol SCSI_QLA22XX
/boot/config-2.6.15-1.2054_FC5smp:1207:warning: trying to assign nonexistent sym bol SCSI_QLA2300
/boot/config-2.6.15-1.2054_FC5smp:1208:warning: trying to assign nonexistent sym bol SCSI_QLA2322
/boot/config-2.6.15-1.2054_FC5smp:1209:warning: trying to assign nonexistent sym bol SCSI_QLA6312
/boot/config-2.6.15-1.2054_FC5smp:1210:warning: trying to assign nonexistent sym bol SCSI_QLA24XX
/boot/config-2.6.15-1.2054_FC5smp:1244:warning: trying to assign nonexistent sym bol MD_RAID5
/boot/config-2.6.15-1.2054_FC5smp:1245:warning: trying to assign nonexistent sym bol MD_RAID6
/boot/config-2.6.15-1.2054_FC5smp:1590:warning: trying to assign nonexistent sym bol NETDUMP
/boot/config-2.6.15-1.2054_FC5smp:1840:warning: trying to assign nonexistent sym bol SERIAL_8250_ACPI
/boot/config-2.6.15-1.2054_FC5smp:1861:warning: trying to assign nonexistent sym bol CRASH
/boot/config-2.6.15-1.2054_FC5smp:1926:warning: symbol value 'm' invalid for HW_ RANDOM
/boot/config-2.6.15-1.2054_FC5smp:2030:warning: trying to assign nonexistent sym bol SENSORS_RTC8564
/boot/config-2.6.15-1.2054_FC5smp:2032:warning: trying to assign nonexistent sym bol RTC_X1205_I2C
/boot/config-2.6.15-1.2054_FC5smp:2048:warning: trying to assign nonexistent sym bol W1_MATROX
/boot/config-2.6.15-1.2054_FC5smp:2049:warning: trying to assign nonexistent sym bol W1_DS9490
/boot/config-2.6.15-1.2054_FC5smp:2050:warning: trying to assign nonexistent sym bol W1_DS9490_BRIDGE
/boot/config-2.6.15-1.2054_FC5smp:2051:warning: trying to assign nonexistent sym bol W1_THERM
/boot/config-2.6.15-1.2054_FC5smp:2052:warning: trying to assign nonexistent sym bol W1_SMEM
/boot/config-2.6.15-1.2054_FC5smp:2053:warning: trying to assign nonexistent sym bol W1_DS2433
/boot/config-2.6.15-1.2054_FC5smp:2054:warning: trying to assign nonexistent sym bol W1_DS2433_CRC
/boot/config-2.6.15-1.2054_FC5smp:2158:warning: trying to assign nonexistent sym bol VIDEO_AUDIO_DECODER
/boot/config-2.6.15-1.2054_FC5smp:2159:warning: trying to assign nonexistent sym bol VIDEO_DECODER
/boot/config-2.6.15-1.2054_FC5smp:2334:warning: trying to assign nonexistent sym bol FB_RADEON_OLD
/boot/config-2.6.15-1.2054_FC5smp:2557:warning: trying to assign nonexistent sym bol OBSOLETE_OSS_USB_DRIVER
/boot/config-2.6.15-1.2054_FC5smp:2597:warning: trying to assign nonexistent sym bol USB_MTOUCH
/boot/config-2.6.15-1.2054_FC5smp:2598:warning: trying to assign nonexistent sym bol USB_ITMTOUCH
/boot/config-2.6.15-1.2054_FC5smp:2599:warning: trying to assign nonexistent sym bol USB_EGALAX
/boot/config-2.6.15-1.2054_FC5smp:2664:warning: trying to assign nonexistent sym bol USB_SERIAL_ANYDATA
/boot/config-2.6.15-1.2054_FC5smp:2806:warning: trying to assign nonexistent sym bol XFS_EXPORT
/boot/config-2.6.15-1.2054_FC5smp:2854:warning: trying to assign nonexistent sym bol RELAYFS_FS
/boot/config-2.6.15-1.2054_FC5smp:2878:warning: trying to assign nonexistent sym bol SQUASHFS
/boot/config-2.6.15-1.2054_FC5smp:2879:warning: trying to assign nonexistent sym bol SQUASHFS_EMBEDDED
/boot/config-2.6.15-1.2054_FC5smp:2880:warning: trying to assign nonexistent sym bol SQUASHFS_FRAGMENT_CACHE_SIZE
/boot/config-2.6.15-1.2054_FC5smp:2881:warning: trying to assign nonexistent sym bol SQUASHFS_VMALLOC
/boot/config-2.6.15-1.2054_FC5smp:3024:warning: trying to assign nonexistent sym bol BOOT_DELAY
/boot/config-2.6.15-1.2054_FC5smp:3086:warning: trying to assign nonexistent sym bol CRYPTO_SIGNATURE
/boot/config-2.6.15-1.2054_FC5smp:3087:warning: trying to assign nonexistent sym bol CRYPTO_SIGNATURE_DSA
/boot/config-2.6.15-1.2054_FC5smp:3088:warning: trying to assign nonexistent sym bol CRYPTO_MPILIB
/boot/config-2.6.15-1.2054_FC5smp:3116:warning: trying to assign nonexistent sym bol X86_SYSENTER
#
# configuration written to /data/.config
#
#
# configuration written to .config
#

*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

[root@shadowi linux-2.6.18]#

warpdory의 이미지

일단 위에 ...
HOSTCC stripts .. 어쩌구 나오는 건 ... 말 그대로 menuconfig 를 하기 위해서 필요한 것을 컴파일하는 등의 준비를 한다는 얘깁니다. 에러 메시지 아닙니다.
그리고 ... 밑에 나오는 warning 도 .. 에러메시지라기 보다는 일종의 경고 또는 알림 메시지입니다. 그냥 이렇게 했다.. 정도이지요.

마지막에 나온

Quote:
# configuration written to .config
#

*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

[root@shadowi linux-2.6.18]#


로 봐서 ... 일단 make menuconfig 는 제대로 되었고...
이제 남은 것은
make .. 를 실행시커서 커널을 빌드하고 ..
또 make modules 를 해서 모듈로 컴파일 하라고 한 것을 빌드한 후.
make modules_install 을 실행시켜서 make modules 로 모듈 컴파일 한 것을 설치하도록 하면 됩니다.

그 뒤에는 /boot/grub/menu.lst 파일이나 /etc/lilo.conf 파일 - 어떤 걸 쓰시는지 모르기 때문에 둘다 적었습니다. - 을 고쳐서 지금 컴파일한 커널로 부팅하게 설정하면 됩니다.

대충 커널 컴파일 순서는 ...

1. http://kernel.org 또는 각 배포판 사이트에서 받은 커널 소스의 압축을 푼다.
- 일반적으로 /usr/src 밑에서 압축을 풀어서 /usr/src/linux-2.6.18-fc5-i386 뭐 이런 식으로 디렉터리가 생깁니다. linux-2.6.18 ... 이건 커널 버전과 배포판에 따라서 다 다릅니다.

2. 커널 소스 디렉터리의 심볼릭 링크를 만든다.
- 위의 경우 ln -s /usr/src/linux-2.6.18-fc5-i386 /usr/src/linux ... 이런 식으로 /usr/src/linux 에 링크되도록 합니다. 이렇게 하는 이유는 별로 특별한 건 없고.. 일종의 관습입니다. /home/warpdory/src/linux-2.6.18-fc5-i386 에서 해도 별 상관은 없습니다만 ... 간혹 몇몇 커널 패치의 경우 /usr/src/linux 를 기본으로 가정하기 때문에 /usr/src/linux 로 잡는 게 편합니다. 물론, 기존에 /usr/src/linux 디렉터리가 있었다면 지워주거나 나중에 필요할 것 같으면 이름을 바꿔주는 게 좋습니다.

3. 커널 설정을 합니다.
- /usr/src/linux 밑으로 들어가서 make menuconfig 또는 make xconfig 정도를 실행시켜서 .. 커널 설정을 합니다. CPU 잡고, 자신에게 맞는 하드웨어 설정하고 등등...

4. 커널을 컴파일 합니다.
- make ... 또는 make bzImage 정도면 됩니다. 커널 버전마다 약간씩 다르므로 /usr/src/linux/Documentation(대문자였나 ...) 밑에 있는 Changelog 또는 Changes 정도는 읽어 볼 필요가 있습니다. make install 이 되는 배포판도 있고 아닌 배포판도 있습니다. make install 하면 /boot 로 커널 파일을 복사해 주기도 합니다. 안되는 경우라면 보통 /usr/src/linux/arch 밑에 있는 디렉터리로 가서 자신이 선택한 하드웨어(보통 i386 이나 i586, i686 ... AMD64 를 쓰면 또 그것에 따라 다른 디렉터리가 생깁니다.)의 디렉터리로 가서 boot 디렉터리로 다시 들어가면 vmlinuz 비슷한 이름의 파일이 있을텐데, 이것을 /boot 에 복사해주면 됩니다. 물론... 이게 자동으로 되는 배포판도 있고, 다 수동으로 해줘야 하는 배포판도 있습니다. 페도라는 제가 안 쓰기 때문에 잘 모르겠습니다.

5. 커널 모듈을 컴파일 합니다.
- make modules

6. 커널 모듈을 설치합니다
- make modules_install 로 설치하고 /lib/modules 밑에 커널 버전으로 디렉터리 이름이 하나 생기고 그 안에 커널 모듈들이 우루루 들어가게 됩니다.

7. 부트 매니저를 설정합니다.
- grub 이나 lilo 에서 지금 만든 커널로 부팅할 수 있도록 설정합니다. grub 이나 lilo 관련 자료를 찾아 보시면 됩니다. 페도라면 grub 을 사용하는 것으로 알고 있습니다.

8. 리부팅한다.

9. 리부팅한 뒤에 설정했던 게 제대로 됐는지 확인한다.

10. 제대로 됐다면 그냥 쓰고, 제대로 안 됐다면 3. 번으로 되돌아가서 뭔가 빼먹었는지, 아니면 설정만 하고 저장은 안했는지.. 등을 확인하고 다시 시도한다.

....... 이 정도 입니다.

---------
귓가에 햇살을 받으며 석양까지 행복한 여행을...
웃으며 떠나갔던 것처럼 미소를 띠고 돌아와 마침내 평안하기를...
- 엘프의 인사, 드래곤 라자, 이영도

즐겁게 놀아보자.
http://akpil.egloos.com


---------
귓가에 햇살을 받으며 석양까지 행복한 여행을...
웃으며 떠나갔던 것처럼 미소를 띠고 돌아와 마침내 평안하기를...
- 엘프의 인사, 드래곤 라자, 이영도

즐겁게 놀아보자.

orangecrs의 이미지

커널 컴파일에서 기본적으로 배포판정책에 의해 설정파일을
/boot/config-2.6.15-1.2054_FC5smp
로 사용하는데 2.1.18로 넘어 가면서 기존 설정파일에 없는 파라메터를 표시한겁니다. 무시해도 되지만 커널 컴파일이 안된다면 버전차가 크기때문에 /boot/config-2.6.15-1.2054_FC5smp과 /usr/src/.confg을 백업해두시고 삭제후 새로 menuconfig등으로 한번 설정해 주시면 됩니다. 빠지고 새로생긴 것도 많기때문에 커널버전 차이가 많이 나는 경우는 이렇게 해주시는게 좋습니다. 버전에 민감해서 잦은 컴파일의 경우 커널.org에서 직접 컴파일이시라면 Chagelog를, 배포판 형식의 업글이라면 배포판의 로그를 참조하는 수 밖엔없습니다.

---------------------------------------------------
야!...

shadowi의 이미지

답변 고맙습니다 ^^

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.