Skip to contentSkip to conversation

ld.lld: error: undefined symbol: ptp_clock_register

DISCUSSION kernel test robot 1 participant 1 message Aug 10, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   374a7f47bf401441edff0a64465e61326bf70a82
commit: 1595ecce1cf32688760281f40b58b7a1d4a69aa9 wifi: iwlwifi: mvm: add support for PTP HW clock (PHC)
date:   5 months ago
config: arm64-randconfig-r011-20230810 (https://download.01.org/0day-ci/archive/20230811/[email protected]/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230811/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: ptp_clock_register
   >>> referenced by ptp.c:99 (drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:99)
   >>>               drivers/net/wireless/intel/iwlwifi/mvm/ptp.o:(iwl_mvm_ptp_init) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: ptp_clock_index
   >>> referenced by ptp.c:106 (drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:106)
   >>>               drivers/net/wireless/intel/iwlwifi/mvm/ptp.o:(iwl_mvm_ptp_init) in archive vmlinux.a
   >>> referenced by ptp.c:120 (drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:120)
   >>>               drivers/net/wireless/intel/iwlwifi/mvm/ptp.o:(iwl_mvm_ptp_remove) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: ptp_clock_unregister
   >>> referenced by ptp.c:124 (drivers/net/wireless/intel/iwlwifi/mvm/ptp.c:124)
   >>>               drivers/net/wireless/intel/iwlwifi/mvm/ptp.o:(iwl_mvm_ptp_remove) in archive vmlinux.a
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki