All of lore.kernel.org
 help / color / mirror / Atom feed
* media-ctl: line 1: syntax error: "(" unexpected
@ 2013-08-21 12:40 Tom
  2013-08-23 13:08 ` Tom
  2013-08-26 21:46 ` Sakari Ailus
  0 siblings, 2 replies; 6+ messages in thread
From: Tom @ 2013-08-21 12:40 UTC (permalink / raw)
  To: linux-media

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media-ctl: line 1: syntax error: "(" unexpected
  2013-08-21 12:40 media-ctl: line 1: syntax error: "(" unexpected Tom
@ 2013-08-23 13:08 ` Tom
  2013-08-26  8:51   ` Enrico
  2013-08-26 21:46 ` Sakari Ailus
  1 sibling, 1 reply; 6+ messages in thread
From: Tom @ 2013-08-23 13:08 UTC (permalink / raw)
  To: linux-media

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:
> 
> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media-ctl: line 1: syntax error: "(" unexpected
  2013-08-23 13:08 ` Tom
@ 2013-08-26  8:51   ` Enrico
  2013-08-26  8:57     ` Tom
  0 siblings, 1 reply; 6+ messages in thread
From: Enrico @ 2013-08-26  8:51 UTC (permalink / raw)
  To: Tom; +Cc: linux-media

On Fri, Aug 23, 2013 at 3:08 PM, Tom <Bassai_Dai@gmx.net> wrote:
> 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:
>>
>> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media-ctl: line 1: syntax error: "(" unexpected
  2013-08-26  8:51   ` Enrico
@ 2013-08-26  8:57     ` Tom
  0 siblings, 0 replies; 6+ messages in thread
From: Tom @ 2013-08-26  8:57 UTC (permalink / raw)
  To: linux-media

Enrico <ebutera <at> users.berlios.de> writes:

> 
> On Fri, Aug 23, 2013 at 3:08 PM, Tom <Bassai_Dai <at> gmx.net> wrote:
> > 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:
> >>
> >> 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
> 

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media-ctl: line 1: syntax error: "(" unexpected
  2013-08-21 12:40 media-ctl: line 1: syntax error: "(" unexpected Tom
  2013-08-23 13:08 ` Tom
@ 2013-08-26 21:46 ` Sakari Ailus
  2013-08-27  9:44   ` media-ctl: line 1: syntax error: Tom
  1 sibling, 1 reply; 6+ messages in thread
From: Sakari Ailus @ 2013-08-26 21:46 UTC (permalink / raw)
  To: Tom; +Cc: linux-media

Hi Tom,

On Wed, Aug 21, 2013 at 12:40:42PM +0000, Tom wrote:
> 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.

-- 
Regards,

Sakari Ailus
e-mail: sakari.ailus@iki.fi	XMPP: sailus@retiisi.org.uk

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: media-ctl: line 1: syntax error:
  2013-08-26 21:46 ` Sakari Ailus
@ 2013-08-27  9:44   ` Tom
  0 siblings, 0 replies; 6+ messages in thread
From: Tom @ 2013-08-27  9:44 UTC (permalink / raw)
  To: linux-media

Sakari Ailus <sakari.ailus <at> iki.fi> writes:

Hello Sakari,

> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-27  9:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-21 12:40 media-ctl: line 1: syntax error: "(" unexpected Tom
2013-08-23 13:08 ` Tom
2013-08-26  8:51   ` Enrico
2013-08-26  8:57     ` Tom
2013-08-26 21:46 ` Sakari Ailus
2013-08-27  9:44   ` media-ctl: line 1: syntax error: Tom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.