All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Problem compiling under Linux-libre (completely free version)
@ 2009-05-13 17:49 Alejandro Fdez Estevez
  2009-05-13 18:09 ` Pavel Roskin
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Fdez Estevez @ 2009-05-13 17:49 UTC (permalink / raw)
  To: ath9k-devel

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

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?

/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

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??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090513/c2f7f3ba/attachment.htm 

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

* [ath9k-devel] Problem compiling under Linux-libre (completely free version)
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Roskin @ 2009-05-13 18:09 UTC (permalink / raw)
  To: ath9k-devel

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

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

end of thread, other threads:[~2009-05-13 18:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.