RE: Compile error with hostap, 2.4.19, and DEC Alpha.


From: Fulmer, John (JFulmer_at_hrblock.com)
Date: 2002-09-18 14:53:02 UTC



Bing!

Got the latest released package to compile with the native 2.4.19 pcmcia kernel modules and all is well. Thanks!

jf

-----Original Message-----
From: Jouni Malinen
To: hostap_at_lists.ssh.com
Sent: 9/12/02 3:14 AM
Subject: Re: Compile error with hostap, 2.4.19, and DEC Alpha.

On Wed, Sep 11, 2002 at 07:40:06PM +0300, Jouni Malinen wrote:

> I don't have access to any Linux-Alpha boxes and just running the
driver
> through C pre-processor didn't so anything useful, so I would have to
> build a cross-compiler for testing this out some more.

Which was quite trivial to do.. alpha-linux uses reg8 as current pointer and gcc has to be told about this. Please add -ffixed-8 to the CFLAGS and the problem should disappear. Latest CVS snapshot does this with following patch:

 include $(KERNEL_PATH)/.config

+
+ifdef CONFIG_ALPHA
+CFLAGS += -mno-fp-regs -ffixed-8
+endif
+

 ifdef CONFIG_MODVERSIONS
 CFLAGS += -DMODVERSIONS -include
$(KERNEL_PATH)/include/linux/modversions.h  endif  
-- 
Jouni Malinen                                            PGP id EFC895FA


This archive was generated by hypermail 2.1.4.