Bugs item #3018661, was opened at 2010-06-20 05:59 Message generated for change (Comment added) made by seb_kuzminsky 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: Closed >Resolution: Fixed 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: Sebastian Kuzminsky (seb_kuzminsky) Date: 2011-10-26 21:38 Message: Fixed by Thomas F. Dely and Jeff Epler. The fix went into the 2.4.4 release. ---------------------------------------------------------------------- Comment By: madsci44 (madsci44) Date: 2010-06-20 11: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 10: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 ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
