Bug 206158 - UTS_RELEASE define missing in include/linux/version.h
Summary: UTS_RELEASE define missing in include/linux/version.h
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Don Zickus
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-12 15:28 UTC by Aleksandar Milivojevic
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-21 02:21:01 UTC


Attachments (Terms of Use)

Description Aleksandar Milivojevic 2006-09-12 15:28:24 UTC
Description of problem:
I don't know if this is the change in the upstream kernel or ommision in RHEL5.
 Probably the former (in which case this isn't really a bug).  The 2.6.9 kernels
in RHEL4 have UTS_RELEASE defined.

While running vmware-config-tools.pl script (from ESX 3.0 packages), and
attempting to build vmware's modules, the script failed because UTS_RELEASE
define was missing from version.h kernel header file.  After readding it, the
script ran fine and built the modules.

Version-Release number of selected component (if applicable):
kernel-devel-2.6.17-1.2519.4.21.el5

How reproducible:
Always

Steps to Reproduce:
1. Attempt to run vmware-config-tools.pl
  
Actual results:


Expected results:


Additional info:

Comment 1 Jay Turner 2006-09-21 02:21:01 UTC
UTS_RELEASE has moved to linux/utsrelease.h

Comment 2 Chris Leighton 2006-11-14 04:57:16 UTC
The issue might be worked around by adding the following line to the beginning
of the header file /usr/src/kernels/<version-rel-arch>/include/linux/version.h:

#include <linux/utsrelease.h>

Comment 3 Chris Leighton 2006-11-14 05:11:46 UTC
Further to comment #2:
can be used with Fedora Core 5: kernel-2.6.18-1.2200.fc5, kernel-2.6.18-1.2239.fc5


Note You need to log in before you can comment on or make changes to this bug.