--- mplayer-1.0~rc2.orig/configure
+++ mplayer-1.0~rc2/configure
@@ -6728,6 +6728,7 @@
             "dev/ic/bt8xx.h" ; do
     cat > $TMPC <<EOF
 #include <sys/types.h>
+#include <sys/ioctl.h>
 #include <$file>
 int main(void) {
  ioctl(0, TVTUNER_GETFREQ, 0);

Can you please give the compiler output/error message you get without
that? Probably best just copy the whole corresponding section from
configure.log.

Something like "error: expected identifier or '(' before '/' token.
It is due to

#define TVTUNER_GETFREQ    _IOR('x', 36, unsigned int)  /* get frequency */

but "_IOR" is not properly defined. This is fixed by including <sys/ioctl.h>.

Petr



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to