우분투에서 커널 소스 위치가..

plob의 이미지

checking for kernel version...
The file /usr/src/linux/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

breezy를 설치했더니 다른 것은 다 잘 잡히는데 사운드가 안잡히더군요.
그래서 드라이버를 받아와서 설치하려고 하니 저런 에러 메세지가 뜹니다.
sudo ./configure --with-kernel=커널 소스 위치
를 적어주라고 하는 것 같은데.. /usr/src 밑으로는 아무것도 없네요.
커널 전체 소스를 다시 /usr/src/linux에 받아서 풀어놓아야 되는 건지 궁금합니다.

daybreak의 이미지

plob wrote:
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

breezy를 설치했더니 다른 것은 다 잘 잡히는데 사운드가 안잡히더군요.
그래서 드라이버를 받아와서 설치하려고 하니 저런 에러 메세지가 뜹니다.
sudo ./configure --with-kernel=커널 소스 위치
를 적어주라고 하는 것 같은데.. /usr/src 밑으로는 아무것도 없네요.
커널 전체 소스를 다시 /usr/src/linux에 받아서 풀어놓아야 되는 건지 궁금합니다.

ubuntu breezy도 debian처럼 kernel-headers 패키지가 따로 존재하는지 모르겠습니다. 저것이 존재하면 저것을 설치하고 진행해 보시고, 그래도 안되면 요구하는 것처럼 커널 소스 전체를 설치해야 할 것 같습니다.

ubuntu를 써본적이 없어서 잘은 모르겠는데, debian과 비슷하다면 현재 설치된 커널 이미지의 설정이 들어있는 kernel-headers와 kernel-source 패키지 같은 것들이 있을겁니다. 이 패키지들을 설치하시고 --with-kernel= 옵션에 저것이 설치된 위치를 지정하시면 되겠습니다.

랜덤여신의 이미지

아키텍처에 맞는 리눅스 커널 헤더를 설치하세요.
예를 들어 제 시스템은 linux-headers-686 이네요.

plob의 이미지

답변 감사드립니다.
패키지를 찾아서 설치했구요. 다시 configure하니 이번에는 gcc버전이 안맞다고 하는군요. 사용해야 하는 것은 4.0.1인데 제가 시냅틱으로 4.0.2를 설치해서 그런 것 같습니다.
여기서 4.0.1로 다시 gcc를 바꿔주거나 다른 방법이 있습니까? ^^;

plob wrote:

checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for built-in ALSA... "yes"
configure: error: You have built-in ALSA in your kernel.

Prentice의 이미지

ALSA를 설치하시려는 것이면 아마도 ALSA 패키지로 해결이 가능할 것 같습니다.

랜덤여신의 이미지

음?
혹시 ALSA 를 설치하려고 하신 건가요?
커널 2.6 부터는 ALSA 가 커널 안에 내장되어 있어서 필요 없습니다.

plob의 이미지

아.. 실은 사운드가 안나와서요.
멀티미디어 시스템 설정 프로그램에 보니 ALSA, ESD, OSS 등이 있긴한데 어떤 것을 골라도 전혀 음악이 나오질 않네요..
기껏 생각해본 것이 ALSA를 새로 설치해보자.. 는 거였죠 :cry:
패키지 관리자로 보니 alsa-base와 alsa-utils가 깔려있군요.
사운드 기본 설정에는 기본 사운드 카드가 HDA Intel로 되어 있고 요것 하나만 있네요.

랜덤여신의 이미지

killall -9 esd 하신 후에 다시 시도해보세요.

또는, http://usr.gentoo.or.kr/forum/read.php?table=tip&no=3345 이 글을 따라해보세요.

(아마 해결이 안 될 가능성이 높을 것 같지만;; )

danskesb의 이미지

인텔 HDA로 잡히면 여기를 참고하세요.

http://ubuntu.or.kr/wiki.php/HDADriverInstall

참고로 시냅틱 등에서 Alsa로 검색해 보셔서 버전 정보도 확인해 보세요.

golden의 이미지

제 블로그에 가시면 우분투에서의 mplayer and mplayerplug-in 설치요령이 있습니다. 저도 그대로 해서 해결하였습니다.

songkuk.ivyro.net/tt/

Prentice의 이미지

http://www.alsa-project.org/changes/v1-0-8--v1-0-9.txt

저기 보니 1.0.9의 snd-hda-intel는 1.0.8에서는 snd-azx였다고 나오는데요?

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.