I’m sorry for this trivial problem as I could not find the solution after searching in the gumstix mailing list. I’ve received the following error when I tried to make an example file which I’ve got from the gumstix wiki <http://svn.gumstix.org/wikifiles/hello-world/Makefile>.
It couldn’t recognise the “#” comment character when I typed “make”. I’ve replaced the TARGET as “gumstix_gpregs” and made sure that the folder which contains both the Makefile and gumstix_gpregs.c sits next to the gumstix-buildroot tree.
Makefile.c:1: error: stray ‘##’ in program
I was able to make the other example files successfully in the past. Is there something that I’ve missed out?