/usr/include/linux 랑 asm 디렉토리좀 주세요

jyj9782의 이미지

안녕하세요..

이거 난감하게 됐네요..

제가 데비안 우디를 쓰는데요..

gcc 버전이..

root@testbed:/usr/include# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
root@testbed:/usr/include# 

인데요..

/usr/include/asm 디렉토리랑
/usr/include/linux 디렉토리를 링크를 걸었다가 실수로
날린 모양입니다 ^^;

커널을 컴파일하려는데, 어디서 저 헤드 디렉토리통째로 구할수 있을까요?

gcc 풀어도 없는거 같고, 혹시 같은 버전 가지고 있으신분 계시면..

압축해서 좀 올려주시겠어요 ?

아님, 받을수 있는곳을 좀 알려주세요.. 부탁드립니다..;

에고 커널 =.= 컴파일 해보려다.. 하루종일 뺑이치네요

eungkyu의 이미지

libc6-dev 패키지에 속해있는 디렉토리이니 이 패키지를 다시 깔면 될거 같네요.

jyj9782의 이미지

감사합니다

힘내세요.

jyj9782의 이미지

해보니까요.. /usr/include/linux 랑 asm 은 설치가 안되네요. 역시 ^^:

근데 컴파일은 제대로 되어가는것 같아요..

아무래도 원래 없던건가보죠 ?

커널소스에 include 안에만 있는건가요? 이것좀 확인해주시겠어요 ? thx~ for you regards..

힘내세요.

eungkyu의 이미지

jyj9782 wrote:
해보니까요.. /usr/include/linux 랑 asm 은 설치가 안되네요. 역시 ^^:

근데 컴파일은 제대로 되어가는것 같아요..

아무래도 원래 없던건가보죠 ?

커널소스에 include 안에만 있는건가요? 이것좀 확인해주시겠어요 ? thx~ for you regards..

$ dpkg -S /usr/include/asm/a.out.h

이걸 해보면 확실히 알 수 있을텐데 분명 libc6-dev에 있거든요. unstable일 경우에는 linux-kernel-headers에 있습니다. (아마 testing도 그렇겠죠.) 얼마전에 패키지가 분리된거 같더군요.

다시 깔면 파일이 깔려야 할텐데. 왜 안깔릴까요?

$ apt-get install --reinstall libc6-dev
또는
$ apt-get install --reinstall linux-kernel-headers

다시한번 해보세요 :)

jyj9782의 이미지

앙 =.= 일찍좀 알려주시지.. 흑흑 dselect 로 안되서 찾다가 gcc 업그레이드하려다.. apt 패키지도 지워지고.. 날리에요..짜증 =.=

힘내세요.

댓글 달기

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