Hi,

the toplevel configure needs some patches so the have_ossaudio and
have_sunaudio checks are working:

--- configure.in-orig   Fri Sep 28 13:03:30 2001
+++ configure.in        Tue Oct  2 00:43:03 2001
@@ -236,6 +236,7 @@
     have_ossaudio=no
     AC_TRY_COMPILE([
       #ifdef __NetBSD__
+      #include <sys/ioccom.h>
       #include <soundcard.h>
       #else
       #include <sys/soundcard.h>
@@ -265,6 +266,7 @@
     AC_MSG_CHECKING(for Sun audio support)
     have_sunaudio=no
     AC_TRY_COMPILE([
+      #include <sys/param.h>
       #include <sys/audioio.h>
     ],[
       audio_info_t audio_info;

The offsets maybe different. I made this patch for the snapshot from the 28th.

<sys/ioccom.h> defines the _IOWR macro which is used by SNDCTL_DSP_SETFRAGMENT.

The sunaudio check fails because <sys/audioio.h> use u_int and other types.

Now, I need to install a newer as so I can compile it on NetBSD.
Currently I get this errors:

{standard input}: Assembler messages:
{standard input}:158: Error: no such 386 instruction: `femms'
{standard input}:255: Error: no such 386 instruction: `femms'

while compiling yuv2rgb_mmx.lo.

Bernd


_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to