On 05/05/2011 10:22 PM, Gerald Pfeifer wrote:
On Fri, 29 Apr 2011, Gerald Pfeifer wrote:
commit be332326ba8fc3def406c5f29adf04fbe9a83976 Author: Andrew Eikumaeikum@codeweavers.com Date: Wed Apr 27 09:12:36 2011 -0500
is causing the following build failures on my nightly FreeBSD testers:
mmdevdrv.c:463:20: error: 'AFMT_S24_PACKED' undeclared (first use in this function) mmdevdrv.c:476:16: error: 'AFMT_FLOAT' undeclared (first use in this function) mmdevdrv.c:854:24: error: 'AFMT_FLOAT' undeclared (first use in this function) mmdevdrv.c:863:24: error: 'AFMT_S24_PACKED' undeclared (first use in this function) mmdevdrv.c:1084:24: error: 'SNDCTL_DSP_HALT' undeclared (first use in this function)
Looks like some autoconfigury is not working or incomplete?
This has now been broken for a week; when are you planning on fixing this, Andrew?
Bugs are much easier to keep track of than mailing list threads.
If not, any pointers on how to best approach this?
I checked, and AFMT_FLOAT is not defined in /usr/include on either my FreeBSD 8.2 tester nor my openSUSE 11.4 machine, whereas other AFMT_ strings are. Similarly for AFMT_S24_PACKED and SNDCTL_DSP_HALT.
Commit f60a0f5e565ab9ec5f13b6b489e03b6b22ebf8f7 was supposed to fix these issues. See bug 26975 for more background.
You might find some relevant information searching config.log for "oss_sysinfo". The configure changes that Julliard added use the oss_sysinfo structure to check that you have OSSv4 installed.
If Wine is trying to build wineoss.drv, then you must have oss_sysinfo. If you have oss_sysinfo, then you have OSSv4. If you have OSSv4, then you should have all of the above symbols, but apparently you don't. So I suspect it's something amiss with your OSSv4 implementation, and that's where I would begin investigating.
Does that help you diagnose the problem?
Andrew