Re: [Jack-Devel] Problem compiling libflashsupport-jack on Ubuntu 11.04 AMD 64

PrevNext  Index
DateThu, 26 Apr 2012 04:35:17 +0200
From Robin Gareus <[hidden] at gareus dot org>
ToHunter Thompson <[hidden] at gmail dot com>
CcJACK Mailing List <[hidden] at lists dot jackaudio dot org>
In-Reply-ToHunter Thompson Re: [Jack-Devel] Problem compiling libflashsupport-jack on Ubuntu 11.04 AMD 64
Hi Hunter,

Please don't top-post on this mailing list. Thanks.
I took the liberty to re-arrange this message. More at the bottom.

On 04/23/2012 11:01 AM, Hunter Thompson wrote:
> On Mon, Apr 23, 2012 at 7:30 AM, Hunter Thompson <[hidden]>wrote:
> 
>> Greetings:
>>  While following the instructions given on
>> http://jackaudio.org/routing_flash
>>
>> git clone git://repo.or.cz/libflashsupport-jack.git
>> cd libflashsupport
>> sh bootstrap.sh
>> make
>> sudo make install
>>
>> The bootstrap script seems to run fine, but running "make" throws this error:
>> dh@dh-desktop:~/libflashsupport-jack$ make
>> make  all-am
>> make[1]: Entering directory `/home/dh/libflashsupport-jack'
>>
>>
>> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.      -lsamplerate    -g -O0 -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math -MT libflashsupport_la-flashsupport.lo -MD -MP -MF .deps/libflashsupport_la-flashsupport.Tpo -c -o libflashsupport_la-flashsupport.lo `test -f 'flashsupport.c' || echo './'`flashsupport.c
>>
>>
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -lsamplerate -g -O0 -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math -MT libflashsupport_la-flashsupport.lo -MD -MP -MF .deps/libflashsupport_la-flashsupport.Tpo -c flashsupport.c  -fPIC -DPIC -o .libs/libflashsupport_la-flashsupport.o
>>
>>
>> flashsupport.c:184:28: fatal error: linux/videodev.h: No such file or directory
>> compilation terminated.
>> make[1]: *** [libflashsupport_la-flashsupport.lo] Error 1
>> make[1]: Leaving directory `/home/dh/libflashsupport-jack'
>>
>>
>> make: *** [all] Error 2
>>
>> Should I have a linux/videodev.h directory, or is this a bug in the code? Is there a workaround?
>>
>> Thank you for your attention in the matter.
>>
>>
> Regarding the issue below:
> Issue resolved by editing flashsupport.c
>
>  #define V4L1
>
> to read
>
>  //#define V4L1
>
>

An alternative solution was posted ~3 weeks ago on this list:
http://old.nabble.com/libflashsupport-build-fails-td33611286.html

Cheers!
robin
PrevNext  Index

1335407729.7814_0.ltw:2,a <4F98B465.8050402 at gareus dot org>