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

From: Fulmer, John (
Date: 2002-09-18 14:53:02 UTC


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


-----Original Message-----
From: Jouni Malinen
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
> 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

+CFLAGS += -mno-fp-regs -ffixed-8

$(KERNEL_PATH)/include/linux/modversions.h  endif  
Jouni Malinen                                            PGP id EFC895FA

This archive was generated by hypermail 2.1.4.