-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
When I execute the make command in the and_hsmp directory. I get the following output/error:
I am running on Ubuntu:
cat /etc/os-release
PRETTY_NAME="Ubuntu 25.04"
NAME="Ubuntu"
VERSION_ID="25.04"
VERSION="25.04 (Plucky Puffin)"
VERSION_CODENAME=plucky
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=plucky
LOGO=ubuntu-logo
make
make -C /lib/modules/`uname -r`/build M=$PWD modules
make[1]: Entering directory '/usr/src/linux-headers-6.14.0-32-generic'
make[2]: Entering directory '/home/user1/amd_hsmp'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-14 (Ubuntu 14.2.0-19ubuntu2) 14.2.0
You are using: gcc-14 (Ubuntu 14.2.0-19ubuntu2) 14.2.0
CC [M] acpi.o
LD [M] hsmp_acpi.o
CC [M] hsmp.o
CC [M] hwmon.o
LD [M] hsmp_common.o
CC [M] plat.o
plat.c: In function ‘init_platform_device’:
plat.c:212:68: error: ‘struct amd_northbridge’ has no member named ‘root’
212 | sock->root = node_to_amd_nb(i)->root;
| ^~
make[4]: *** [/usr/src/linux-headers-6.14.0-32-generic/scripts/Makefile.build:207: plat.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.14.0-32-generic/Makefile:1997: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.14.0-32-generic/Makefile:251: __sub-make] Error 2
make[2]: Leaving directory '/home/user1/amd_hsmp'
make[1]: *** [Makefile:251: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-32-generic'
make: *** [Makefile:16: default] Error 2
Metadata
Metadata
Assignees
Labels
No labels