As this is the top Google result for 'unexpected end of file in Command line code', I'll post what fixed this problem for me. It turns out I had placed the option I wanted to pass to my script between 'php' and the script filename. Apr 06, 2015 Hi there! I'm trying to run the server on an RT-N16 router with tomato firmware on it. It runs busybox, and i think it has the resources to run a small ts3 server on it, but when i try to start it, i get this message:./ts3serverlinuxx86: line 1: syntax error: unexpected '(' Can anyone tell me ALL the needed packages to run the server, or help me anyway?
![File File](/uploads/1/2/5/4/125415113/216732574.png)
I compiled C program under SUN OS sparcv9.I had a problem related to SIGBUS which has been resolved by adding an option to the CC compiler which is memory alignement option.-memalign=1i as I remmber.after running the program I got the below error please let me KNow more details what should I Post for you to solve this issueERROR:sh: syntax error at line 1: `' unexpectedNote that this error coming while running (runtime) of the C program.in the C program I have unlink function to deal with a file under unix.Thanks,Omar Atia.
Code:# Makefile## This is the top-level Makefile for ETP AD components# Add to SUBDIRS the directories that should be gone into by the MakefileSUBDIRS = CInstruction CPipe CSeriousProblem CValidation Reformatter## ReformatterSvr # ProcScrnSrvall: lib pgmlib: $(SUBDIRS)$(recurse)pgm: $(SUBDIRS)$(recurse)clean::I dont know where to start looking at? Is it the shell script complaining at?Any help is highly appreciated,- Post updated at 11:12 AM - Previous update was at 09:03 AM -Adding to that I am a newbie to Unix.Also surprised to see noone is interested to help?