I am developing a application using C language. In my case I am using a common header file for store constant variables and structures. But in the compilation stage it will displaying this error.
./config/Configuration.h
./config/Configuration.h: line 1: /bin: is a directory
comm: extra operand `Debug'
Try `comm --help'for more information.
comm: extra operand `Debug'
Try `comm --help'for more information.
comm: extra operand `Debug'
Try `comm --help'for more information.
comm: extra operand `Debug'
Try `comm --help'for more information.
./config/Configuration.h: line 6: comm/: is a directory
./config/Configuration.h: line 22: struct: command not found
./config/Configuration.h: line 23: int: command not found
./config/Configuration.h: line 24: char: command not found
./config/Configuration.h: line 25: syntax error near unexpected token `}'
./config/Configuration.h: line 25: `};'
make: *** [RequestQueue.o] Error 2
It looks like you try to run the file as a shell script but that will of course not work. Not sure if you are trying to compile the file. Normally only source files are compiled, not header files.
Don't compile it but when you compile an implementation file that includes it use "-I /path/to/folder/with/header" so it can find the header file if it is not in the system include directories (e.g. /usr/include, /usr/local/include, etc.)