recent version of libusb in wine-5.7

Questions about Wine on Linux
Locked
solar_vibe
Level 1
Level 1
Posts: 8
Joined: Mon Jul 20, 2009 9:27 pm

recent version of libusb in wine-5.7

Post by solar_vibe »

For wine-5.7, I noticed,
"configure: Check for a recent enough version of libusb." [1]

I compiled libusb-1.0.23, and yet during configure, wine still displays
"configure: libusb-1.0 development files not found (or too old), USB devices won't be supported."

During configure, I also notice
"checking libusb.h usability... yes
checking libusb.h presence... yes
checking for libusb.h... yes
checking for libusb_interrupt_event_handler in -lusb-1.0... no"

My wine configure line is:
configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-x --libdir=/usr/lib32 CFLAGS="-O2 -march=i486 -mtune=i686"

Would getting the "event_handler" line to display "yes", eliminate the "libusb-1.0 development files not found" line?

Is there a configure option or flag, when compiling wine or libusb, that turns the "event_handler" line to "yes"?


[1] https://www.winehq.org/announce/5.7
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: recent version of libusb in wine-5.7

Post by spoon0042 »

You're building 32 bit I assume? And you did install (32 bit) libusb to /usr/lib32 and headers under /usr/include?

You can look at config.log to see specifically what it's looking for and what is failing.
solar_vibe
Level 1
Level 1
Posts: 8
Joined: Mon Jul 20, 2009 9:27 pm

Re: recent version of libusb in wine-5.7

Post by solar_vibe »

Yes, a 32 bit wine-5.8 I am building now.
Yes, I compiled and packaged libusb to install to /usr/lib32 and libusb_dev package to install to /usr/include.

Looking at the wine config.log, I fail to understand the specifics.

partial snip of config.log:

