You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here the logs
wilh@wilhelm-think:/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux$ sudo make
make -j4 -C /lib/modules/6.8.0-50-generic/build M="/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux" modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-50-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu224.04) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu224.04) 13.3.0
CC [M] /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.o
CC [M] /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/hw_atl/hw_atl_utils.o
CC [M] /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/hw_atl/hw_atl_utils_fw2x.o
CC [M] /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/hw_atl/hw_atl_llh.o
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:989:63: warning: ‘struct ethtool_keee’ declared inside parameter list will not be visible outside of this definition or declaration
989 | static int aq_ethtool_get_eee(struct net_device *ndev, struct ethtool_keee *eee)
| ^~~~~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c: In function ‘aq_ethtool_get_eee’:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1005:37: error: invalid use of undefined type ‘struct ethtool_keee’
1005 | eee_mask_to_ethtool_mask(eee->supported, supported_rates);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1008:34: error: invalid use of undefined type ‘struct ethtool_keee’
1008 | linkmode_copy(eee->advertised, eee->supported);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1008:51: error: invalid use of undefined type ‘struct ethtool_keee’
1008 | linkmode_copy(eee->advertised, eee->supported);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1010:37: error: invalid use of undefined type ‘struct ethtool_keee’
1010 | eee_mask_to_ethtool_mask(eee->lp_advertised, rate);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1012:12: error: invalid use of undefined type ‘struct ethtool_keee’
1012 | eee->eee_enabled = !linkmode_empty(eee->advertised);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1012:47: error: invalid use of undefined type ‘struct ethtool_keee’
1012 | eee->eee_enabled = !linkmode_empty(eee->advertised);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1014:12: error: invalid use of undefined type ‘struct ethtool_keee’
1014 | eee->tx_lpi_enabled = eee->eee_enabled;
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1014:34: error: invalid use of undefined type ‘struct ethtool_keee’
1014 | eee->tx_lpi_enabled = eee->eee_enabled;
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1016:20: error: invalid use of undefined type ‘struct ethtool_keee’
1016 | eee->eee_active = true;
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c: At top level:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1056:63: warning: ‘struct ethtool_keee’ declared inside parameter list will not be visible outside of this definition or declaration
1056 | static int aq_ethtool_set_eee(struct net_device *ndev, struct ethtool_keee eee)
| ^~~~~~~~~~~~
In file included from ./include/asm-generic/bug.h:22,
from ./arch/x86/include/asm/bug.h:87,
from ./include/linux/bug.h:5,
from ./arch/x86/include/asm/paravirt.h:19,
from ./arch/x86/include/asm/cpuid.h:62,
from ./arch/x86/include/asm/processor.h:19,
from ./include/linux/sched.h:13,
from ./include/linux/ratelimit.h:6,
from ./include/linux/dev_printk.h:16,
from ./include/linux/device.h:15,
from ./include/linux/pm_runtime.h:11,
from /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:10:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c: In function ‘aq_ethtool_set_eee’:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1068:70: error: invalid use of undefined type ‘struct ethtool_keee’
1068 | aq_pr_verbose(aq_nic, AQ_MSG_DEBUG, "eee_enabled = %d\n", eee->eee_enabled);
| ^~
./include/linux/printk.h:429:33: note: in definition of macro ‘printk_index_wrap’
429 | _p_func(_fmt, ##VA_ARGS);
| ^~~~~~~~~~~
./include/linux/printk.h:520:9: note: in expansion of macro ‘printk’
520 | printk(KERN_NOTICE pr_fmt(fmt), ##VA_ARGS)
| ^~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_hw_utils.h:30:17: note: in expansion of macro ‘pr_notice’
30 | pr_notice("[%s:%d(%s)]" fmt,
| ^~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1068:9: note: in expansion of macro ‘aq_pr_verbose’
1068 | aq_pr_verbose(aq_nic, AQ_MSG_DEBUG, "eee_enabled = %d\n", eee->eee_enabled);
| ^~~~~~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1080:16: error: invalid use of undefined type ‘struct ethtool_keee’
1080 | if (eee->eee_enabled) {
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c: At top level:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1612:32: error: initialization of ‘int ()(struct net_device *, struct ethtool_eee )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_keee )’ [-Werror=incompatible-pointer-types]
1612 | .get_eee = aq_ethtool_get_eee,
| ^~~~~~~~~~~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1612:32: note: (near initialization for ‘aq_ethtool_ops.get_eee’)
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1613:32: error: initialization of ‘int ()(struct net_device *, struct ethtool_eee )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_keee *)’ [-Werror=incompatible-pointer-types]
1613 | .set_eee = aq_ethtool_set_eee,
| ^~~~~~~~~~~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1613:32: note: (near initialization for ‘aq_ethtool_ops.set_eee’)
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.8.0-50-generic/Makefile:1925: /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-50-generic'
make: *** [Makefile:36: all] Error 2
wilh@wilhelm-think:/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux$
The text was updated successfully, but these errors were encountered:
Issue when trying to install onto my Lenovo M70q (Linux wilhelm-think 6.8.0-50-generic #51-Ubuntu SMP PREEMPT_DYNAMIC Sat Nov 9 17:58:29 UTC 2024 x86_64 x86_64 x86_64 GNU/Lin), where I have the network card https://es.aliexpress.com/item/1005006467470470.html?spm=a2g0o.order_list.order_list_main.5.390b194d6y3zVc&gatewayAdapt=glo2esp in the M.2 slot
here the logs
wilh@wilhelm-think:/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux$ sudo make
make -j4 -C /lib/modules/6.8.0-50-generic/build M="/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux" modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-50-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu224.04) 13.3.0
You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu224.04) 13.3.0
CC [M] /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.o
CC [M] /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/hw_atl/hw_atl_utils.o
CC [M] /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/hw_atl/hw_atl_utils_fw2x.o
CC [M] /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/hw_atl/hw_atl_llh.o
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:989:63: warning: ‘struct ethtool_keee’ declared inside parameter list will not be visible outside of this definition or declaration
989 | static int aq_ethtool_get_eee(struct net_device *ndev, struct ethtool_keee *eee)
| ^~~~~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c: In function ‘aq_ethtool_get_eee’:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1005:37: error: invalid use of undefined type ‘struct ethtool_keee’
1005 | eee_mask_to_ethtool_mask(eee->supported, supported_rates);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1008:34: error: invalid use of undefined type ‘struct ethtool_keee’
1008 | linkmode_copy(eee->advertised, eee->supported);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1008:51: error: invalid use of undefined type ‘struct ethtool_keee’
1008 | linkmode_copy(eee->advertised, eee->supported);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1010:37: error: invalid use of undefined type ‘struct ethtool_keee’
1010 | eee_mask_to_ethtool_mask(eee->lp_advertised, rate);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1012:12: error: invalid use of undefined type ‘struct ethtool_keee’
1012 | eee->eee_enabled = !linkmode_empty(eee->advertised);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1012:47: error: invalid use of undefined type ‘struct ethtool_keee’
1012 | eee->eee_enabled = !linkmode_empty(eee->advertised);
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1014:12: error: invalid use of undefined type ‘struct ethtool_keee’
1014 | eee->tx_lpi_enabled = eee->eee_enabled;
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1014:34: error: invalid use of undefined type ‘struct ethtool_keee’
1014 | eee->tx_lpi_enabled = eee->eee_enabled;
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1016:20: error: invalid use of undefined type ‘struct ethtool_keee’
1016 | eee->eee_active = true;
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c: At top level:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1056:63: warning: ‘struct ethtool_keee’ declared inside parameter list will not be visible outside of this definition or declaration
1056 | static int aq_ethtool_set_eee(struct net_device *ndev, struct ethtool_keee eee)
| ^~~~~~~~~~~~
In file included from ./include/asm-generic/bug.h:22,
from ./arch/x86/include/asm/bug.h:87,
from ./include/linux/bug.h:5,
from ./arch/x86/include/asm/paravirt.h:19,
from ./arch/x86/include/asm/cpuid.h:62,
from ./arch/x86/include/asm/processor.h:19,
from ./include/linux/sched.h:13,
from ./include/linux/ratelimit.h:6,
from ./include/linux/dev_printk.h:16,
from ./include/linux/device.h:15,
from ./include/linux/pm_runtime.h:11,
from /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:10:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c: In function ‘aq_ethtool_set_eee’:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1068:70: error: invalid use of undefined type ‘struct ethtool_keee’
1068 | aq_pr_verbose(aq_nic, AQ_MSG_DEBUG, "eee_enabled = %d\n", eee->eee_enabled);
| ^~
./include/linux/printk.h:429:33: note: in definition of macro ‘printk_index_wrap’
429 | _p_func(_fmt, ##VA_ARGS);
| ^~~~~~~~~~~
./include/linux/printk.h:520:9: note: in expansion of macro ‘printk’
520 | printk(KERN_NOTICE pr_fmt(fmt), ##VA_ARGS)
| ^~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_hw_utils.h:30:17: note: in expansion of macro ‘pr_notice’
30 | pr_notice("[%s:%d(%s)]" fmt,
| ^~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1068:9: note: in expansion of macro ‘aq_pr_verbose’
1068 | aq_pr_verbose(aq_nic, AQ_MSG_DEBUG, "eee_enabled = %d\n", eee->eee_enabled);
| ^~~~~~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1080:16: error: invalid use of undefined type ‘struct ethtool_keee’
1080 | if (eee->eee_enabled) {
| ^~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c: At top level:
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1612:32: error: initialization of ‘int ()(struct net_device *, struct ethtool_eee )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_keee )’ [-Werror=incompatible-pointer-types]
1612 | .get_eee = aq_ethtool_get_eee,
| ^~~~~~~~~~~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1612:32: note: (near initialization for ‘aq_ethtool_ops.get_eee’)
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1613:32: error: initialization of ‘int ()(struct net_device *, struct ethtool_eee )’ from incompatible pointer type ‘int ()(struct net_device *, struct ethtool_keee *)’ [-Werror=incompatible-pointer-types]
1613 | .set_eee = aq_ethtool_set_eee,
| ^~~~~~~~~~~~~~~~~~
/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.c:1613:32: note: (near initialization for ‘aq_ethtool_ops.set_eee’)
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux/aq_ethtool.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.8.0-50-generic/Makefile:1925: /media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-50-generic'
make: *** [Makefile:36: all] Error 2
wilh@wilhelm-think:/media/wilh/2TB/driver/07-18-24_Marvell_Linux_2.5.12/Linux$
The text was updated successfully, but these errors were encountered: