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


From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-09-12 08:14:38 UTC



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.