p4factory
p4factory copied to clipboard
problems on make vxlan driver for INT
My OS is Ubuntu 16.04LTS
I wanna Build the VXLAN-GPE driver in 'apps/int/vxlan-gpe'
When I enter
sudo make
There's some errors below:
make -C /lib/modules/4.4.0-47-generic/build M= modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-47-generic'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'。 停止。
arch/x86/Makefile:199: recipe for target 'archheaders' failed
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-47-generic'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
Then , find the missing headers in Linux responsity, I ran it again, but it shows below,
make -C /lib/modules/4.4.0-47-generic/build M= modules make[1]: Entering directory /usr/src/linux-headers-4.4.0-47-generic' scripts/kconfig/conf --silentoldconfig Kconfig
Configuration file ".config" not found!
Please run some configurator (e.g. "make oldconfig" or "make menuconfig" or "make xconfig").
make[3]: *** [silentoldconfig] Error 1 make[2]: *** [silentoldconfig] Error 2
The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled.
make[1]: *** [modules] Error 1 make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-47-generic' make: *** [all] Error 2