From: pennell315 <jae...@gm...> - 2009-07-01 19:03:20
|
It worked! Muktabh, thanks a lot for your help. -pennell315 Anch wrote: > > Hi pennell, > bitbake -c rebuild gumstix-kernel, as you said, removes the source in temp > directory, fetches new source and compiles. As a result all the changes > you make to the sumversion.c file are lost. Once you add the > include<limits.h> in the file, just do a > > bitbake gumstix-kernel > > and you should be fine > > Muktabh > > > pennell315 wrote: >> >> Hello, >> >> I am trying to rebuild gumstix-kernel, but I can't go through. >> >> I commanded: >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> bitbake -c rebuild gumstix-kernel >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> >> The returned error message is: >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> | scripts/mod/sumversion.c: In function 'get_src_version': >> | scripts/mod/sumversion.c:384: error: 'PATH_MAX' undeclared (first use >> in >> this function) >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> >> I followed some previously posted suggestions from: >> http://www.nabble.com/OE-BUILD-td17316804.html#a17492148 >> http://www.nabble.com/Re%3A-More-Blueetooth-Woes-(Vol-25%2C-Issue-89)-td17544978.html#a17544978 >> http://www.nabble.com/PATH_MAX-undeclared-error-in-buildroot-td21103624.html#a21103624 >> >> That is, adding >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> #include <limits.h> >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> to >> >> ~/gumstix/gumstix-oe/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/linux-2.6.21/scripts/mod/sumversion.c >> >> I did so, but I got the same error message. >> Then I read the messages that the command >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> bitbake -c rebuild gumstix-kernel >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> returns prior to the error message and I could see from a long list of >> messages the following: >> >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> NOTE: package gumstix-kernel-2.6.21-r1: task do_clean: completed >> NOTE: package gumstix-kernel-2.6.21-r1: task do_fetch: started >> NOTE: gumstix-kernel-2.6.21: >> http://kernel.org//pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2 has no >> entry >> in conf/checksums.ini, not checking URI >> NOTE: package gumstix-kernel-2.6.21-r1: task do_fetch: completed >> NOTE: package gumstix-kernel-2.6.21-r1: task do_unpack: started >> --------------------------------------------------------------------------------------------------------------------------------------------------- >> >> I think what these messages show is that even I modify sumversion.c file >> by >> adding '#include <limits.h>', this modification would not do anything >> since when I rebuild the gumstix-kernel, the currently installed kernel >> package would be cleaned and a new kernel package would be fetched from >> http://kernel.org//pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2 and be >> installed. But since this new package does not have '#include <limits.h>' >> at >> >> sumversion.c file, it returns this error. >> >> If the above statement is true, then I think this error needs to be fixed >> from http://kernel.org//pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2 >> >> Did anybody have the problem that I am having? >> If yes, how did you solve this problem? >> >> Thanks, >> pennell315 >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> > > -- View this message in context: http://www.nabble.com/Error-at-the-time-of-rebuilding-gumstix-kernel-%3A-PATH_MAX-undeclared-tp24273661p24295427.html Sent from the Gumstix mailing list archive at Nabble.com. |