I am appalled by such childish outbursts of name calling.
Please read the title / purpose of this forum at your free time and chill.
Here is an annotated compiler error output.
This error is identifying the * in the beginning of your sketch , the compiler expected something , but cannot tell what - hence "unqualified"
sketch_oct08a:4: error: expected unqualified-id before 'int'
int ledPin = 2;
^
sketch_oct08a:4: error: expected constructor, destructor, or type conversion before 'int'
/home/jim/Arduino/sketch_oct08a/sketch_oct08a.ino: In function 'void setup()':
this error pointed out the mismatch in ledPin and ledpin
language is case sensitive
sketch_oct08a:9: error: 'ledpin' was not declared in this scope
pinmode(ledpin, output)
^
this error just points out the incorrect name of the function pinMode
language is case sensitive
sketch_oct08a:9: error: 'output' was not declared in this scope
pinmode(ledpin, output)
^
again the ledpin and ledPin are identified as not matching
sketch_oct08a:9: error: 'pinmode' was not declared in this scope
pinmode(ledpin, output)
^
pinmode does not exist in your code , wrong API function name
sketch_oct08a:10: error: expected ';' before '}' token
}
^
This one the compiler sort-of messed-up it actually wants ; AFTER the token,
but the wrong parameter name "output" - capitals is to blame .
exit status 1
that is compiler "failed to compile " error message - generally useless
expected unqualified-id before 'int'
Compiler error message are essential, do not always "speak English" and pinpoint the coding error.
You can actually read them from both directions - top to bottom or opposite.
You can fix the errors at random order , fixing the obvious one first.
Just remember - your objective is to compile the code , not to have clean slate on the first try.
It is the compiler's job to help you clean it up!
Actually syntactic / typos error are cinch to fix, fixing the logic of the code is much harder.
Best of luck to you.
Jim