Re: build on fedora 12

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Tue Mar 23 2010 - 13:11:08 PDT

  • Next message: Ladislav Subr: "Re: build on fedora 12"
    For a 2.6.32 kernel you'll need to apply the following patches to BLCR 
    Among them is a change to how the file is "validated" that I 
    suspect addresses your immediate problem.
    If you still have problems, let me know.
    I already know that we have both configure-time and compile-time 
    "issues" with 2.6.33.  It is possible those same problems may be present 
    in a kernel (either vanilla or Fedora).  I do have patches for 
    all the configure-time and compile-time issues in 2.6.33, but the 
    resulting kernel modules hang during "make check" - so I've not released 
    any patches for 2.6.33.  So, any configure or compile failure you 
    encounter on may already have am UNTESTED OR UNSAFE fix 
    available from my development tree.  Let me know what you find.
    Neal Becker wrote:
    > I'm trying to build blcr-0.8.2 on fedora 12 x86_64.  It's been a while, maybe 
    > I've forgotten a few things.
    > checking for Linux kernel build in /usr/src/kernels/ 
    > found version
    > checking for Linux kernel source in 
    > /usr/src/kernels/ found version 2.6.32
    > checking directory to install kernel modules... 
    > /lib/modules// (passed via --with-kmod-
    > dir)
    > checking for parameters to interface GNU automake with Linux kbuild... 
    > KBUILD_EXTMOD=$(builddir)
    > checking for flags to compile Linux kernel probes...  -nostdinc -isystem 
    > /usr/lib/gcc/x86_64-redhat-linux/4.4.3/include -
    > I/usr/src/kernels/ -
    > I/usr/src/kernels/ -include 
    > /usr/src/kernels/ -D__KERNEL__ 
    > -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-
    > common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-
    > null-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -
    > funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 
    > -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-
    > unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 
    > -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-
    > after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -
    > fconserve-stack -DMODULE -DKBUILD_STR(s)=#s -
    > checking for Linux kernel symbol table... failed
    > configure: error: Failed to locate kernel symbol table.  Try using --with-
    > system-map or --with-vmlinux
    > I've got:
    > /usr/src/kernels/  Isn't that what it was 
    > looking for?
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group                 Tel: +1-510-495-2352
    HPC Research Department                   Fax: +1-510-486-6900
    Lawrence Berkeley National Laboratory     

  • Next message: Ladislav Subr: "Re: build on fedora 12"