Unable to compile linux-kernel pulled from nf-next tree
Harsha Sharma
harshasharmaiitr at gmail.com
Tue Dec 19 11:45:02 EST 2017
On Tue, Dec 19, 2017 at 8:23 PM, <valdis.kletnieks at vt.edu> wrote:
> On Tue, 19 Dec 2017 18:33:51 +0530, Harsha Sharma said:
>
>> cp: cannot stat 'net/nsh/nsh.ko': No such file or directory
>
> There was almost certainly a compile error for this. Go back and look
> at the 'make' output.
>
> make |& tee build.output is your friend.
This is the output of make.
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/compile.h
SKIPPED include/generated/compile.h
LD arch/x86/boot/compressed/vmlinux
ZOFFSET arch/x86/boot/zoffset.h
AS arch/x86/boot/header.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
OBJCOPY arch/x86/boot/vmlinux.bin
BUILD arch/x86/boot/bzImage
Setup is 17116 bytes (padded to 17408 bytes).
System is 7617 kB
CRC 1ff44e6e
Kernel: arch/x86/boot/bzImage is ready (#4)
Building modules, stage 2.
MODPOST 4905 modules
fs/ufs/ufs.o: Invalid argument
scripts/Makefile.modpost:92: recipe for target '__modpost' failed
make[1]: *** [__modpost] Error 1
Makefile:1211: recipe for target 'modules' failed
make: *** [modules] Error 2
I have forwarded this to netfilter-devel mailing list.
Thanks a lot for your time.
More information about the Kernelnewbies
mailing list