All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] help with compilation
@ 2008-09-04 13:04 reza
  2008-09-04 16:11 ` Pavel Roskin
  0 siblings, 1 reply; 2+ messages in thread
From: reza @ 2008-09-04 13:04 UTC (permalink / raw)
  To: ath9k-devel

Hi,

 

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

./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

In file included from /usr/src/compat-wireless-2.6-old-2008-09-04/include/net/compat.h:37,

                 from <ligne de commande>:10:

/usr/src/compat-wireless-2.6-old-2008-09-04/include/linux/compat_autoconf.h:1: erreur: erreur de syntaxe avant un ??l??ment lexical ?? : ??

make[3]: *** [/usr/src/compat-wireless-2.6-old-2008-09-04/drivers/misc/eeprom_93cx6.o] Erreur 1

make[2]: *** [/usr/src/compat-wireless-2.6-old-2008-09-04/drivers/misc] Erreur 2

make[1]: *** [_module_/usr/src/compat-wireless-2.6-old-2008-09-04] Erreur 2

make[1]: Leaving directory `/usr/src/linux-2.6.23'

make: *** [modules] Erreur 2

 

Is someone could help me please?

 

azer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20080904/29eac7ef/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ath9k-devel] help with compilation
  2008-09-04 13:04 [ath9k-devel] help with compilation reza
@ 2008-09-04 16:11 ` Pavel Roskin
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Roskin @ 2008-09-04 16:11 UTC (permalink / raw)
  To: ath9k-devel

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 <ligne de commande>: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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-04 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 13:04 [ath9k-devel] help with compilation reza
2008-09-04 16:11 ` Pavel Roskin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.