From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Roskin Date: Thu, 04 Sep 2008 12:11:19 -0400 Subject: [ath9k-devel] help with compilation In-Reply-To: References: Message-ID: <1220544679.16992.24.camel@dv> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Thu, 2008-09-04 at 15:04 +0200, reza wrote: > I can?t compile the driver on 2.6.23 kernel and I don ?t understand > this error : > [root at localhost compat-wireless-2.6-old-2008-09-04]# make Errors in compat-wireless have nothing to do with ath9k. linux-wireless at vger.kernel.org would be a better place to ask. > ./scripts/gen-compat-autoconf.sh config.mk > > include/linux/compat_autoconf.h > > make -C /lib/modules/2.6.23/build > M=/usr/src/compat-wireless-2.6-old-2008-09-04 modules > > make[1]: Entering directory `/usr/src/linux-2.6.23' > > > LD /usr/src/compat-wireless-2.6-old-2008-09-04/drivers/misc/built-in.o > > CC > [M] /usr/src/compat-wireless-2.6-old-2008-09-04/drivers/misc/eeprom_93cx6.o It's not even in the ath9k code. > In file included > from /usr/src/compat-wireless-2.6-old-2008-09-04/include/net/compat.h:37, > > from :10: > > /usr/src/compat-wireless-2.6-old-2008-09-04/include/linux/compat_autoconf.h:1: erreur: erreur de syntaxe avant un lment lexical : If you are going to post error messages, it's better that you reproduce them in POSIX locale. This will make all error messages appear in English and in ASCII encoding. Set LC_ALL environment variable to "C" temporarily. In bash, it can be done on the command line before the command: LC_ALL=C make As I understand, something is wrong on the line 1 in compat_autoconf.h. I don't see anything wrong in that file. Maybe it was incorrectly generated by scripts/gen-compat-autoconf.sh on your system? -- Regards, Pavel Roskin