LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error near unexpected token `(' (https://www.linuxquestions.org/questions/linux-newbie-8/error-near-unexpected-token-%60-947545/)

avistasiahaan 05-30-2012 03:50 AM

error near unexpected token `('
 
I'm trying to put command $ diff btusb.c btusb.c.old 122,123d121 < { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 }, < { USB_DEVICE(0x04ca, 0x3004), .driver_info = BTUSB_ATH3012 }, $ diff ath3k.c ath3k.c.old 73,74d72 < { USB_DEVICE(0x13d3, 0x3375) }, < { USB_DEVICE(0x04ca, 0x3004) }, 91,92d88 < { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 }, < { USB_DEVICE(0x04ca, 0x3004), .driver_info = BTUSB_ATH3012 }
and i get syntax error near unexpected token `('
what's wrong with my command ?

catkin 05-30-2012 04:21 AM

Is that one command or several? Are you entering it at the command prompt?

grail 05-30-2012 05:51 AM

Please use [code][/code] tags and place each command on its own line.

Maybe if you would also explain what you are attempting to do we may be of more help?

avistasiahaan 05-30-2012 11:05 AM

well actually i don't know what command are they. but the goal is to patch kernel (is it ?) to make bluetooth device in my aspire s3 works. any suggestion ?

suicidaleggroll 05-30-2012 11:18 AM

It looks like you're trying to run a diff, as well as the output of the diff, as a command. Where did you get these commands? It sounds like somebody just posted their diff results and you're trying to run the output as if it's a command.


All times are GMT -5. The time now is 11:31 AM.