Bugs item #3018661, was opened at 2010-06-20 07:59 Message generated for change (Comment added) made by madsci44 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3018661&group_id=6744
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build System Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: madsci44 (madsci44) Assigned to: Alex Joni (alex_joni) Summary: configure fails to detect kernel version for >2.6.33 Initial Comment: Not sure if this is important enough to be here ..yet.. but.. In my attempt to build on 2.6.34 running ./configure --enable-run-in-place failed with thefollowing message; ... checking for unistd.h... yes checking /usr/src/linux/include/linux/version.h usability... yes checking /usr/src/linux/include/linux/version.h presence... yes checking for /usr/src/linux/include/linux/version.h... yes checking for kernel version string... configure: error: Kernel version string not found After some poking around I found that configure checks for utsrelease.h and extracts version info from it, and also found that recent kernels have moved the location of this file: $VERSION_FILE from include/linux/utsrelease.h to include/generated/utsrelease.h attached is a patch i made locally which solved the problem. The relevant area is at line 363 in configure.in hope thats helpful. - madsci44 ---------------------------------------------------------------------- Comment By: madsci44 (madsci44) Date: 2010-06-20 13:32 Message: Hi That tests correctly but still assigns from include/linux/utsrelease.h instead of include/generated/utsrelease.h I am just gitting the hang of git. I have attached corrected cleaner shorter version hopefully done properly this time. I see no reason why it would not apply to 2.6.33, I changed > to >= in the description. Thanks for pointing that out - madsci44 ---------------------------------------------------------------------- Comment By: Jeff Epler (jepler) Date: 2010-06-20 12:02 Message: Does this shorter patch also fix the problem with 2.6.33+? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3018661&group_id=6744 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
