Re: [Jack-Devel] Problem compiling libflashsupport-jack on Ubuntu 11.04 AMD 64
Regarding the issue below:
Issue resolved by editing flashsupport.c
> #define V4L1
to read
> //#define V4L1
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.
>
>
1335171720.29635_0.ltw:2,a <CAFCSnaeqOr90V5C7eLQ7opU1L0Z5qhBG8KZxzEvLojZ+Hf7eFQ at mail dot gmail dot com>