gentoo update중 libcap관련 에러

sawa500의 이미지

이번에 gentoo를 업데이트 하는 중에 libcap-2.16 때문에 진행을 못하고 있습니다.

에러 메시지 내용을 보니

/usr/include/asm/sigcontext.h:28 : error: expected specifier-qualifier-list before '__u64'
/usr/include/asm/sigcontext.h:191 : error: expected specifier-qualifier-list before '__u64'

에서 문제가 생기던데 __u64가 정의된 곳을 찾아보니 sigcontext.h의 include file중에 linux/types.h에서 /usr/include/asm-generic/int-ll64.h 를 include시킨 것을 알아냈습니다.

이와 관련해서 비슷한 현상 겪으신분 계신지요.

zz181321의 이미지

커널과 gcc의 버젼이 각각 어떻게 되시나요?
그리고 make.conf의 CFLAGS는 어떻게 설정하셨나요?

제가 설치해보니 아무런 문제 없이 설치 되는군요.

sawa500의 이미지

gcc 버전은 4.3.3 이고 kernel은 2.6.29 입니다.

CFLAGS="-O2 -march=i686 -pipe"

입니다.

zz181321의 이미지

제가 쓰는 커널이 현재 2.6.28이군요.
혹시 젠투 소스로 커널 설치하신거면 바닐라 소스로 설치 해 보시고, 역시 같은 문제가 발생하면
revdep-rebuild를 실행해 보세요.

그래도 해결이 안된다면 2.6.28을 설치해 보시던가, 아니면 조금만 기다리면 곧 2.6.30이 나오니 그때 설치하시는 수 밖에 없을 거 같군요.

한 2년전에 vsftpd에서 비슷한 경우가 있었는데... 커널이 버젼 업 되면서 인클루드하는 부분의 커널 구조가 바뀌는 바람에 컴파일이 안되었었죠.
근데 구글 검색하니 어떤 사람이 만든 패치가 있더군요. 전 그걸 적용해서 vsftpd를 무사히 설치했었습니다.

후에 물론 포티지 메인의 vsftpd에도 패치가 적용되었지요. 패치를 한번 찾아보시는 것도 좋을 거 같습니다.

sawa500의 이미지

감사합니다. sigcontext.h에 int-ll64.h를 include 시키고 컴파일하니 일단 진행은 되네요.

송효진의 이미지

2.6.29 에 fglrx 가 안붙어서 아직 2.6.28 ㅠㅠ

emerge money
http://wiki.kldp.org/wiki.php/GentooInstallSimple - 명령어도 몇 개 안돼요~
http://xenosi.de/

댓글 달기

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