http://bugs.winehq.org/show_bug.cgi?id=2961
Summary: Compile failure: dlls/dinput/tests/Makefile missing an object Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: test AssignedTo: wine-bugs@winehq.org ReportedBy: inverseparadox@comcast.net
(I hope I'm interpreting the component classifications correctly...)
As of a couple of days ago, in an up-to-date CVS tree, if I run
make distclean; ./configure; make depend; make
the build will fail in dlls/dinput/tests/ trying to create dinput_test.exe.so. The error is that joystick.o contains undefined references to c_dfDIJoystick, which is defined (only) in dlls/dinput/data_formats.c. The problem is that the build line in the Makefile does not reference the needed object; adding
../data_formats.o
to the winebuild command line fixes the problem.
I'm not entirely sure how this has gone unnoticed so far, since the problem sometimes also occurs when compiling after a simple cvs update without first running make distclean; it's possible that the failure is something wrong with my system, but if so I'd certainly like to know what.