Problem/Bug Report: Compile error on kernel 2.6.11

From: Michael Klemm (michael.klemm_at_informatik.uni-erlangen.de)
Date: Thu Jul 21 2005 - 04:29:40 PDT

  • Next message: sichiwai: "Checkpointing"
    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
    
    swadm@faui21l [~/tmp/blcr-0.4.0] [18]> ./configure --prefix=/local/i686/blcr-0.4.0p/
    checking for a BSD-compatible install... /usr/bin/ginstall -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for pwd... /bin/pwd
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for perl5... no
    checking for perl... /usr/bin/perl
    checking for gmake... /usr/bin/gmake
    checking if /usr/bin/gmake is GNU make... yes (3.80)
    checking for style of include used by /usr/bin/gmake... GNU
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
    checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
    checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependant libraries... pass_all
    checking command to parse /usr/bin/nm -B output... ok
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for ranlib... ranlib
    checking for strip... strip
    checking for objdir... .libs
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.lo... yes
    checking if gcc supports -fno-rtti -fno-exceptions... yes
    checking whether the linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking whether -lc should be explicitly linked in... no
    creating libtool
    checking for rpmbuild... /usr/bin/rpmbuild
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for GNU libc version >= 2.1... yes
    checking for dlsym in -ldl... yes
    checking for pthread_create in -lpthread... yes
    checking for value of CR_SIGNUM... 64
    checking for Linux kernel 2.6 source directory... /usr/src/linux (base version 2.6.11)
    checking for Linux kernel 2.6 build directory... /lib/modules/2.6.11.4-21.7-smp/build (version 2.6.11.4-21.7-smp)
    configure: WARNING:
    *******************************************************************
    ***** Support for 2.6 kernels is EXPERIMENTAL at this time    *****
    *******************************************************************
    checking for parameters to interface GNU automake with Linux kbuild... ok - Linux 2.6
    checking for flags to compile Linux kernel modules... ok
    checking for Linux kernel symbol table... /boot/System.map-2.6.11.4-21.7-smp
    checking for SMP kernel source... yes
    checking for SMP kernel symbol table... yes
    checking kernel for linux/workqueue.h... yes
    checking kernel for linux/namei.h... yes
    checking kernel forlinux/syscalls.h... yes
    checking kernel for linux/syscall.h... no
    checking kernel for timeval_to_jiffies... no
    checking kernel for jiffies_to_timeval... no
    checking kernel for sys_lseek prototype... yes
    checking kernel for sys_dup2 prototype... yes
    checking kernel for tq_struct... no
    checking kernel for work_struct... yes
    checking kernel for 2.4 task linkage... no
    checking kernel for 2.6 task linkage... yes
    checking kernel for do_each_task_pid... yes
    checking kernel for 2.4 task ids... no
    checking kernel for 2.6 task ids... yes
    checking kernel for 2.4 do_fork... no
    checking kernel for RH9 do_fork... no
    checking kernel for 2.6 do_fork... yes
    checking kernel for task.pids pid_link... no
    checking kernel for task.pids pid... yes
    checking kernel for free_task_struct... no
    checking kernel for put_task_struct... yes
    checking kernel for struct modify_ldt_ldt_s... no
    checking kernel for struct user_desc... yes
    checking kernel for mm.context.sem... yes
    checking kernel for mm.context.segments... no
    checking kernel for mm.context.ldt... yes
    checking kernel for mm.context.ldt_pages... no
    checking kernel for pte_offset macro... no
    checking kernel for pte_offset_map macro... yes
    checking kernel for 2.4 permission... no
    checking kernel for 2.6 permission... yes
    checking kernel for 2.4 recalc_sigpending... no
    checking kernel for 2.6 recalc_sigpending... yes
    checking kernel for 2.4 signal_struct... no
    checking kernel for 2.6 signal_struct... yes
    checking kernel for TLS in GDT... yes
    checking kernel for rw mmap_sem... yes
    checking kernel for rw file_lock... no
    checking kernel for spinlock file_lock... yes
    checking kernel for is_dumpable... no
    checking kernel for mm.dumpable... yes
    checking kernel for task.dumpable... no
    checking kernel for task.task_dumpable... no
    checking kernel symbol table for sys_call_table... c0361a40
    checking kernel symbol table for cpu_gdt_table... exported
    checking kernel symbol table for mmu_cr4_features... exported
    checking kernel symbol table for write_pipe_fops... c036ad40
    checking kernel symbol table for rdwr_pipe_fops... c036adc0
    checking kernel symbol table for read_pipe_fops... c036acc0
    checking kernel symbol table for do_pipe... c0170240
    checking kernel symbol table for write_fifo_fops... c036abc0
    checking kernel symbol table for rdwr_fifo_fops... c036ac40
    checking kernel symbol table for read_fifo_fops... c036ab40
    checking kernel symbol table for do_fork... c0120930
    checking kernel symbol table for detach_pid... c0132620
    checking kernel symbol table for attach_pid... c0132450
    checking kernel symbol table for find_pid... c0132400
    checking kernel symbol table for link_pid... not found
    checking kernel symbol table for pidmap_array... c03655a8
    checking kernel symbol table for pidmap_lock... c03b9100
    checking kernel symbol table for __put_task_struct... exported
    checking kernel symbol table for sys_dup2... c0175330
    checking kernel symbol table for sys_lseek... c0162fc0
    checking kernel symbol table for sys_close... exported
    checking kernel symbol table for path_lookup... c0171e00
    checking kernel symbol table for vfs_read... exported
    checking kernel symbol table for vfs_write... exported
    checking kernel symbol table for sys_mprotect... c01575b0
    checking kernel symbol table for do_exit... c0123df0
    checking kernel symbol table for do_sigaction... c012e230
    checking kernel symbol table for register_chrdev... c016bf60
    checking kernel symbol table for register_blkdev... c0269d10
    checking kernel symbol table for sys_ptrace... c01087e0
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating etc/Makefile
    config.status: creating rpm/Makefile
    config.status: creating rpm/specfile
    config.status: creating man/Makefile
    config.status: creating include/Makefile
    config.status: creating include/blcr_common.h
    config.status: creating libcr/Makefile
    config.status: creating examples/Makefile
    config.status: creating examples/counting/Makefile
    config.status: creating examples/pthread_counting/Makefile
    config.status: creating examples/pthread_misc/Makefile
    config.status: creating examples/file_counting/Makefile
    config.status: creating tests/Makefile
    config.status: creating tests/crut_wrapper
    config.status: creating tests/seq_wrapper
    config.status: creating util/Makefile
    config.status: creating util/cr_checkpoint/Makefile
    config.status: creating util/cr_restart/Makefile
    config.status: creating util/cr_run/Makefile
    config.status: creating util/cr_info/Makefile
    config.status: creating cr_module/Makefile
    config.status: creating cr_module/kbuild/Makefile
    config.status: creating vmadump/Makefile
    config.status: creating vmadump/kbuild/Makefile
    config.status: creating vmadump4/Makefile
    config.status: creating vmadump4/kbuild/Makefile
    config.status: creating doc/Makefile
    config.status: creating sss/Makefile
    config.status: creating sss/crmg/Makefile
    config.status: creating sss/lampd/Makefile
    config.status: creating sss/oscar/Makefile
    config.status: creating sss/oscar/config.xml
    config.status: creating sss/oscar/doc/Makefile
    config.status: creating contrib/Makefile
    config.status: creating config/kbuild.mak
    config.status: creating contrib/cr_insmod
    config.status: creating contrib/gen_cscope
    config.status: creating contrib/batch_build
    config.status: creating blcr_config.h
    config.status: executing depfiles commands
    
    ======================================================================
    Please review the following configuration information:
      Kernel source directory = /usr/src/linux
      Kernel build directory = /lib/modules/2.6.11.4-21.7-smp/build
      Kernel symbol table = /boot/System.map-2.6.11.4-21.7-smp
      Kernel version probed from kernel build = 2.6.11.4-21.7-smp
      Kernel running currently = 2.6.11.4-21.7-smp
    ======================================================================
    swadm@faui21l [~/tmp/blcr-0.4.0] [19]> make
    /usr/bin/gmake  all-recursive
    gmake[1]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0'
    Making all in man
    gmake[2]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/man'
    gmake[2]: Nothing to be done for `all'.
    gmake[2]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/man'
    Making all in include
    gmake[2]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/include'
    gmake[2]: Nothing to be done for `all'.
    gmake[2]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/include'
    Making all in libcr
    gmake[2]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/libcr'
    if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include   -Wall -g -O2 -MT libcr_la-cr_async.lo -MD -MP -MF ".deps/libcr_la-cr_async.Tpo" \
      -c -o libcr_la-cr_async.lo `test -f 'cr_async.c' || echo './'`cr_async.c; \
    then mv -f ".deps/libcr_la-cr_async.Tpo" ".deps/libcr_la-cr_async.Plo"; \
    else rm -f ".deps/libcr_la-cr_async.Tpo"; exit 1; \
    fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include -Wall -g -O2 -MT libcr_la-cr_async.lo -MD -MP -MF .deps/libcr_la-cr_async.Tpo -c cr_async.c  -fPIC -DPIC -o libcr_la-cr_async.lo
    if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include   -Wall -g -O2 -MT libcr_la-cr_core.lo -MD -MP -MF ".deps/libcr_la-cr_core.Tpo" \
      -c -o libcr_la-cr_core.lo `test -f 'cr_core.c' || echo './'`cr_core.c; \
    then mv -f ".deps/libcr_la-cr_core.Tpo" ".deps/libcr_la-cr_core.Plo"; \
    else rm -f ".deps/libcr_la-cr_core.Tpo"; exit 1; \
    fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include -Wall -g -O2 -MT libcr_la-cr_core.lo -MD -MP -MF .deps/libcr_la-cr_core.Tpo -c cr_core.c  -fPIC -DPIC -o libcr_la-cr_core.lo
    if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include   -Wall -g -O2 -MT libcr_la-cr_cs.lo -MD -MP -MF ".deps/libcr_la-cr_cs.Tpo" \
      -c -o libcr_la-cr_cs.lo `test -f 'cr_cs.c' || echo './'`cr_cs.c; \
    then mv -f ".deps/libcr_la-cr_cs.Tpo" ".deps/libcr_la-cr_cs.Plo"; \
    else rm -f ".deps/libcr_la-cr_cs.Tpo"; exit 1; \
    fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include -Wall -g -O2 -MT libcr_la-cr_cs.lo -MD -MP -MF .deps/libcr_la-cr_cs.Tpo -c cr_cs.c  -fPIC -DPIC -o libcr_la-cr_cs.lo
    if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include   -Wall -g -O2 -MT libcr_la-cr_pthread.lo -MD -MP -MF ".deps/libcr_la-cr_pthread.Tpo" \
      -c -o libcr_la-cr_pthread.lo `test -f 'cr_pthread.c' || echo './'`cr_pthread.c; \
    then mv -f ".deps/libcr_la-cr_pthread.Tpo" ".deps/libcr_la-cr_pthread.Plo"; \
    else rm -f ".deps/libcr_la-cr_pthread.Tpo"; exit 1; \
    fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include -Wall -g -O2 -MT libcr_la-cr_pthread.lo -MD -MP -MF .deps/libcr_la-cr_pthread.Tpo -c cr_pthread.c  -fPIC -DPIC -o libcr_la-cr_pthread.lo
    if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include   -Wall -g -O2 -MT libcr_la-cr_sig_sync.lo -MD -MP -MF ".deps/libcr_la-cr_sig_sync.Tpo" \
      -c -o libcr_la-cr_sig_sync.lo `test -f 'cr_sig_sync.c' || echo './'`cr_sig_sync.c; \
    then mv -f ".deps/libcr_la-cr_sig_sync.Tpo" ".deps/libcr_la-cr_sig_sync.Plo"; \
    else rm -f ".deps/libcr_la-cr_sig_sync.Tpo"; exit 1; \
    fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include -Wall -g -O2 -MT libcr_la-cr_sig_sync.lo -MD -MP -MF .deps/libcr_la-cr_sig_sync.Tpo -c cr_sig_sync.c  -fPIC -DPIC -o libcr_la-cr_sig_sync.lo
    if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include   -Wall -g -O2 -MT libcr_la-cr_syscall.lo -MD -MP -MF ".deps/libcr_la-cr_syscall.Tpo" \
      -c -o libcr_la-cr_syscall.lo `test -f 'cr_syscall.c' || echo './'`cr_syscall.c; \
    then mv -f ".deps/libcr_la-cr_syscall.Tpo" ".deps/libcr_la-cr_syscall.Plo"; \
    else rm -f ".deps/libcr_la-cr_syscall.Tpo"; exit 1; \
    fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include -Wall -g -O2 -MT libcr_la-cr_syscall.lo -MD -MP -MF .deps/libcr_la-cr_syscall.Tpo -c cr_syscall.c  -fPIC -DPIC -o libcr_la-cr_syscall.lo
    if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include   -Wall -g -O2 -MT libcr_la-cr_trace.lo -MD -MP -MF ".deps/libcr_la-cr_trace.Tpo" \
      -c -o libcr_la-cr_trace.lo `test -f 'cr_trace.c' || echo './'`cr_trace.c; \
    then mv -f ".deps/libcr_la-cr_trace.Tpo" ".deps/libcr_la-cr_trace.Plo"; \
    else rm -f ".deps/libcr_la-cr_trace.Tpo"; exit 1; \
    fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include -Wall -g -O2 -MT libcr_la-cr_trace.lo -MD -MP -MF .deps/libcr_la-cr_trace.Tpo -c cr_trace.c  -fPIC -DPIC -o libcr_la-cr_trace.lo
    if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include   -Wall -g -O2 -MT libcr_la-cr_strerror.lo -MD -MP -MF ".deps/libcr_la-cr_strerror.Tpo" \
      -c -o libcr_la-cr_strerror.lo `test -f 'cr_strerror.c' || echo './'`cr_strerror.c; \
    then mv -f ".deps/libcr_la-cr_strerror.Tpo" ".deps/libcr_la-cr_strerror.Plo"; \
    else rm -f ".deps/libcr_la-cr_strerror.Tpo"; exit 1; \
    fi
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_REENTRANT -I../include -I../include -I./arch/i386/ -I/usr/src/linux/include -Wall -g -O2 -MT libcr_la-cr_strerror.lo -MD -MP -MF .deps/libcr_la-cr_strerror.Tpo -c cr_strerror.c  -fPIC -DPIC -o libcr_la-cr_strerror.lo
    /bin/sh ../libtool --mode=link gcc  -g -O2   -o libcr.la -rpath /local/i686/blcr-0.4.0p//lib -Wc,-nostdlib -version-info 1:1:1 libcr_la-cr_async.lo libcr_la-cr_core.lo libcr_la-cr_cs.lo libcr_la-cr_pthread.lo libcr_la-cr_sig_sync.lo libcr_la-cr_syscall.lo libcr_la-cr_trace.lo libcr_la-cr_strerror.lo  -ldl -lpthread
    mkdir .libs
    rm -fr .libs/libcr.la .libs/libcr.* .libs/libcr.*
    (cd . && ln -s libcr_la-cr_async.lo libcr_la-cr_async.o)
    (cd . && ln -s libcr_la-cr_core.lo libcr_la-cr_core.o)
    (cd . && ln -s libcr_la-cr_cs.lo libcr_la-cr_cs.o)
    (cd . && ln -s libcr_la-cr_pthread.lo libcr_la-cr_pthread.o)
    (cd . && ln -s libcr_la-cr_sig_sync.lo libcr_la-cr_sig_sync.o)
    (cd . && ln -s libcr_la-cr_syscall.lo libcr_la-cr_syscall.o)
    (cd . && ln -s libcr_la-cr_trace.lo libcr_la-cr_trace.o)
    (cd . && ln -s libcr_la-cr_strerror.lo libcr_la-cr_strerror.o)
    gcc -shared  libcr_la-cr_async.lo libcr_la-cr_core.lo libcr_la-cr_cs.lo libcr_la-cr_pthread.lo libcr_la-cr_sig_sync.lo libcr_la-cr_syscall.lo libcr_la-cr_trace.lo libcr_la-cr_strerror.lo  -ldl -lpthread  -nostdlib -Wl,-soname -Wl,libcr.so.0 -o .libs/libcr.so.0.1.1
    (cd .libs && rm -f libcr.so.0 && ln -s libcr.so.0.1.1 libcr.so.0)
    (cd .libs && rm -f libcr.so && ln -s libcr.so.0.1.1 libcr.so)
    creating libcr.la
    (cd .libs && rm -f libcr.la && ln -s ../libcr.la libcr.la)
    gmake[2]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/libcr'
    Making all in util
    gmake[2]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util'
    Making all in cr_checkpoint
    gmake[3]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util/cr_checkpoint'
    if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include   -Wall -g -O2 -MT cr_checkpoint.o -MD -MP -MF ".deps/cr_checkpoint.Tpo" \
      -c -o cr_checkpoint.o `test -f 'cr_checkpoint.c' || echo './'`cr_checkpoint.c; \
    then mv -f ".deps/cr_checkpoint.Tpo" ".deps/cr_checkpoint.Po"; \
    else rm -f ".deps/cr_checkpoint.Tpo"; exit 1; \
    fi
    /bin/sh ../../libtool --mode=link gcc -Wall -g -O2   -o cr_checkpoint  cr_checkpoint.o -L../../libcr -lcr
    mkdir .libs
    gcc -Wall -g -O2 -o .libs/cr_checkpoint cr_checkpoint.o  -L/home/i2cluster/swadm/tmp/blcr-0.4.0/libcr /home/i2cluster/swadm/tmp/blcr-0.4.0/libcr/.libs/libcr.so -ldl -lpthread -Wl,--rpath -Wl,/local/i686/blcr-0.4.0p//lib
    creating cr_checkpoint
    /usr/bin/perl ../../man/help2man \
                -n "checkpoints a process, process group, or session." \
                -i ../../util/cr_checkpoint/cr_checkpoint.extraman -N \
                -o cr_checkpoint.1 -s 1 -S "Berkeley Linux Checkpoint/Restart" \
                ../../util/cr_checkpoint/cr_checkpoint
    gmake[3]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util/cr_checkpoint'
    Making all in cr_restart
    gmake[3]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util/cr_restart'
    if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include   -Wall -g -O2 -MT cr_restart.o -MD -MP -MF ".deps/cr_restart.Tpo" \
      -c -o cr_restart.o `test -f 'cr_restart.c' || echo './'`cr_restart.c; \
    then mv -f ".deps/cr_restart.Tpo" ".deps/cr_restart.Po"; \
    else rm -f ".deps/cr_restart.Tpo"; exit 1; \
    fi
    /bin/sh ../../libtool --mode=link gcc -Wall -g -O2   -o cr_restart  cr_restart.o -L../../libcr -lcr
    mkdir .libs
    gcc -Wall -g -O2 -o .libs/cr_restart cr_restart.o  -L/home/i2cluster/swadm/tmp/blcr-0.4.0/libcr /home/i2cluster/swadm/tmp/blcr-0.4.0/libcr/.libs/libcr.so -ldl -lpthread -Wl,--rpath -Wl,/local/i686/blcr-0.4.0p//lib
    creating cr_restart
    /usr/bin/perl ../../man/help2man \
                -n "restarts a process, process group, or session from a checkpoint file."\
                -i ../../util/cr_restart/cr_restart.extraman -N \
                -o cr_restart.1 -s 1 -S "Berkeley Linux Checkpoint/Restart" \
                ../../util/cr_restart/cr_restart
    gmake[3]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util/cr_restart'
    Making all in cr_run
    gmake[3]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util/cr_run'
    /usr/bin/perl -pe 's|\@top_builddir\@|/home/i2cluster/swadm/tmp/blcr-0.4.0|;\
      s|\@release_version\@|0.4.0|;' ./cr_run.in >cr_run
    chmod +x cr_run
    gmake[3]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util/cr_run'
    gmake[3]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util'
    gmake[3]: Nothing to be done for `all-am'.
    gmake[3]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util'
    gmake[2]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/util'
    Making all in tests
    gmake[2]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/tests'
    gmake[2]: Nothing to be done for `all'.
    gmake[2]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/tests'
    Making all in contrib
    gmake[2]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/contrib'
    gmake[2]: Nothing to be done for `all'.
    gmake[2]: Leaving directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/contrib'
    Making all in cr_module
    gmake[2]: Entering directory `/home/i2cluster/swadm/tmp/blcr-0.4.0/cr_module'
    Making all in kbuild
    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
    swadm@faui21l [~/tmp/blcr-0.4.0] [20]> uname -a
    Linux faui21l 2.6.11.4-21.7-smp #1 SMP Thu Jun 2 14:23:14 UTC 2005 i686 i686 i386 GNU/Linux
    
    
    


  • Next message: sichiwai: "Checkpointing"