intel / intel/ethernet-linux-ixgbe

make fail at kernel 6.1.0-39-amd64 with ixgbe version:6.1.5

Open
#29 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
77
Forks
31
PR merge metrics
No merged PRs in 30d

Description

hi
I use this command to make :`make -j4 M=/tmp/ixgbe-6.1.5/src -C /lib/modules/6.1.0-39-amd64/build`
However, it failed and error is:`make: Entering directory '/usr/src/linux-headers-6.1.0-39-amd64'
CC [M] /tmp/ixgbe-6.1.5/src/ixgbe_main.o
CC [M] /tmp/ixgbe-6.1.5/src/ixgbe_api.o
CC [M] /tmp/ixgbe-6.1.5/src/ixgbe_common.o
CC [M] /tmp/ixgbe-6.1.5/src/ixgbe_dcb.o
In file included from /tmp/ixgbe-6.1.5/src/kcompat.h:979,
from /tmp/ixgbe-6.1.5/src/ixgbe_osdep.h:16,
from /tmp/ixgbe-6.1.5/src/ixgbe_type.h:45,
from /tmp/ixgbe-6.1.5/src/ixgbe_dcb.c:4:
/tmp/ixgbe-6.1.5/src/kcompat_defs.h:37:10: fatal error: kcompat_generated_defs.h: No such file or directory
37 | #include "kcompat_generated_defs.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /tmp/ixgbe-6.1.5/src/kcompat.h:979,
from /tmp/ixgbe-6.1.5/src/ixgbe_osdep.h:16,
from /tmp/ixgbe-6.1.5/src/ixgbe_type.h:45,
from /tmp/ixgbe-6.1.5/src/ixgbe_common.h:7,
from /tmp/ixgbe-6.1.5/src/ixgbe_common.c:4:
/tmp/ixgbe-6.1.5/src/kcompat_defs.h:37:10: fatal error: kcompat_generated_defs.h: No such file or directory
37 | #include "kcompat_generated_defs.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /tmp/ixgbe-6.1.5/src/kcompat.h:979,
from /tmp/ixgbe-6.1.5/src/ixgbe_osdep.h:16,
from /tmp/ixgbe-6.1.5/src/ixgbe_type.h:45,
from /tmp/ixgbe-6.1.5/src/ixgbe_api.h:7,
from /tmp/ixgbe-6.1.5/src/ixgbe_api.c:4:
/tmp/ixgbe-6.1.5/src/kcompat_defs.h:37:10: fatal error: kcompat_generated_defs.h: No such file or directory
37 | #include "kcompat_generated_defs.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [/usr/src/linux-headers-6.1.0-39-common/scripts/Makefile.build:255: /tmp/ixgbe-6.1.5/src/ixgbe_dcb.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-6.1.0-39-common/scripts/Makefile.build:255: /tmp/ixgbe-6.1.5/src/ixgbe_common.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.1.0-39-common/scripts/Makefile.build:255: /tmp/ixgbe-6.1.5/src/ixgbe_api.o] Error 1
In file included from /tmp/ixgbe-6.1.5/src/kcompat.h:979,
from /tmp/ixgbe-6.1.5/src/ixgbe_osdep.h:16,
from /tmp/ixgbe-6.1.5/src/ixgbe_type.h:45,
from /tmp/ixgbe-6.1.5/src/ixgbe_dcb.h:7,
from /tmp/ixgbe-6.1.5/src/ixgbe.h:25,
from /tmp/ixgbe-6.1.5/src/ixgbe_main.c:31:
/tmp/ixgbe-6.1.5/src/kcompat_defs.h:37:10: fatal error: kcompat_generated_defs.h: No such file or directory
37 | #include "kcompat_generated_defs.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [/usr/src/linux-headers-6.1.0-39-common/scripts/Makefile.build:255: /tmp/ixgbe-6.1.5/src/ixgbe_main.o] Error 1
make: *** [/usr/src/linux-headers-6.1.0-39-common/Makefile:2050: /tmp/ixgbe-6.1.5/src] Error 2
make: Leaving directory '/usr/src/linux-headers-6.1.0-39-amd64'`

Additionally, if I use make && make install, I will be installed sussesfully. But I need to install on the specified kernel and it failed. I don't know how to install on a specified kernel version.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.