[Bug 4591] New: NOTE: package linux-handhelds-2.6-2.6.21-hh20-r20: task do_compile failed

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Wed Oct 1 16:35:21 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4591

           Summary: NOTE: package linux-handhelds-2.6-2.6.21-hh20-r20:
                    task do_compile failed
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Keywords: patch
          Severity: minor
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: linuxrulez at land.ru


make[2]: Entering directory
`/media/disk-1/GIT/org.openembedded.dev/tmp/work/magician-angstrom-linux-gnueabi/linux-handhelds-2.6-2.6.21-hh20-r20/kernel26'
|   HOSTCC  scripts/mod/sumversion.o
| scripts/mod/sumversion.c: In function 'get_src_version':
| scripts/mod/sumversion.c:387: error: 'PATH_MAX' undeclared (first use in this
function)
| scripts/mod/sumversion.c:387: error: (Each undeclared identifier is reported
only once
| scripts/mod/sumversion.c:387: error: for each function it appears in.)
| scripts/mod/sumversion.c:387: warning: unused variable 'filelist'
| make[2]: *** [scripts/mod/sumversion.o] Error 1
| make[2]: Leaving directory
`/media/disk-1/GIT/org.openembedded.dev/tmp/work/magician-angstrom-linux-gnueabi/linux-handhelds-2.6-2.6.21-hh20-r20/kernel26'
| make[1]: *** [scripts/mod] Error 2
| make[1]: Leaving directory
`/media/disk-1/GIT/org.openembedded.dev/tmp/work/magician-angstrom-linux-gnueabi/linux-handhelds-2.6-2.6.21-hh20-r20/kernel26'
| make: *** [scripts] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/media/disk-1/GIT/org.openembedded.dev/tmp/work/magician-angstrom-linux-gnueabi/linux-handhelds-2.6-2.6.21-hh20-r20/temp/log.do_compile.9685
NOTE: package linux-handhelds-2.6-2.6.21-hh20-r20: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package linux-handhelds-2.6-2.6.21-hh20: failed
ERROR: Build of
/media/disk-1/GIT/org.openembedded.dev/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb
do_compile failed
ERROR: Task 493
(/media/disk-1/GIT/org.openembedded.dev/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 500 tasks of which 500 didn't need to be rerun
and 1 failed.
ERROR:
'/media/disk-1/GIT/org.openembedded.dev/packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb'
failed



Resolved by adding include directive "#include <linux/limits.h>" into 
linux-handhelds-2.6-2.6.21-hh20-r20/kernel26/scripts/modv/sumversion.c

KUbuntu/intrepid (devel)

#uname -a
Linux mystery-pc 2.6.27-4-generic #1 SMP Wed Sep 24 01:30:51 UTC 2008 i686
GNU/Linux

# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu8'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release
--build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu8)

MACHINE = "magician"
git repository

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




More information about the Openembedded-issues mailing list