編譯linux-2.6.20核心出現scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared 錯誤

來源:互聯網
上載者:User

Gentoo Full Text Bug Listing

Bug 226169 - xen-sources doesn't
compile
Bug#: 226169 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: NEEDINFO Assigned To: bug-wranglers@gentoo.org Reported By: sahil@sahilcooner.com
Component: Ebuilds  
URL: 
Summary: xen-sources doesn't compile
Keywords:  
Status Whiteboard: 
Opened: 2008-06-13 05:54 0000

:   Opened: 2008-06-13 05:54 0000
xen-sources 2.6.21-xen doesn't compile with ACCEPT_KEYWORDS=~amd64Reproducible: AlwaysSteps to Reproduce:1.make2.3.Actual Results:  HOSTCC scripts/mod/sumversion.oscripts/mod/sumversion.c: In function ‘get_src_version’:scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared (first use inthis function)scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reportedonly oncescripts/mod/sumversion.c:384: error: for each function it appears in.)scripts/mod/sumversion.c:384: warning: unused variable ‘filelist’make[3]: *** [scripts/mod/sumversion.o] Error 1make[2]: *** [scripts/mod] Error 2make[1]: *** [scripts] Error 2make[1]: Leaving directory `/home/david/Download/uClinux-dist/linux-2.6.x'make: *** [linux] Error 1Expected Results:  compile the xen kernelmodifying linux-2.6.x/scripts/mod/sumversion.c, and adding #include <limits.h>fixes this issue.
原文連結: http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=226169

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.