configure:13932: libusb-1.0 cflags: -I/usr/include/libusb-1.0
configure:13933: libusb-1.0 libs: -lusb-1.0
configure:13936: checking libusb.h usability
configure:13936: gcc -c -g -O0 -fno-optimize-sibling-calls -fno-omit-frame-pointer -fno-inline -march=i486 -mtune=i686 -I/usr/include/libusb-1.0 conftest.c >&5
configure:13936: $? = 0
configure:13936: result: yes
configure:13936: checking libusb.h presence
configure:13936: gcc -E -I/usr/include/libusb-1.0 conftest.c
configure:13936: $? = 0
configure:13936: result: yes
configure:13936: checking for libusb.h
configure:13936: result: yes
configure:13938: checking for libusb_interrupt_event_handler in -lusb-1.0
configure:13963: gcc -o conftest -g -O0 -fno-optimize-sibling-calls -fno-omit-frame-pointer -fno-inline -march=i486 -mtune=i686 -I/usr/include/libusb-1.0 conftest.c -lusb-1.0 -lusb-1.0 >&5
/tmp/cc3vZyod.o: In function `main':
/opt/wine-5.8_build/conftest.c:185: undefined reference to `libusb_interrupt_event_handler'
collect2: error: ld returned 1 exit status
configure:13963: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "5.8"
| #define PACKAGE_STRING "Wine 5.8"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "https://www.winehq.org"
| #define EXEEXT ""
| #define _FILE_OFFSET_BITS 64
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_AL_AL_H 1
| #define HAVE_EGL_EGL_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_ASM_TYPES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ELF_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_GRP_H 1
| #define HAVE_GSM_H 1
| #define HAVE_GSM_GSM_H 1
| #define HAVE_LINK_H 1
| #define HAVE_LINUX_CDROM_H 1
| #define HAVE_LINUX_FILTER_H 1
| #define HAVE_LINUX_HDREG_H 1
| #define HAVE_LINUX_HIDRAW_H 1
| #define HAVE_LINUX_INPUT_H 1
| #define HAVE_LINUX_IOCTL_H 1
| #define HAVE_LINUX_JOYSTICK_H 1
| #define HAVE_LINUX_MAJOR_H 1
| #define HAVE_LINUX_PARAM_H 1
| #define HAVE_LINUX_SERIAL_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_MNTENT_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_PCAP_PCAP_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SASL_SASL_H 1
| #define HAVE_SCHED_H 1
| #define HAVE_SCSI_SCSI_H 1
| #define HAVE_SCSI_SCSI_IOCTL_H 1
| #define HAVE_SCSI_SG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_AUXV_H 1
| #define HAVE_SYS_EPOLL_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MSG_H 1
| #define HAVE_SYS_MTIO_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_PRCTL_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_QUEUE_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SOCKETVAR_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_SYSCALL_H 1
| #define HAVE_SYS_SYSINFO_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYSCALL_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define MAJOR_IN_SYSMACROS 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NET_IF_H 1
| #define HAVE_NET_IF_ARP_H 1
| #define HAVE_NET_ROUTE_H 1
| #define HAVE_NETINET_IF_ETHER_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_NETINET_UDP_H 1
| #define HAVE_NETIPX_IPX_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_LINUX_IPX_H 1
| #define HAVE_LINUX_IRDA_H 1
| #define HAVE_LINUX_RTNETLINK_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_SYS_UCONTEXT_H 1
| #define HAVE_LINUX_VIDEODEV2_H 1
| #define SONAME_LIBX11 "libX11.so.6"
| #define SONAME_LIBXEXT "libXext.so.6"
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XKBLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_X11_XCURSOR_XCURSOR_H 1
| #define HAVE_X11_EXTENSIONS_SHAPE_H 1
| #define HAVE_X11_EXTENSIONS_XINPUT_H 1
| #define HAVE_X11_EXTENSIONS_XINPUT2_H 1
| #define HAVE_X11_EXTENSIONS_XSHM_H 1
| #define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1
| #define HAVE_X11_EXTENSIONS_XFIXES_H 1
| #define HAVE_X11_EXTENSIONS_XINERAMA_H 1
| #define HAVE_X11_EXTENSIONS_XRANDR_H 1
| #define HAVE_X11_EXTENSIONS_XRENDER_H 1
| #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
| #define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1
| #define HAVE_XKB 1
| #define SONAME_LIBXCURSOR "libXcursor.so.1"
| #define SONAME_LIBXI "libXi.so.6"
| #define HAVE_LIBXXSHM 1
| #define HAVE_LIBXSHAPE 1
| #define SONAME_LIBXXF86VM "libXxf86vm.so.1"
| #define SONAME_LIBXRENDER "libXrender.so.1"
| #define HAVE_XRENDERSETPICTURETRANSFORM 1
| #define HAVE_XRENDERCREATELINEARGRADIENT 1
| #define SONAME_LIBXRANDR "libXrandr.so.2"
| #define HAVE_XRRGETSCREENRESOURCES 1
| #define HAVE_XRRGETPROVIDERRESOURCES 1
| #define SONAME_LIBXFIXES "libXfixes.so.3"
| #define SONAME_LIBXINERAMA "libXinerama.so.1"
| #define SONAME_LIBXCOMPOSITE "libXcomposite.so.1"
| #define HAVE_XICCALLBACK_CALLBACK 1
| #define HAVE_XEVENT_XCOOKIE 1
| #define SONAME_LIBGL "libGL.so.1"
| #define SONAME_LIBGLU "libGLU.so.1"
| #define HAVE_LIBXML_PARSER_H 1
| #define HAVE_LIBXML_XMLSAVE_H 1
| #define HAVE_LIBXML_SAX2_H 1
| #define HAVE_LIBXML2 1
| #define HAVE_XMLREADMEMORY 1
| #define HAVE_XMLNEWDOCPI 1
| #define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1
| #define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1
| #define HAVE_XMLFIRSTELEMENTCHILD 1
| #define HAVE_XMLDOC_PROPERTIES 1
| #define HAVE_LIBXSLT_PATTERN_H 1
| #define HAVE_LIBXSLT_TRANSFORM_H 1
| #define SONAME_LIBXSLT "libxslt.so.1"
| #define HAVE_SYS_INOTIFY_H 1
| #define SONAME_LIBDBUS_1 "libdbus-1.so.3"
| #define SONAME_LIBGNUTLS "libgnutls.so.26"
| #define HAVE_GNUTLS_CIPHER_INIT 1
| #define SONAME_LIBNCURSES "libncurses.so.5"
| #define HAVE_MOUSEMASK 1
| #define SONAME_LIBSANE "libsane.so.1"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char libusb_interrupt_event_handler ();
| int
| main ()
| {
| return libusb_interrupt_event_handler ();
| ;
| return 0;
| }
configure:13972: result: no
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: recent version of libusb in wine-5.7

