Re: [PATCH] usbip: tools: fix build error for multiple definition

2020-07-23 Thread Salvatore Bonaccorso
Hi, On Thu, Jun 18, 2020 at 11:36:39AM -0600, Shuah Khan wrote: > On 6/17/20 6:08 PM, Antonio Borneo wrote: > > With GCC 10, building usbip triggers error for multiple definition > > of 'udev_context', in: > > - libsrc/vhci_driver.c:18 and > > - libsrc/usbip_host_common.c:27. > > > > Declare as

Re: [PATCH] usbip: tools: fix build error for multiple definition

2020-06-18 Thread Shuah Khan
On 6/17/20 6:08 PM, Antonio Borneo wrote: With GCC 10, building usbip triggers error for multiple definition of 'udev_context', in: - libsrc/vhci_driver.c:18 and - libsrc/usbip_host_common.c:27. Declare as extern the definition in libsrc/usbip_host_common.c. Signed-off-by: Antonio Borneo ---

[PATCH] usbip: tools: fix build error for multiple definition

2020-06-17 Thread Antonio Borneo
With GCC 10, building usbip triggers error for multiple definition of 'udev_context', in: - libsrc/vhci_driver.c:18 and - libsrc/usbip_host_common.c:27. Declare as extern the definition in libsrc/usbip_host_common.c. Signed-off-by: Antonio Borneo --- tools/usb/usbip/libsrc/usbip_host_common.c