media-ctl: line 1: syntax error: "(" unexpected
Hello,
I got the media-ctl tool from http://git.ideasonboard.org/git/media-ctl.git
and compiled and build it successfully. But when try to run it I get this error:
sudo ./media-ctl -r -l "ov3640 3-003c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]
./media-ctl: line 1: syntax error: "(" unexpected
Does anyone know how I can solve that problem?
Best Regards, Tom
Quoted 5 lines · Tom <Bassai_Dai <at> gmx.net> writes:
Hello,
I got the media-ctl tool from http://git.ideasonboard.org/git/media-ctl.git
and compiled and build it successfully. But when try to run it I get this
error:
Quoted 11 lines
sudo ./media-ctl -r -l "ov3640 3-003c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]
./media-ctl: line 1: syntax error: "(" unexpected
Does anyone know how I can solve that problem?
Best Regards, Tom
Sorry, but does really nobody know how to solve that problem?
Best Regards, Tom
Quoted 15 lines · Tom
Quoted 5 lines · Tom <Bassai_Dai <at> gmx.net> writes:
Hello,
I got the media-ctl tool from http://git.ideasonboard.org/git/media-ctl.git
and compiled and build it successfully. But when try to run it I get thiserror:
Quoted 7 lines
sudo ./media-ctl -r -l "ov3640 3-003c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]
./media-ctl: line 1: syntax error: "(" unexpected
Does anyone know how I can solve that problem?
Looks like you are trying to execute a wrapper script instead of the real binary, it's in src/.libs
Enrico
Quoted 14 lines · Enrico <ebutera <at> users.berlios.de> writes:
Quoted 12 lines · On Fri, Aug 23, 2013 at 3:08 PM, Tom <Bassai_Dai <at> gmx.net> wrote:
Quoted 5 lines · Tom <Bassai_Dai <at> gmx.net> writes:
Hello,
I got the media-ctl tool from http://git.ideasonboard.org/git/media-ctl.git
and compiled and build it successfully. But when try to run it I get thiserror:
Quoted 4 lines
sudo ./media-ctl -r -l "ov3640 3-003c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]
Quoted 9 lines
Quoted 3 lines
Quoted 3 lines
./media-ctl: line 1: syntax error: "(" unexpected
Does anyone know how I can solve that problem?
Looks like you are trying to execute a wrapper script instead of the real binary, it's in src/.libs
Enrico
Hello Enrico,
thanks for your reply. All I did was to build the media-ctl tool, made "make install" and copied the resulting folder "media-ctl-exe" to my arm board. Then I executed the /media-ctl-exe/bin/media-ctl file with "./media-ctl --help" and got this error.
Best Regards, Tom
Hi Tom,
Quoted 7 lines · Tom
Hello,
I got the media-ctl tool from http://git.ideasonboard.org/git/media-ctl.git
and compiled and build it successfully. But when try to run it I get this error:sudo ./media-ctl -r -l "ov3640 3-003c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":1->"OMAP3 ISP CCDC output":0[1]
You're missing single quotes around the argument to -l option. Looks like the string will reach media-ctl altogether w/o quotes and as several command line arguments, and both are bad. Entity names need to be quoted if they contain spaces.
Signature · 4 lines
Regards, Sakari Ailus e-mail: [email protected] XMPP: [email protected]
Re: media-ctl: line 1: syntax error:
Sakari Ailus <sakari.ailus <at> iki.fi> writes:
Hello Sakari,
Quoted 5 lines
You're missing single quotes around the argument to -l option. Looks like the string will reach media-ctl altogether w/o quotes and as several command line arguments, and both are bad. Entity names need to be quoted if they contain spaces.
thanks for your reply. This solved my problem for now.
Best Regards, Tom