Post by spoon0042 »

Weird. Only thing I can think of is to double check that's where the file was installed and that it actually defines that function. Like if it went somewhere else and the one in /usr/include is still the old version? Otherwise I'm kind of stumped.
solar_vibe
Level 1
Level 1
Posts: 8
Joined: Mon Jul 20, 2009 9:27 pm

Re: recent version of libusb in wine-5.7

Post by solar_vibe »

I started again, thinking I missed something.
I uninstalled my distro's builtin 'libusb' and 'libusb1'.
I compiled libusb again and started the compile for wine-5.8 again. With both I left out "--libdir=/usr/lib32" in the config line.

libusb_dev package installed to /usr/include/libusb-1.0/libusb.h

snip of new config.log:
configure:13932: libusb-1.0 cflags: -I/usr/include/libusb-1.0
configure:13933: libusb-1.0 libs: -lusb-1.0
configure:13936: checking libusb.h usability
configure:13936: gcc -c -O2 -march=i486 -mtune=i686 -I/usr/include/libusb-1.0 conftest.c >&5
configure:13936: $? = 0
configure:13936: result: yes
configure:13936: checking libusb.h presence
configure:13936: gcc -E -I/usr/include/libusb-1.0 conftest.c
configure:13936: $? = 0
configure:13936: result: yes
configure:13936: checking for libusb.h
configure:13936: result: yes
configure:13938: checking for libusb_interrupt_event_handler in -lusb-1.0
configure:13963: gcc -o conftest -O2 -march=i486 -mtune=i686 -I/usr/include/libusb-1.0 conftest.c -lusb-1.0 -lusb-1.0 >&5
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-io.o): In function `handle_events':
io.c:(.text+0x9f7): undefined reference to `pthread_getspecific'
io.c:(.text+0xa26): undefined reference to `pthread_setspecific'
io.c:(.text+0xc30): undefined reference to `pthread_setspecific'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-io.o): In function `libusb_try_lock_events':
io.c:(.text+0x15ac): undefined reference to `pthread_mutex_trylock'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-io.o): In function `usbi_io_init':
io.c:(.text+0x21a3): undefined reference to `pthread_key_create'
io.c:(.text+0x2321): undefined reference to `pthread_key_delete'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-io.o): In function `usbi_io_exit':
io.c:(.text+0x2431): undefined reference to `pthread_key_delete'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_device_info':
linux_udev.c:(.text+0x11): undefined reference to `udev_device_get_devnode'
linux_udev.c:(.text+0x1f): undefined reference to `udev_device_get_sysname'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `udev_hotplug_event':
linux_udev.c:(.text+0x8f): undefined reference to `udev_device_get_action'
linux_udev.c:(.text+0xdb): undefined reference to `udev_device_unref'
linux_udev.c:(.text+0x154): undefined reference to `udev_device_unref'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_event_thread_main':
linux_udev.c:(.text+0x257): undefined reference to `udev_monitor_receive_device'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_start_event_monitor':
linux_udev.c:(.text+0x312): undefined reference to `udev_new'
linux_udev.c:(.text+0x32f): undefined reference to `udev_monitor_new_from_netlink'
linux_udev.c:(.text+0x354): undefined reference to `udev_monitor_filter_add_match_subsystem_devtype'
linux_udev.c:(.text+0x369): undefined reference to `udev_monitor_enable_receiving'
linux_udev.c:(.text+0x380): undefined reference to `udev_monitor_get_fd'
linux_udev.c:(.text+0x401): undefined reference to `pthread_create'
linux_udev.c:(.text+0x479): undefined reference to `udev_monitor_unref'
linux_udev.c:(.text+0x49a): undefined reference to `udev_unref'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_stop_event_monitor':
linux_udev.c:(.text+0x736): undefined reference to `pthread_join'
linux_udev.c:(.text+0x743): undefined reference to `udev_monitor_unref'
linux_udev.c:(.text+0x764): undefined reference to `udev_unref'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_scan_devices':
linux_udev.c:(.text+0x85c): undefined reference to `udev_enumerate_new'
linux_udev.c:(.text+0x880): undefined reference to `udev_enumerate_add_match_subsystem'
linux_udev.c:(.text+0x898): undefined reference to `udev_enumerate_add_match_property'
linux_udev.c:(.text+0x8a0): undefined reference to `udev_enumerate_scan_devices'
linux_udev.c:(.text+0x8a8): undefined reference to `udev_enumerate_get_list_entry'
linux_udev.c:(.text+0x8bc): undefined reference to `udev_list_entry_get_name'
linux_udev.c:(.text+0x8d7): undefined reference to `udev_device_new_from_syspath'
linux_udev.c:(.text+0x925): undefined reference to `udev_device_unref'
linux_udev.c:(.text+0x92d): undefined reference to `udev_list_entry_get_next'
linux_udev.c:(.text+0x93f): undefined reference to `udev_enumerate_unref'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-linux_udev.o): In function `linux_udev_hotplug_poll':
linux_udev.c:(.text+0x9b9): undefined reference to `udev_monitor_receive_device'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-core.o): In function `libusb_close':
core.c:(.text+0x14c7): undefined reference to `pthread_getspecific'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-sync.o): In function `do_sync_bulk_transfer':
sync.c:(.text+0xfd): undefined reference to `pthread_getspecific'
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libusb-1.0.a(libusb_1_0_la-sync.o): In function `libusb_control_transfer':
sync.c:(.text+0x28e): undefined reference to `pthread_getspecific'
collect2: error: ld returned 1 exit status
configure:13963: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "5.8"
| #define PACKAGE_STRING "Wine 5.8"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL "https://www.winehq.org"
| #define EXEEXT ""
| #define _FILE_OFFSET_BITS 64
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_EGL_EGL_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_ASM_TYPES_H 1
| #define HAVE_CURSES_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ELF_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_GRP_H 1
| #define HAVE_GSM_H 1
| #define HAVE_GSM_GSM_H 1
| #define HAVE_LINK_H 1
| #define HAVE_LINUX_CDROM_H 1
| #define HAVE_LINUX_FILTER_H 1
| #define HAVE_LINUX_HDREG_H 1
| #define HAVE_LINUX_HIDRAW_H 1
| #define HAVE_LINUX_INPUT_H 1
| #define HAVE_LINUX_IOCTL_H 1
| #define HAVE_LINUX_JOYSTICK_H 1
| #define HAVE_LINUX_MAJOR_H 1
| #define HAVE_LINUX_PARAM_H 1
| #define HAVE_LINUX_SERIAL_H 1
| #define HAVE_LINUX_TYPES_H 1
| #define HAVE_MNTENT_H 1
| #define HAVE_NCURSES_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_IN_SYSTM_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_PCAP_PCAP_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SASL_SASL_H 1
| #define HAVE_SCHED_H 1
| #define HAVE_SCSI_SCSI_H 1
| #define HAVE_SCSI_SCSI_IOCTL_H 1
| #define HAVE_SCSI_SG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STROPTS_H 1
| #define HAVE_SYS_AUXV_H 1
| #define HAVE_SYS_EPOLL_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MSG_H 1
| #define HAVE_SYS_MTIO_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_PRCTL_H 1
| #define HAVE_SYS_PTRACE_H 1
| #define HAVE_SYS_QUEUE_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SHM_H 1
| #define HAVE_SYS_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SOCKETVAR_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_SYSCALL_H 1
| #define HAVE_SYS_SYSINFO_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYSCALL_H 1
| #define HAVE_TERMIOS_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define MAJOR_IN_SYSMACROS 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_USER_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_NETINET_IP_H 1
| #define HAVE_NET_IF_H 1
| #define HAVE_NET_IF_ARP_H 1
| #define HAVE_NET_ROUTE_H 1
| #define HAVE_NETINET_IF_ETHER_H 1
| #define HAVE_NETINET_IP_ICMP_H 1
| #define HAVE_NETINET_UDP_H 1
| #define HAVE_NETIPX_IPX_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_LINUX_IPX_H 1
| #define HAVE_LINUX_IRDA_H 1
| #define HAVE_LINUX_RTNETLINK_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_IFADDRS_H 1
| #define HAVE_SYS_UCONTEXT_H 1
| #define HAVE_LINUX_VIDEODEV2_H 1
| #define SONAME_LIBX11 "libX11.so.6"
| #define SONAME_LIBXEXT "libXext.so.6"
| #define HAVE_X11_XLIB_H 1
| #define HAVE_X11_XKBLIB_H 1
| #define HAVE_X11_XUTIL_H 1
| #define HAVE_X11_XCURSOR_XCURSOR_H 1
| #define HAVE_X11_EXTENSIONS_SHAPE_H 1
| #define HAVE_X11_EXTENSIONS_XINPUT_H 1
| #define HAVE_X11_EXTENSIONS_XINPUT2_H 1
| #define HAVE_X11_EXTENSIONS_XSHM_H 1
| #define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1
| #define HAVE_X11_EXTENSIONS_XFIXES_H 1
| #define HAVE_X11_EXTENSIONS_XINERAMA_H 1
| #define HAVE_X11_EXTENSIONS_XRANDR_H 1
| #define HAVE_X11_EXTENSIONS_XRENDER_H 1
| #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
| #define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1
| #define HAVE_XKB 1
| #define SONAME_LIBXCURSOR "libXcursor.so.1"
| #define SONAME_LIBXI "libXi.so.6"
| #define HAVE_LIBXXSHM 1
| #define HAVE_LIBXSHAPE 1
| #define SONAME_LIBXXF86VM "libXxf86vm.so.1"
| #define SONAME_LIBXRENDER "libXrender.so.1"
| #define HAVE_XRENDERSETPICTURETRANSFORM 1
| #define HAVE_XRENDERCREATELINEARGRADIENT 1
| #define SONAME_LIBXRANDR "libXrandr.so.2"
| #define HAVE_XRRGETSCREENRESOURCES 1
| #define HAVE_XRRGETPROVIDERRESOURCES 1
| #define SONAME_LIBXFIXES "libXfixes.so.3"
| #define SONAME_LIBXINERAMA "libXinerama.so.1"
| #define SONAME_LIBXCOMPOSITE "libXcomposite.so.1"
| #define HAVE_XICCALLBACK_CALLBACK 1
| #define HAVE_XEVENT_XCOOKIE 1
| #define SONAME_LIBGL "libGL.so.1"
| #define SONAME_LIBGLU "libGLU.so.1"
| #define HAVE_LIBXML_PARSER_H 1
| #define HAVE_LIBXML_XMLSAVE_H 1
| #define HAVE_LIBXML_SAX2_H 1
| #define HAVE_LIBXML2 1
| #define HAVE_XMLREADMEMORY 1
| #define HAVE_XMLNEWDOCPI 1
| #define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1
| #define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1
| #define HAVE_XMLFIRSTELEMENTCHILD 1
| #define HAVE_XMLDOC_PROPERTIES 1
| #define HAVE_LIBXSLT_PATTERN_H 1
| #define HAVE_LIBXSLT_TRANSFORM_H 1
| #define SONAME_LIBXSLT "libxslt.so.1"
| #define HAVE_SYS_INOTIFY_H 1
| #define SONAME_LIBDBUS_1 "libdbus-1.so.3"
| #define SONAME_LIBGNUTLS "libgnutls.so.26"
| #define HAVE_GNUTLS_CIPHER_INIT 1
| #define SONAME_LIBNCURSES "libncurses.so.5"
| #define HAVE_MOUSEMASK 1
| #define SONAME_LIBSANE "libsane.so.1"
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char libusb_interrupt_event_handler ();
| int
| main ()
| {
| return libusb_interrupt_event_handler ();
| ;
| return 0;
| }
configure:13972: result: no
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: recent version of libusb in wine-5.7

Post by spoon0042 »

I'm not sure but you may have needed the "--libdir=/usr/lib32" as it seems unable to find other libraries now.
Locked