Re: make test failed
[email protected] (Peter T. Breuer)
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Message-ID | <[email protected]> |
In article <[email protected]> you wrote: > yes, i think so. it took me too much time to figure that out. and i'm also sure > some of the Makefiles in your enbd package should get the blame, but obviously > [root@deb:enbd]# make -C /usr/src/linux SUBDIRS=`pwd` modules That's what the enbd makefile compiles. Script started on Sat Mar 26 19:27:50 2005 /usr/oboe/ptb/lang/c/nbd/nbd-2.4.32% sudo make LINUXDIR=/usr/local/src/linux-2.6.8.1-uml ... make[1]: Entering directory `/usr/local/src/linux-2.6.8.1-uml' *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies mkdir -p /tmp/linux-2.6.x/.tmp_versions make -f /usr/local/src/linux-2.6.8.1-uml/scripts/Makefile.build obj=arch/i386/ke rnel arch/i386/kernel/asm-offsets.s gcc -Wp,-MD,arch/i386/kernel/.asm-offsets.s.d -nostdinc -iwithprefix include - D__KERNEL__ -Iinclude -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-tr igraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-bo undary=2 -march=i686 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -I/home/oboe/ptb/lang/c/nbd/nbd-2.4.32/kernel/linux-2.6.x/include -DKBUILD_BAS ENAME=asm_offsets -DKBUILD_MODNAME=asm_offsets -S -o arch/i386/kernel/asm-offset s.s arch/i386/kernel/asm-offsets.c CHK include/asm-i386/asm_offsets.h make -f /usr/local/src/linux-2.6.8.1-uml/scripts/Makefile.build obj=/tmp/linux-2 .6.x/drivers/block/enbd gcc -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_base.o.d -nostdinc -iwit hprefix include -D__KERNEL__ -Iinclude -D__KERNEL__ -Iinclude -Wall -Wstrict-p rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mp referred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -O2 -fomi t-frame-pointer -I/home/oboe/ptb/lang/c/nbd/nbd-2.4.32/kernel/linux-2.6.x/inc lude -DKBUILD_BASENAME=enbd_base -DKBUILD_MODNAME=enbd -c -o /tmp/linux-2.6.x/dr ivers/block/enbd/enbd_base.o /tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c /tmp/linux-2.6.x/drivers/block/enbd/enbd_base.c:4356: warning: ènbd_read_block_ 0' defined but not used gcc -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_ioctl_stub.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -D__KERNEL__ -Iinclude -Wall -Wst rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-flo at -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -I/home/oboe/ptb/lang/c/nbd/nbd-2.4.32/kernel/linux-2.6 .x/include -DKBUILD_BASENAME=enbd_ioctl_stub -DKBUILD_MODNAME=enbd -c -o /tmp/li nux-2.6.x/drivers/block/enbd/enbd_ioctl_stub.o /tmp/linux-2.6.x/drivers/block/en bd/enbd_ioctl_stub.c [...] gcc -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd.mod.o.d -nostdinc -iwith prefix include -D__KERNEL__ -Iinclude -D__KERNEL__ -Iinclude -Wall -Wstrict-pr ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpr eferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -O2 -fomit -frame-pointer -DKBUILD_BASENAME=enbd -DKBUILD_MODNAME=enbd -I/home/oboe/ptb /lang/c/nbd/nbd-2.4.32/kernel/linux-2.6.x/include -c -o /tmp/linux-2.6.x/drivers /block/enbd/enbd.mod.o /tmp/linux-2.6.x/drivers/block/enbd/enbd.mod.c ld -m elf_i386 -r -o /tmp/linux-2.6.x/drivers/block/enbd/enbd.ko /tmp/linux-2. 6.x/drivers/block/enbd/enbd.o /tmp/linux-2.6.x/drivers/block/enbd/enbd.mod.o gcc -Wp,-MD,/tmp/linux-2.6.x/drivers/block/enbd/.enbd_ioctl.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -D__KERNEL__ -Iinclude -Wall -Wstr ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-floa t -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DKBUILD_BASENAME=enbd_ioctl -DKBUILD_MODNAME=enbd_ioct l -I/home/oboe/ptb/lang/c/nbd/nbd-2.4.32/kernel/linux-2.6.x/include -c -o /tmp/l inux-2.6.x/drivers/block/enbd/enbd_ioctl.mod.o /tmp/linux-2.6.x/drivers/block/en bd/enbd_ioctl.mod.c ld -m elf_i386 -r -o /tmp/linux-2.6.x/drivers/block/enbd/enbd_ioctl.ko /tmp/li nux-2.6.x/drivers/block/enbd/enbd_ioctl.o /tmp/linux-2.6.x/drivers/block/enbd/en bd_ioctl.mod.o make[1]: Leaving directory `/usr/local/src/linux-2.6.8.1-uml' /usr/oboe/ptb/lang/c/nbd/nbd-2.4.32^[[0;0m% exit Script done on Sat Mar 26 19:28:57 2005 And fin. > now i'm wondering is there a simple way to build just the user space daemons/tools, > excluding the enbd.ko and enbd_ioctl.ko ? As your mother probably said "you don't have to eat it if you don't want to". Making more than you want is not a hardship - you're not obliged to make use of the extra. But if you don't want to pass the extra time compiling, look at the Makefile for sets of targets you may prefer: all: utils module so I would guess that "make utils" is what you want. Peter