linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* compat-wireless cross compile
@ 2011-07-16 15:54 wy408
  2011-07-18 16:00 ` Pavel Roskin
  0 siblings, 1 reply; 3+ messages in thread
From: wy408 @ 2011-07-16 15:54 UTC (permalink / raw)
  To: linux-wireless

hi,everyone:
i try to cross compile ath5k of compat-wireless for mips.
i use 
make
KLIB=/mnt/sda3/linux-kernel   
KLIB_BUILD=/mnt/sda3/linux-kernel

but errors:

config.mk:26:*****missing "endif"........

i used compat-wireless 2.6.38 39 37 ,and error again.

looking forward for your help.


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

* Re: compat-wireless cross compile
  2011-07-16 15:54 compat-wireless cross compile wy408
@ 2011-07-18 16:00 ` Pavel Roskin
       [not found]   ` <CABmiYRZ9vdHyTrxt8ZRxrseHn+M0Z_7O+s7fWXXNwwSE9o7VGQ@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Roskin @ 2011-07-18 16:00 UTC (permalink / raw)
  To: wy408; +Cc: linux-wireless

On 07/16/2011 11:54 AM, wy408 wrote:
> hi,everyone:
> i try to cross compile ath5k of compat-wireless for mips.
> i use
> make
> KLIB=/mnt/sda3/linux-kernel
> KLIB_BUILD=/mnt/sda3/linux-kernel
>
> but errors:
>
> config.mk:26:*****missing "endif"........
>
> i used compat-wireless 2.6.38 39 37 ,and error again.
>
> looking forward for your help.

There is not enough information in your post.  What is the version of 
the kernel you are compiling for?  What is the exact version of 
compat-wireless (the filename you downloaded)?  What is the version of make?

I tried to reproduce your problem with compat-wireless-2.6.39-1-sn 
compiling to Linux 2.6.24 with GNU make 3.8.1, but could not reproduce it.

-- 
Regards,
Pavel Roskin

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

* Re: compat-wireless cross compile
       [not found]   ` <CABmiYRZ9vdHyTrxt8ZRxrseHn+M0Z_7O+s7fWXXNwwSE9o7VGQ@mail.gmail.com>
@ 2011-07-19  3:18     ` Pavel Roskin
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel Roskin @ 2011-07-19  3:18 UTC (permalink / raw)
  To: JJLee; +Cc: wy408, linux-wireless

Quoting JJLee <jjleecareer@gmail.com>:

> maybe your corss compile gcc not support elseif keywords

Please don't top-post.  Top-posting kills an intelligent discussion.

>>> config.mk:26:*****missing "endif"........

If you actually read the text you quoted you would have realized that  
the message comes from the make program that fails to interpret  
config.mk.  The compiler is not involved at this stage.

There is no "elseif" or even "elsif" anywhere in  
compat-wireless-2.6.39, and if GNU make failed to understand a  
keyword, it would have reported it differently:

$ cat makefile
ifeq (0,0)
elseif
$ make
makefile:2: *** missing separator.  Stop.

BSD make would stop of the first like of the compat-wireless Makefile  
without even getting to config.mk:

$ bmake
bmake: "/home/proski/src/compat-wireless-2.6.39-1-sn/Makefile" line 1:  
Need an operator

-- 
Regards,
Pavel Roskin

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

end of thread, other threads:[~2011-07-19  3:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-16 15:54 compat-wireless cross compile wy408
2011-07-18 16:00 ` Pavel Roskin
     [not found]   ` <CABmiYRZ9vdHyTrxt8ZRxrseHn+M0Z_7O+s7fWXXNwwSE9o7VGQ@mail.gmail.com>
2011-07-19  3:18     ` Pavel Roskin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).