https://bugs.winehq.org/show_bug.cgi?id=41736
Bug ID: 41736 Summary: build error: configure detects udev only partly Product: Wine Version: 1.9.23 Hardware: arm OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: Stefan.Leichter@camLine.com Distribution: ---
Created attachment 56175 --> https://bugs.winehq.org/attachment.cgi?id=56175 config.log (bzip2 compressed)
after bug 41705 is fixed here comes the next build error from my OpenPandora.
When running configure the detection of the udev files looks fine:
checking libudev.h usability... yes checking libudev.h presence... yes checking for libudev.h... yes checking for udev_new in -ludev... yes
but in the end configure tells that it will build without udev
configure: libudev development files not found, plug and play won't be supported.
The build fails later on in winebus.sys with a lot of unresolved symbols. It looks like the compiler(.c->.o) assumes the presents of udev but the linker does not link against the lib (just listing the first two unresolved symbols here):
../../tools/winegcc/winegcc -o winebus.sys.so -B../../tools/winebuild -marm -fasynchronous-unwind-tables -shared ../../../wine-git/dlls/winebus.sys/winebus.sys.spec \ -Wb,--subsystem,native bus_iohid.o bus_udev.o main.o -lntoskrnl -lsetupapi \ ../../libs/port/libwine_port.a bus_udev.o: In function `udev_driver_init': /sle3/src/wine/wine-cdevtools/dlls/winebus.sys/../../../wine-git/dlls/winebus.sys/bus_udev.c:561: undefined reference to `udev_new' /sle3/src/wine/wine-cdevtools/dlls/winebus.sys/../../../wine-git/dlls/winebus.sys/bus_udev.c:590: undefined reference to `udev_unref'