trouble compiling linux kernel from source
I am trying to compile a kernel from the source tree found at
https://github.com/fio-prf/em, and I am getting the following error when I
run make:
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date.
CC [M] drivers/md/persistent-data/dm-btree.o
In file included from drivers/md/persistent-data/dm-btree.c:7:
drivers/md/persistent-data/dm-btree-internal.h:39: error: redefinition of
'struct node'
make[3]: *** [drivers/md/persistent-data/dm-btree.o] Error 1
make[2]: *** [drivers/md/persistent-data] Error 2
make[1]: *** [drivers/md] Error 2
make: *** [drivers] Error 2
I downloaded the source tree to /usr/src/on my machine (running CentOS
6.4). I have never done this before and not very familiar with C, i'm not
sure what the issue is.
error while running make bzImage
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `relocs'.
HOSTCC scripts/unifdef
INSTALL include/asm-generic (35 files)
INSTALL include/drm (15 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/linux/hsi (1 file)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/netfilter/ipset (4 files)
make[4]: *** No rule to make target
`/usr/src/linux-3.6.0-swap/include/linux/netfilter/xt_CONNMARK.h', needed
by `/usr/src/linux-3.6.0-swap/usr/include/linux/netfilter/.install'.
Stop.
make[3]: *** [netfilter] Error 2
make[2]: *** [linux] Error 2
make[1]: *** [headers_install] Error 2
make: *** [vmlinux] Error 2
No comments:
Post a Comment