[oe-commits] [Bug 5411] New: Kernel 2.6.17-r2 for netbook-pro compilation fails

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Sat Mar 13 09:31:07 UTC 2010


http://bugs.openembedded.org/show_bug.cgi?id=5411

           Summary: Kernel 2.6.17-r2 for netbook-pro compilation fails
           Product: Openembedded
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: angstrom, oops, patch
          Severity: normal
          Priority: P3
         Component: unspecified
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: ugopiemontese at rudiaelinux.com


I'm trying to build a Angstrom 2008.1 x11-image for my Netbook Pro, but Kernel
compilation fails giving the following output in the shell.

Here you are the log:

NOTE: make include/linux/version.h CC=arm-angstrom-linux-gnueabi-gcc
-march=armv5te -mtune=xscale -mno-thumb-interwork -mno-thumb
LD=arm-angstrom-linux-gnueabi-ld 
  CHK     include/linux/version.h
NOTE: make zImage CC=arm-angstrom-linux-gnueabi-gcc -march=armv5te
-mtune=xscale -mno-thumb-interwork -mno-thumb LD=arm-angstrom-linux-gnueabi-ld 
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  HOSTCC  scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function 'get_src_version':
scripts/mod/sumversion.c:384: error: 'PATH_MAX' undeclared (first use in this
function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported
only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
scripts/mod/sumversion.c:384: warning: unused variable 'filelist'
make[2]: *** [scripts/mod/sumversion.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
FATAL: oe_runmake failed

I manually declared PATH_MAX in
tmp/work/netbook-pro-angstrom-linux-gnueabi/netbook-pro-kernel-2.6.17-r2/linux-2.6.17/scripts/mod/sumversion.c
and also included limits.h header, but it does not seem to work.

I am attaching my patch, could someone please check? 

(It's the first time I fill a bugreport, I excuse myself in advance for any
possible error I could have committed)

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list