[ ! -f debian/control ] || dh_clean [ ! -f Makefile ] || /usr/bin/make clean /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules make[1]: Entering directory `/usr/src/modules/blcr' [ ! -f debian/control ] || dh_clean [ ! -f Makefile ] || /usr/bin/make clean for templ in /usr/src/modules/blcr/debian/blcr-modules_KVERS_.postinst.modules.in /usr/src/modules/blcr/debian/blcr-modules_KVERS_.postrm.modules.in; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.31-14-generic-pae/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.31-14-generic-pae/g ;s/#KVERS#/2.6.31-14-generic-pae/g ; s/_KVERS_/2.6.31-14-generic-pae/g ; s/##KDREV##/2.6.31-14.48/g ; s/#KDREV#/2.6.31-14.48/g ; s/_KDREV_/2.6.31-14.48/g ' < $templ > ${templ%.modules.in}; \ done dh_testroot dh_clean -k # Build the modules ./configure --with-installed-libcr --with-installed-util --with-components=modules --prefix=/usr --with-linux=2.6.31-14-generic-pae checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk 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... no checking for make... /usr/bin/make checking if /usr/bin/make is GNU make... yes (3.81) checking for ranlib... ranlib checking whether ln -s works... yes checking for style of include used by /usr/bin/make... GNU checking for gcc... gcc checking for C compiler default output file name... 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 ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 805306365 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC 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.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for rpmbuild... no checking for rpmb... no checking for rpm... no 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 ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking size of void *... 4 checking whether CXX='g++' acts like a C++ compiler... yes checking whether CXX='g++' matches wordsize of CC... yes checking for value of CR_SIGNUM... 64 checking size of void *... (cached) 4 checking compiler to build kernel modules... gcc (default) checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking for Linux kernel build in /lib/modules/2.6.31-14-generic-pae/build... found version 2.6.31-14-generic-pae checking for Linux kernel source in /lib/modules/2.6.31-14-generic-pae/build... found version 2.6.31 checking directory to install kernel modules... ${exec_prefix}/lib/blcr/2.6.31-14-generic-pae (default) 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/i486-linux-gnu/4.4.1/include -I/lib/modules/2.6.31-14-generic-pae/build/include -I/usr/src/linux-headers-2.6.31-14-generic-pae/arch/x86/include -include /lib/modules/2.6.31-14-generic-pae/build/include/linux/autoconf.h -I/lib/modules/2.6.31-14-generic-pae/build/ubuntu/include -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 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-protector -fstack-protector-all -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -DMODULE -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(conftest) -DKBUILD_MODNAME=KBUILD_STR(conftest) checking for Linux kernel symbol table... /boot/System.map-2.6.31-14-generic-pae checking for SMP kernel source... yes checking for SMP kernel symbol table... yes configure: Testing if KARCH is the same as ARCH configure: Not touching KARCH checking kernel for linux/syscalls.h... yes checking kernel for linux/pspace.h... no checking kernel for linux/pid_namespace.h... yes checking kernel for linux/lockdep.h... yes checking kernel for linux/compile.h... no checking kernel for linux/fdtable.h... yes checking kernel for linux/utrace.h... no checking kernel for asm/elf.h... yes checking kernel for asm/desc.h... yes checking kernel for asm/vsyscall32.h... no checking kernel for asm/i387.h... yes checking kernel symbol table for timeval_to_jiffies... exported checking kernel symbol table for jiffies_to_timeval... exported checking kernel for struct fdtable... yes checking kernel for files_struct.next_fd... yes checking kernel for fdtable.next_fd... no checking kernel for files_struct.max_fdset... no checking kernel for struct path... yes checking kernel for nameidata.path... yes checking kernel for nameidata.dentry... no checking kernel for __putname... yes checking kernel for struct delayed_work... yes checking kernel for do_each_pid_task... yes checking kernel for do_each_task_pid... no checking kernel for for_each_task_pid... no checking kernel for 2.6.0 task ids... no checking kernel for 2.6.6 task ids... no checking kernel for 2.6.20 task ids... no checking kernel for 2.6.24 task ids... yes checking kernel for set_task_pgrp... no checking kernel for set_task_session... no checking kernel for valid_signal... yes checking kernel for REMOVE_LINKS... no checking kernel for task.pids pid_link... yes checking kernel for task.pids pid... no checking kernel symbol table for __put_task_struct... c0145f90 checking kernel symbol table for __put_task_struct_cb... not found checking kernel for mm.task_size... yes checking kernel for PageAnon... yes checking kernel for thread.vdso_base... no checking kernel for mm.context.vdso_base... no checking kernel for mm.context.vdso... yes checking kernel for thread_info.sysenter_return... yes checking kernel for VSYSCALL_BASE... no checking kernel for 2-arg arch_setup_additional_pages... yes checking kernel for 4-arg arch_setup_additional_pages... no checking kernel symbol table for arch_setup_additional_pages... c012ee60 checking kernel for map_vsyscall... no checking kernel symbol table for arch_pick_mmap_layout... c012b9b0 checking kernel symbol table for arch_get_unmaped_area... not found checking kernel symbol table for arch_unmap_area... c01d08b0 checking kernel for mm.mmap_base... yes checking kernel for mm.cached_hole_size... yes checking kernel for CONFIG_HUGETLBFS... yes checking kernel symbol table for hugetlbfs_file_operations... c0591280 checking kernel symbol table for is_file_shm_hugepages... c02c1fa0 checking kernel symbol table for hugepage_vma... not found checking kernel symbol table for pmd_huge... c012e260 checking kernel symbol table for follow_huge_pmd... c012e2a0 checking kernel symbol table for follow_huge_addr... c012e250 checking kernel for 3-arg follow_huge_addr... yes checking kernel for 4-arg follow_huge_addr... no checking kernel symbol table for empty_zero_page... exported checking kernel for inode_permission... yes checking kernel for permission... no checking kernel symbol table for copy_siginfo_to_user... c0154150 checking kernel symbol table for group_send_sig_info... c0155960 checking kernel symbol table for do_sigaltstack... c0153640 checking kernel for struct n_desc_struct... no checking kernel for cpu_gdt_descr... no checking kernel symbol table for cpu_gdt_table... not found checking kernel symbol table for per_cpu__cpu_gdt_descr... not found checking kernel for thread.sp0... yes checking kernel for thread.esp0... no checking kernel for thread.rsp0... no checking kernel for thread.usersp... no checking kernel for thread.userrsp... no checking kernel for thread.debugreg0... yes checking kernel for thread.debugregs... no checking kernel for thread.i387... no checking kernel for thread.xstate... yes checking kernel for pt_regs.eflags... no checking kernel for pt_regs.flags... yes checking kernel symbol table for init_fpu... c010b080 checking kernel symbol table for xstate_size... c082891c checking kernel for restore_fpu_checking... yes checking kernel for 2.6.0 restore_fpu_checking... no checking kernel for 2.6.28 restore_fpu_checking... yes checking kernel for pt_regs.xcs... no checking kernel for pt_regs.xfs... no checking kernel for pt_regs.xgs... no checking kernel for pt_regs.cs... yes checking kernel for pt_regs.fs... yes checking kernel for pt_regs.gs... yes checking kernel for inode sem... no checking kernel for inode mutex... yes checking kernel for mm.dumpable... no checking kernel symbol table for get_dumpable... c01eeef0 checking kernel for task.rlim... no checking kernel for signal.rlim... yes checking kernel for task.cred... yes checking kernel for task.group_info... no checking kernel for suid_dumpable... yes checking kernel symbol table for suid_dumpable... c0899f3c checking kernel for set_dumpable... yes checking kernel symbol table for set_dumpable... c01eee90 checking kernel symbol table for groups_search... c0165140 checking kernel symbol table for supplemental_group_member... not found checking kernel for PIDTYPE_TGID... no checking kernel for task.thread_group... yes checking kernel symbol table for detach_pid... c015b500 checking kernel symbol table for attach_pid... c015b0b0 checking kernel symbol table for change_pid... c015b450 checking kernel symbol table for find_pid... not found checking kernel symbol table for link_pid... not found checking kernel for 1-arg find_pid... no checking kernel for 2-arg find_pid... no checking kernel for find_pid_ns... yes checking kernel for find_task_by_pid... no checking kernel for find_task_by_pid_ns... yes checking kernel for find_task_by_pid_type... no checking kernel for find_task_by_pid_type_ns... no checking kernel for alloc_pid... yes checking kernel for 0-arg alloc_pid... no checking kernel for 1-arg alloc_pid... yes checking kernel symbol table for free_pid... c015b3b0 checking kernel symbol table for pid_hash... c0854524 checking kernel symbol table for pidhash_shift... c0854528 checking kernel for pid_namespace.pid_cachep... yes checking kernel symbol table for pid_cachep... not found checking kernel symbol table for init_pid_ns... exported checking kernel for 2.6.0 attach_pid... no checking kernel for 2.6.22 attach_pid... no checking kernel for 2.6.26 attach_pid... yes checking kernel for change_pid... yes checking kernel for struct pidmap... yes checking kernel symbol table for pidmap_array... not found checking kernel symbol table for pidmap_lock... c074ea20 checking kernel for kill_pid... yes checking kernel for kill_proc... no checking kernel for child_reaper... no checking kernel for task_child_reaper... no checking kernel symbol table for child_reaper... not found checking kernel for task.parent... yes checking kernel for task.real_parent... yes checking kernel for kmem_cache_t... no checking kernel for gfp_t... yes checking kernel for kzalloc... yes checking kernel for kmem_cache_zalloc... yes checking kernel for kmemdup... yes checking kernel for pipe_inode_info.base... no checking kernel for pipe_buf_operations.pin... no checking kernel for 2-arg pipe_ops.unmap... no checking kernel for 3-arg pipe_ops.unmap... yes checking kernel symbol table for anon_pipe_buf_ops... c058a948 checking kernel for file_operations.check_flags... yes checking kernel for inode.i_mapping... yes checking kernel for file.f_mapping... yes checking kernel for 4-arg do_generic_file_read... no checking kernel for 5-arg do_generic_file_read... no checking kernel for read_descriptor_t.arg.data... yes checking kernel for read_descriptor_t.buf... no checking kernel for splice_direct_to_actor... yes checking kernel for 4-arg vfs_mknod... yes checking kernel for 5-arg vfs_mknod... no checking kernel for 2-arg vfs_unlink... yes checking kernel for 3-arg vfs_unlink... no checking kernel for 2-arg notify_change... yes checking kernel for 3-arg notify_change... no checking kernel for task.ptrace... yes checking kernel for task.ptracees... no checking kernel for task.ptraced... yes checking kernel for proc_root... no checking kernel for maximum kmalloc() allocation... 131072 checking kernel symbol table for tasklist_lock... c074e980 checking kernel symbol table for shmem_file_operations... c0589ac0 checking kernel symbol table for ramfs_file_operations... c0591180 checking kernel symbol table for HPAGE_SHIFT... not found checking kernel symbol table for phys_base... not found checking kernel symbol table for do_pipe... not found checking kernel symbol table for do_pipe_flags... c01f27f0 checking kernel symbol table for sys_munmap... c01d2970 checking kernel symbol table for sys_dup2... c01f7a50 checking kernel symbol table for sys_lseek... c01eb210 checking kernel symbol table for sys_ftruncate... c01e9cb0 checking kernel symbol table for sys_mprotect... c01d3b00 checking kernel symbol table for sys_setitimer... c014add0 checking kernel symbol table for sys_prctl... c0156490 checking kernel symbol table for copy_fs_struct... c020b1e0 checking kernel symbol table for put_fs_struct... not found checking kernel symbol table for free_fs_struct... c020b450 checking kernel symbol table for set_fs_pwd... c020b390 checking kernel symbol table for sys_mremap... c01d47a0 checking kernel symbol table for do_sigaction... c0153860 checking kernel symbol table for expand_files... c0200000 checking kernel symbol table for __flush_icache_range... not found checking kernel symbol table for sys_link... c01f66a0 checking kernel symbol table for lookup_create... exported checking kernel symbol table for exported register_chrdev... c01ee280 checking kernel symbol table for exported register_blkdev... c030c9e0 checking kernel for init_utsname... yes checking kernel for system_utsname... no configure: creating ./config.status config.status: creating cr_module/Makefile config.status: creating cr_module/kbuild/Makefile config.status: creating vmadump4/Makefile config.status: creating include/blcr_imports.h config.status: creating blcr_imports/imports.c config.status: creating blcr_imports/Makefile config.status: creating blcr_imports/kbuild/Makefile config.status: creating config/kbuild.mak config.status: creating Makefile config.status: creating etc/Makefile config.status: creating rpm/Makefile config.status: creating rpm/specfile config.status: creating include/Makefile config.status: creating include/blcr_common.h config.status: creating doc/Makefile config.status: creating blcr_config.h config.status: executing depfiles commands config.status: executing libtool commands ====================================================================== Please review the following configuration information: Kernel source directory = /lib/modules/2.6.31-14-generic-pae/build Kernel build directory = /lib/modules/2.6.31-14-generic-pae/build Kernel symbol table = /boot/System.map-2.6.31-14-generic-pae Kernel version probed from kernel build = 2.6.31-14-generic-pae Kernel running currently = 2.6.31-14-generic-pae ====================================================================== # We'll just trust the generated makefiles to run kbuild for now I think /usr/bin/make -C blcr_imports make[2]: Entering directory `/usr/src/modules/blcr/blcr_imports' Making all in . make[3]: Entering directory `/usr/src/modules/blcr/blcr_imports' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/modules/blcr/blcr_imports' Making all in kbuild make[3]: Entering directory `/usr/src/modules/blcr/blcr_imports/kbuild' /usr/bin/make -C /lib/modules/2.6.31-14-generic-pae/build KBUILD_EXTMOD=/usr/src/modules/blcr/blcr_imports/kbuild CC="gcc" make[4]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic-pae' Building modules, stage 2. MODPOST 0 modules make[4]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic-pae' make[3]: Leaving directory `/usr/src/modules/blcr/blcr_imports/kbuild' make[2]: Leaving directory `/usr/src/modules/blcr/blcr_imports' /usr/bin/make -C cr_module make[2]: Entering directory `/usr/src/modules/blcr/cr_module' Making all in kbuild make[3]: Entering directory `/usr/src/modules/blcr/cr_module/kbuild' /usr/bin/make -C /lib/modules/2.6.31-14-generic-pae/build KBUILD_EXTMOD=/usr/src/modules/blcr/cr_module/kbuild CC="gcc" make[4]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic-pae' Building modules, stage 2. MODPOST 0 modules make[4]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic-pae' make[3]: Leaving directory `/usr/src/modules/blcr/cr_module/kbuild' Making all in . make[3]: Entering directory `/usr/src/modules/blcr/cr_module' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/modules/blcr/cr_module' make[2]: Leaving directory `/usr/src/modules/blcr/cr_module' install -D -m 0644 /usr/src/modules/blcr/blcr_imports/kbuild/blcr_imports.ko \ debian/blcr-modules-2.6.31-14-generic-pae/lib/modules/2.6.31-14-generic-pae/blcr/blcr_imports.ko install: cannot stat `/usr/src/modules/blcr/blcr_imports/kbuild/blcr_imports.ko': No such file or directory make[1]: *** [binary-modules] Error 1 make[1]: Leaving directory `/usr/src/modules/blcr' make: *** [kdist_build] Error 2