ld: vmlinux.o: in function `marvell_phy_ptp_irq': (.text+0x2b073c9): undefined reference to `marvell_ts_irq' ld: vmlinux.o: in function `marvell_phy_ts_port_modify': marvell_ptp.c:(.text+0x2b07489): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_modify': marvell_ptp.c:(.text+0x2b0753d): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_hw_disable': marvell_ptp.c:(.text+0x2b075f4): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_hw_enable': marvell_ptp.c:(.text+0x2b07671): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_ts_port_write': marvell_ptp.c:(.text+0x2b07700): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_tai_write': marvell_ptp.c:(.text+0x2b077b2): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_ts_global_write': marvell_ptp.c:(.text+0x2b07832): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_ts_port_read_ts': marvell_ptp.c:(.text+0x2b0792d): undefined reference to `phy_select_page' ld: marvell_ptp.c:(.text+0x2b07968): undefined reference to `phy_restore_page' ld: marvell_ptp.c:(.text+0x2b079d1): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07a97): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07b58): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07c1c): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07cc3): undefined reference to `__mdiobus_write' ld: vmlinux.o: in function `marvell_phy_tai_aux_work': marvell_ptp.c:(.text+0x2b07e7d): undefined reference to `marvell_ts_aux_work' ld: vmlinux.o: in function `marvell_phy_tai_clock_read': marvell_ptp.c:(.text+0x2b07f2b): undefined reference to `phy_select_page' ld: marvell_ptp.c:(.text+0x2b07f67): undefined reference to `phy_restore_page' ld: marvell_ptp.c:(.text+0x2b08083): undefined reference to `__mdiobus_write' ld: marvell_ptp.c:(.text+0x2b0810d): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b08163): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b081d6): undefined reference to `__mdiobus_write' ld: vmlinux.o: in function `marvell_phy_ptp_ts_info': marvell_ptp.c:(.text+0x2b08328): undefined reference to `marvell_ts_info' ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp_get': marvell_ptp.c:(.text+0x2b083a8): undefined reference to `marvell_ts_hwtstamp_get' ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp': marvell_ptp.c:(.text+0x2b08432): undefined reference to `marvell_ts_hwtstamp_set' ld: vmlinux.o: in function `marvell_phy_ptp_txtstamp': marvell_ptp.c:(.text+0x2b0854d): undefined reference to `marvell_ts_txtstamp' ld: vmlinux.o: in function `marvell_phy_ptp_rxtstamp': marvell_ptp.c:(.text+0x2b08632): undefined reference to `marvell_ts_rxtstamp' ld: vmlinux.o: in function `devm_marvell_phy_ptp_probe': (.text+0x2b087ee): undefined reference to `devm_marvell_tai_probe' ld: (.text+0x2b0885c): undefined reference to `marvell_ts_global_config' ld: (.text+0x2b08887): undefined reference to `phy_write_paged' ld: (.text+0x2b088c1): undefined reference to `devm_marvell_ts_probe' make[3]: *** [../scripts/Makefile.vmlinux:91: vmlinux.unstripped] Error 1 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1244: vmlinux] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../kernel/sys.c:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1894:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:434:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../kernel/sys.c:1144:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1144:32: expected struct task_struct *p1 ../kernel/sys.c:1144:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1894:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:434:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" ld: vmlinux.o: in function `marvell_phy_ptp_irq': (.text+0x2b073c9): undefined reference to `marvell_ts_irq' ld: vmlinux.o: in function `marvell_phy_ts_port_modify': marvell_ptp.c:(.text+0x2b07489): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_modify': marvell_ptp.c:(.text+0x2b0753d): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_hw_disable': marvell_ptp.c:(.text+0x2b075f4): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_tai_hw_enable': marvell_ptp.c:(.text+0x2b07671): undefined reference to `phy_modify_paged' ld: vmlinux.o: in function `marvell_phy_ts_port_write': marvell_ptp.c:(.text+0x2b07700): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_tai_write': marvell_ptp.c:(.text+0x2b077b2): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_ts_global_write': marvell_ptp.c:(.text+0x2b07832): undefined reference to `phy_write_paged' ld: vmlinux.o: in function `marvell_phy_ts_port_read_ts': marvell_ptp.c:(.text+0x2b0792d): undefined reference to `phy_select_page' ld: marvell_ptp.c:(.text+0x2b07968): undefined reference to `phy_restore_page' ld: marvell_ptp.c:(.text+0x2b079d1): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07a97): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07b58): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07c1c): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b07cc3): undefined reference to `__mdiobus_write' ld: vmlinux.o: in function `marvell_phy_tai_aux_work': marvell_ptp.c:(.text+0x2b07e7d): undefined reference to `marvell_ts_aux_work' ld: vmlinux.o: in function `marvell_phy_tai_clock_read': marvell_ptp.c:(.text+0x2b07f2b): undefined reference to `phy_select_page' ld: marvell_ptp.c:(.text+0x2b07f67): undefined reference to `phy_restore_page' ld: marvell_ptp.c:(.text+0x2b08083): undefined reference to `__mdiobus_write' ld: marvell_ptp.c:(.text+0x2b0810d): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b08163): undefined reference to `__mdiobus_read' ld: marvell_ptp.c:(.text+0x2b081d6): undefined reference to `__mdiobus_write' ld: vmlinux.o: in function `marvell_phy_ptp_ts_info': marvell_ptp.c:(.text+0x2b08328): undefined reference to `marvell_ts_info' ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp_get': marvell_ptp.c:(.text+0x2b083a8): undefined reference to `marvell_ts_hwtstamp_get' ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp': marvell_ptp.c:(.text+0x2b08432): undefined reference to `marvell_ts_hwtstamp_set' ld: vmlinux.o: in function `marvell_phy_ptp_txtstamp': marvell_ptp.c:(.text+0x2b0854d): undefined reference to `marvell_ts_txtstamp' ld: vmlinux.o: in function `marvell_phy_ptp_rxtstamp': marvell_ptp.c:(.text+0x2b08632): undefined reference to `marvell_ts_rxtstamp' ld: vmlinux.o: in function `devm_marvell_phy_ptp_probe': (.text+0x2b087ee): undefined reference to `devm_marvell_tai_probe' ld: (.text+0x2b0885c): undefined reference to `marvell_ts_global_config' ld: (.text+0x2b08887): undefined reference to `phy_write_paged' ld: (.text+0x2b088c1): undefined reference to `devm_marvell_ts_probe' make[3]: *** [../scripts/Makefile.vmlinux:91: vmlinux.unstripped] Error 1 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1244: vmlinux] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.CVC7mZmNhC 2025-09-18 16:56:14.271430833 -0700 +++ /tmp/tmp.uFws0i9YUg 2025-09-18 16:59:51.525584814 -0700 @@ -7,0 +8,53 @@ +ld: vmlinux.o: in function `marvell_phy_ptp_irq': +(.text+0x2b073c9): undefined reference to `marvell_ts_irq' +ld: vmlinux.o: in function `marvell_phy_ts_port_modify': +marvell_ptp.c:(.text+0x2b07489): undefined reference to `phy_modify_paged' +ld: vmlinux.o: in function `marvell_phy_tai_modify': +marvell_ptp.c:(.text+0x2b0753d): undefined reference to `phy_modify_paged' +ld: vmlinux.o: in function `marvell_phy_tai_hw_disable': +marvell_ptp.c:(.text+0x2b075f4): undefined reference to `phy_modify_paged' +ld: vmlinux.o: in function `marvell_phy_tai_hw_enable': +marvell_ptp.c:(.text+0x2b07671): undefined reference to `phy_modify_paged' +ld: vmlinux.o: in function `marvell_phy_ts_port_write': +marvell_ptp.c:(.text+0x2b07700): undefined reference to `phy_write_paged' +ld: vmlinux.o: in function `marvell_phy_tai_write': +marvell_ptp.c:(.text+0x2b077b2): undefined reference to `phy_write_paged' +ld: vmlinux.o: in function `marvell_phy_ts_global_write': +marvell_ptp.c:(.text+0x2b07832): undefined reference to `phy_write_paged' +ld: vmlinux.o: in function `marvell_phy_ts_port_read_ts': +marvell_ptp.c:(.text+0x2b0792d): undefined reference to `phy_select_page' +ld: marvell_ptp.c:(.text+0x2b07968): undefined reference to `phy_restore_page' +ld: marvell_ptp.c:(.text+0x2b079d1): undefined reference to `__mdiobus_read' +ld: marvell_ptp.c:(.text+0x2b07a97): undefined reference to `__mdiobus_read' +ld: marvell_ptp.c:(.text+0x2b07b58): undefined reference to `__mdiobus_read' +ld: marvell_ptp.c:(.text+0x2b07c1c): undefined reference to `__mdiobus_read' +ld: marvell_ptp.c:(.text+0x2b07cc3): undefined reference to `__mdiobus_write' +ld: vmlinux.o: in function `marvell_phy_tai_aux_work': +marvell_ptp.c:(.text+0x2b07e7d): undefined reference to `marvell_ts_aux_work' +ld: vmlinux.o: in function `marvell_phy_tai_clock_read': +marvell_ptp.c:(.text+0x2b07f2b): undefined reference to `phy_select_page' +ld: marvell_ptp.c:(.text+0x2b07f67): undefined reference to `phy_restore_page' +ld: marvell_ptp.c:(.text+0x2b08083): undefined reference to `__mdiobus_write' +ld: marvell_ptp.c:(.text+0x2b0810d): undefined reference to `__mdiobus_read' +ld: marvell_ptp.c:(.text+0x2b08163): undefined reference to `__mdiobus_read' +ld: marvell_ptp.c:(.text+0x2b081d6): undefined reference to `__mdiobus_write' +ld: vmlinux.o: in function `marvell_phy_ptp_ts_info': +marvell_ptp.c:(.text+0x2b08328): undefined reference to `marvell_ts_info' +ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp_get': +marvell_ptp.c:(.text+0x2b083a8): undefined reference to `marvell_ts_hwtstamp_get' +ld: vmlinux.o: in function `marvell_phy_ptp_hwtstamp': +marvell_ptp.c:(.text+0x2b08432): undefined reference to `marvell_ts_hwtstamp_set' +ld: vmlinux.o: in function `marvell_phy_ptp_txtstamp': +marvell_ptp.c:(.text+0x2b0854d): undefined reference to `marvell_ts_txtstamp' +ld: vmlinux.o: in function `marvell_phy_ptp_rxtstamp': +marvell_ptp.c:(.text+0x2b08632): undefined reference to `marvell_ts_rxtstamp' +ld: vmlinux.o: in function `devm_marvell_phy_ptp_probe': +(.text+0x2b087ee): undefined reference to `devm_marvell_tai_probe' +ld: (.text+0x2b0885c): undefined reference to `marvell_ts_global_config' +ld: (.text+0x2b08887): undefined reference to `phy_write_paged' +ld: (.text+0x2b088c1): undefined reference to `devm_marvell_ts_probe' +make[3]: *** [../scripts/Makefile.vmlinux:91: vmlinux.unstripped] Error 1 +make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1244: vmlinux] Error 2 +make[2]: *** Waiting for unfinished jobs.... +make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown