Page 1 of 1

Fedora Core 12 + grsec

PostPosted: Wed Dec 30, 2009 4:01 pm
by urbiusz
Hi,

I tried to compile kernel 2.6.32.2 + grsec on fedora core 12.
I was able to do this on Fedora from fc 1 to 11.
All i have this time is error message during compilation:

(...)
CC arch/x86/boot/video-vga.o
CC arch/x86/boot/video-vesa.o
CC arch/x86/boot/video-bios.o
OBJCOPY arch/x86/boot/vmlinux.bin
HOSTCC arch/x86/boot/tools/build
CPUSTR arch/x86/boot/cpustr.h
ZOFFSET arch/x86/boot/zoffset.h
CC arch/x86/boot/cpu.o
AS arch/x86/boot/header.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
BUILD arch/x86/boot/bzImage
Root device is (253, 0)
Setup is 13516 bytes (padded to 13824 bytes).
System is 3598 kB
CRC 6ed6d72a
Kernel: arch/x86/boot/bzImage is ready (#2)
ERROR: "fuse_dev_write" [fs/fuse/cuse.ko] undefined!
ERROR: "fuse_dev_read" [fs/fuse/cuse.ko] undefined!
ERROR: "fuse_dev_fasync" [fs/fuse/cuse.ko] undefined!
ERROR: "fuse_dev_poll" [fs/fuse/cuse.ko] undefined!
WARNING: modpost: Found 22515 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
error: /var/tmp/rpm-tmp.haL2xo (%build)


Error during building RPM package:
/var/tmp/rpm-tmp.haL2xo (%build)
make[1]: *** [rpm-pkg] Error 1
make: *** [rpm-pkg] Error 2

[root@linux linux-2.6.32.2]#

Any ideas?

Re: Fedora Core 12 + grsec

PostPosted: Wed Dec 30, 2009 4:05 pm
by specs
Do you need fuse?

Re: Fedora Core 12 + grsec

PostPosted: Wed Dec 30, 2009 6:01 pm
by urbiusz
THX. It's working now.

Re: Fedora Core 12 + grsec

PostPosted: Wed Dec 30, 2009 6:28 pm
by spender
This happens if fuse is compiled in as a module. It will be fixed in the next version of the patch. As a temporary workaround (if you need fuse) you can compile it into the kernel directly.

-Brad

Re: Fedora Core 12 + grsec

PostPosted: Sun Jan 03, 2010 6:44 pm
by spender
This should be resolved in the latest patch.

-Brad