Re: Problem/Bug Report: Compile error on kernel 2.6.11

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Tue Jul 26 2005 - 10:13:26 PDT

  • Next message: Paul H. Hargrove: "Re: Problems with BLCR?"
    Michael,
    
       The problem you report is known and should be fixed in the beta 
    release which can be found at http://mantis.lbl.gov/blcr-dist/
    If you still cannot compile with the beta release, please let me know.
    
    -Paul
    
    Michael Klemm wrote:
    > Hi there!
    > 
    > It's me again having some trouble with BLCR. Today, our admin decided to
    > have one of our development server updated from SuSE 9.1 (kernel
    > 2.6.5-7.155.29-smp) to SuSE 9.3 (kernel 2.6.11.4-21.7-smp).
    > 
    > Since that update, the following compiler error occurs:
    > 
    > gmake[3]: Entering directory
    > `/home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/kbuild'
    > /usr/bin/gmake -C /usr/src/linux
    > KBUILD_EXTMOD=/home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/kbuild
    > O=/lib/modules/2.6.11.4-21.7-smp/build CC=gcc
    > gmake[4]: Entering directory `/usr/src/linux-2.6.11.4-21.7'
    >   LD      /home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/kbuild/built-in.o
    >   CC [M]  /home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/kbuild/cr_async.o
    > In file included from
    > /home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/kbuild/cr_async.c:32:
    > /home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/cr_module.h:251: error:
    > conflicting types for `timeval_to_jiffies'
    > /usr/src/linux-2.6.11.4-21.7/include/linux/jiffies.h:355: error:
    > previous declaration of `timeval_to_jiffies'
    > /home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/cr_module.h:267: error:
    > redefinition of `jiffies_to_timeval'
    > /usr/src/linux-2.6.11.4-21.7/include/linux/jiffies.h:370: error:
    > `jiffies_to_timeval' previously defined here
    > gmake[6]: ***
    > [/home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/kbuild/cr_async.o] Error 1
    > gmake[5]: ***
    > [_module_/home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/kbuild] Error 2
    > gmake[4]: *** [_all] Error 2
    > gmake[4]: Leaving directory `/usr/src/linux-2.6.11.4-21.7'
    > gmake[3]: *** [all] Error 2
    > gmake[3]: Leaving directory
    > `/home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module/kbuild'
    > gmake[2]: *** [all-recursive] Error 1
    > gmake[2]: Leaving directory 
    > `/home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module'
    > gmake[1]: *** [all-recursive] Error 1
    > gmake[1]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0'
    > make: *** [all] Error 2
    > 
    > 
    > I attached the full log to this mail.
    > 
    > Regards
    >     -michael
    > 
    > -- 
    > Computer Science Department 2, University of Erlangen-Nuremberg
    > Martensstrasse 3, D-91058 Erlangen, Germany
    > phone: ++49 (0)9131 85-28995, fax: ++49 (0)9131 85-28809
    > web: http://www2.informatik.uni-erlangen.de/~klemm
    > 
    [snip]
    
    
    -- 
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group
    HPC Research Department                   Tel: +1-510-495-2352
    Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
    

  • Next message: Paul H. Hargrove: "Re: Problems with BLCR?"