All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] help with compilation
Date: Thu, 04 Sep 2008 12:11:19 -0400	[thread overview]
Message-ID: <1220544679.16992.24.camel@dv> (raw)
In-Reply-To: <E6356C9DBE377740A821A93437D419B752700D@serveur.computerlog.local>

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

      reply	other threads:[~2008-09-04 16:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04 13:04 [ath9k-devel] help with compilation reza
2008-09-04 16:11 ` Pavel Roskin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1220544679.16992.24.camel@dv \
    --to=proski@gnu.org \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.