[Ocfs2-devel] [PATCH] enable building as SUSE KMP

Joel Becker Joel.Becker at oracle.com
Thu May 3 15:25:12 PDT 2007


On Thu, May 03, 2007 at 03:18:17PM -0700, Joel Becker wrote:
> On Mon, Apr 16, 2007 at 02:06:20PM -0400, Jeff Mahoney wrote:
> > With the KMP infrastructure, if allowed, 'make packages' should work without even
> > running configure since it runs configure for each kernel it builds against.
> > 
> 
> Jeff,
> 	I get this when running on a vanilla SLES10 system:
> 
> # make packages
> <snipped tar output>
> rpmbuild -bs --define "_sourcedir ." --define "_srcrpmdir ."
> ./vendor/suse-kmp/ocfs2.spec
> ln: creating symbolic link `arch/um/Kconfig.arch' to
> `/usr/src/linux-2.6.16.21-0.8/arch/um/Kconfig.i386': Permission denied
> error: Unable to open temp file.
> *** glibc detected *** rpmbuild: free(): invalid pointer: 0xb7efa630 ***
> ======= Backtrace: =========

<snip>

	Ok, running as root I don't get that problem.  However, I do see
this in the um build:

arch/um/include/sysdep/checksum.h: In function ‘csum_and_copy_to_user’:
arch/um/include/sysdep/checksum.h:198: error: implicit declaration of
function ‘access_ok_tt’

Joel

-- 

"Copy from one, it's plagiarism; copy from two, it's research."
        - Wilson Mizner

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list