On Wednesday 19 January 2005 21:31, Curran, Dominic wrote: >[...] > gcc -Wp,-MD,/mnt/gromit/scream/v-168/driver26/.scream.o.d -nostdinc > -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes > -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float > -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts > -mpreferred-stack-boundary=2 -march=i686 -mregparm=3 > -Iinclude/asm-i386/mach-default -Os -fomit-frame-pointer -g > -Wdeclaration-after-statement -DINT32 -DLINK_BYTE_WRITE -D -DJEDI_ES2 > -O -I/mnt/gromit/scream/v-168/driver26/../share > -I/mnt/gromit/scream/v-168/driver26 -DMODULE -DKBUILD_BASENAME=scream > -DKBUILD_MODNAME=screamer -c -o > /mnt/gromit/scream/v-168/driver26/scream.o > /mnt/gromit/scream/v-168/driver26/scream.c > <command line>:7:1: macro names must be identifiers [...] > I don't know what the first line > means... > > <command line>:7:1: macro names must be identifiers > > Is it refering to a problem in the make file or my C file ? > Is 7:1 mean line 7 first character, or the other way around ? > What does 'macro names must be identifiers' mean ? That error is being triggered by the '-D' option with no value (it is right after '-DLINK_BYTE_WRITE'. The '7' is referring to the 7th -D option on the command line. Now if you count, you'll see the the bare '-D' is the 4th one. But 4 is not 7 you say. Yes, but you are looking at the wrong command line. It is the 7th '-D' option to cc1. If you add a '-v' to that gcc command, it'll show the cc1 command line. There you'll find 3 extra '-D' arguments before any of the others. And 3+4 does equal 7. Not the best error messages. I don't know what the '1' in the error is referring to. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/