On Thu, Nov 01, 2007 at 09:05:53PM +0100, Petr Salinger wrote:
>>> --- 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>.

Applied.

Diego



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

Reply via email to