From: Pavel Roskin <proski@gnu.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Problem compiling under Linux-libre (completely free version)
Date: Wed, 13 May 2009 14:09:36 -0400 [thread overview]
Message-ID: <1242238176.3566.12.camel@mj> (raw)
In-Reply-To: <b8d3bce70905131049na6954beg1087aa84986045b0@mail.gmail.com>
On Wed, 2009-05-13 at 18:49 +0100, Alejandro Fdez Estevez wrote:
> Hi, I'm trying to compile ath9k (from compat-wireless) under a
> linux-libre (completely free version of Linux kernel) kernel got from
> http://aligunduz.org/gNewSense/ and I'm having problems doing it. I
> have got the kernel version 2.6.27
> ( http://aligunduz.org/gNewSense/freedomshoppe/linux-image-2.6.27-libre-gnufs1.6b_2.6.27-libre-gnufs1.6b-10.00.Custom_i386.deb ).
I think you are better off asking in the linux-wireless list, as you are
not just compiling ath9k, and the compile error is not even in the ath9k
sources.
> When I do make on the compat-wireless directory, I get a lot of
> errors, all them are similar to this:
>
> /home/ahi/Escritorio/compat-wireless-2.6.30-rc4/include/linux/eeprom_93cx6.h:73: error: expected ?;?, ?,? or ?)? before ?word?
What really matters is the first error. For instance, a missing header
or failure to parse something. The subsequent error messages may be
misleading.
> /home/ahi/Escritorio/compat-wireless-2.6.30-rc4/drivers/misc/eeprom/eeprom_93cx6.c:29:
> include/linux/delay.h:14:23: error: asm/delay.h: No such file or
> directory
It looks like you lack a link to include/asm in the kernel tree, which
should point to the asm directory specific to your architecture, such as
asm-x86.
I checked
linux-headers-2.6.27-libre-gnufs1.6b_2.6.27-libre-gnufs1.6b-10.00.Custom_i386.deb and it has the asm link pointing to a non-existent directory "asm-i386" rather than to "asm-x86".
> include/linux/pci.h:1090: error: expected declaration specifiers or
> ?...? before ?u16?
>
> What should I do? Should I try to compile the original version of
> linux-libre instead of using the precompiled gNewSense .deb version??
You can recreate the "asm" link:
rm /usr/src/linux-headers-2.6.27-libre-gnufs1.6b/include/asm
ln -s asm-x86 /usr/src/linux-headers-2.6.27-libre-gnufs1.6b/include/asm
Report the problem to the package maintainer. If nothing helps, please
use some other kernel. I don't think recompiling a package would make
any difference.
--
Regards,
Pavel Roskin
prev parent reply other threads:[~2009-05-13 18:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-13 17:49 [ath9k-devel] Problem compiling under Linux-libre (completely free version) Alejandro Fdez Estevez
2009-05-13 18:09 ` 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=1242238176.3566.12.camel@mj \
--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.