SCIENTIFIC-LINUX-USERS Archives

March 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Garrett Holmstrom <[log in to unmask]>
Reply To:
Garrett Holmstrom <[log in to unmask]>
Date:
Thu, 31 Mar 2011 00:16:06 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
On 3/30/2011 23:56, lee wrote:
> Hi...
>
> Has anyone any idea about this error.
> im trying to build a kernel module.
>
> rpm -qa | grep kernel
> kernel-firmware-2.6.32-71.18.2.el6.noarch
> kernel-headers-2.6.32-71.18.2.el6.x86_64
> kernel-devel-2.6.32-71.18.2.el6.x86_64
> kernel-2.6.32-71.18.2.el6.x86_64
> kernel-debug-devel-2.6.32-71.18.2.el6.x86_64
>
> error below is the make errors received...
>
> make -j2
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> SYMLINK include/asm -> include/asm-x86
> HOSTCC scripts/selinux/mdp/mdp
> HOSTCC scripts/selinux/genheaders/genheaders
> scripts/selinux/mdp/mdp.c:44:22: error: classmap.h: No such file or
> directory
> scripts/selinux/mdp/mdp.c:45:35: error: initial_sid_to_string.h: No such
> file or directory
> scripts/selinux/mdp/mdp.c: In function ‘main’:
> scripts/selinux/mdp/mdp.c:72: error: ‘secclass_map’ undeclared (first
> use in this function)
> scripts/selinux/mdp/mdp.c:72: error: (Each undeclared identifier is
> reported only once
> scripts/selinux/mdp/mdp.c:72: error: for each function it appears in.)
> scripts/selinux/mdp/mdp.c:76: error: ‘initial_sid_to_string’ undeclared
> (first use in this function)
> make[3]: *** [scripts/selinux/mdp/mdp] Error 1
> make[2]: *** [scripts/selinux/mdp] Error 2
> make[2]: *** Waiting for unfinished jobs....
> scripts/selinux/genheaders/genheaders.c:13:22: error: classmap.h: No
> such file or directory
> scripts/selinux/genheaders/genheaders.c:14:35: error:
> initial_sid_to_string.h: No such file or directory
> scripts/selinux/genheaders/genheaders.c: In function ‘main’:
> scripts/selinux/genheaders/genheaders.c:59: error: ‘secclass_map’
> undeclared (first use in this function)
> scripts/selinux/genheaders/genheaders.c:59: error: (Each undeclared
> identifier is reported only once
> scripts/selinux/genheaders/genheaders.c:59: error: for each function it
> appears in.)
> scripts/selinux/genheaders/genheaders.c:66: error:
> ‘initial_sid_to_string’ undeclared (first use in this function)
> make[3]: *** [scripts/selinux/genheaders/genheaders] Error 1
> make[2]: *** [scripts/selinux/genheaders] Error 2
> make[1]: *** [scripts/selinux] Error 2
> make: *** [scripts] Error 2

https://bugzilla.redhat.com/show_bug.cgi?id=690773

--
Garrett Holmstrom

ATOM RSS1 RSS2