pcap-dbus.o:undefined reference to `dbus_message_demarshal'

From: kernel test robot
Date: Mon Oct 09 2023 - 20:53:19 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 94f6f0550c625fab1f373bb86a6669b45e9748b3
commit: 10f4c9b9a33b7df000f74fa0d896351fb1a61e6a x86/asm: Fix build of UML with KASAN
date: 3 weeks ago
config: um-randconfig-001-20231010 (https://download.01.org/0day-ci/archive/20231010/202310100854.sQn1xMV5-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231010/202310100854.sQn1xMV5-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310100854.sQn1xMV5-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

/usr/bin/ld: arch/um/drivers/pcap.o: in function `dbus_write':
>> pcap-dbus.o:(.text+0x244ef): undefined reference to `dbus_message_demarshal'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x24505): undefined reference to `dbus_connection_send'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x2450e): undefined reference to `dbus_connection_flush'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x24516): undefined reference to `dbus_message_unref'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x24564): undefined reference to `dbus_error_free'
/usr/bin/ld: arch/um/drivers/pcap.o: in function `dbus_read':
>> pcap-dbus.o:(.text+0x245b0): undefined reference to `dbus_connection_pop_message'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x245d2): undefined reference to `dbus_connection_pop_message'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x245e8): undefined reference to `dbus_connection_read_write'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x24652): undefined reference to `dbus_message_is_signal'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x2466e): undefined reference to `dbus_message_marshal'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x246d6): undefined reference to `dbus_free'
/usr/bin/ld: arch/um/drivers/pcap.o: in function `dbus_cleanup':
>> pcap-dbus.o:(.text+0x2473c): undefined reference to `dbus_connection_unref'
/usr/bin/ld: arch/um/drivers/pcap.o: in function `dbus_activate':
>> pcap-dbus.o:(.text+0x247e6): undefined reference to `dbus_connection_open'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x247fe): undefined reference to `dbus_bus_register'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x248ec): undefined reference to `dbus_bus_add_match'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x248f4): undefined reference to `dbus_error_is_set'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x2493b): undefined reference to `dbus_bus_get'
/usr/bin/ld: pcap-dbus.o:(.text+0x2496c): undefined reference to `dbus_error_free'
/usr/bin/ld: pcap-dbus.o:(.text+0x2497d): undefined reference to `dbus_bus_add_match'
/usr/bin/ld: pcap-dbus.o:(.text+0x24985): undefined reference to `dbus_error_is_set'
/usr/bin/ld: pcap-dbus.o:(.text+0x249be): undefined reference to `dbus_error_free'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x249ca): undefined reference to `dbus_connection_unref'
/usr/bin/ld: pcap-dbus.o:(.text+0x249f6): undefined reference to `dbus_bus_get'
/usr/bin/ld: pcap-dbus.o:(.text+0x24a32): undefined reference to `dbus_error_free'
>> /usr/bin/ld: pcap-dbus.o:(.text+0x24a45): undefined reference to `dbus_connection_set_max_received_size'
/usr/bin/ld: pcap-dbus.o:(.text+0x24a56): undefined reference to `dbus_connection_unref'
/usr/bin/ld: pcap-dbus.o:(.text+0x24acc): undefined reference to `dbus_error_free'
/usr/bin/ld: pcap-dbus.o:(.text+0x24b0a): undefined reference to `dbus_error_free'
collect2: error: ld returned 1 exit status

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki