Skip to contentSkip to conversation

compat-wireless-2008-04-20 doesn't build on armv5te (xscale)

DISCUSSION Hauke Mehrtens 2 participants 2 messages Apr 20, 2008

lore
Share & tools
lore
#0 lore raw

I have tried to build the full compat-wireless-2008-04-20 for OpenWRT on Intel ixp4xx Platfrom (armv5te, xscale), but I got the following error. The parts before this were all like on the ofter architectures. This was made with gcc 4.1.2 and kernel 2.6.24.2

CC [M]
/build_dir/linux-ixp4xx_generic/compat-wireless-2008-04-20/net/wireless/nl80211.o
LD [M]
/build_dir/linux-ixp4xx_generic/compat-wireless-2008-04-20/net/wireless/cfg80211.o
Building modules, stage 2.
MODPOST 37 modules
FATAL:
/build_dir/linux-ixp4xx_generic/compat-wireless-2008-04-20/drivers/net/wireless/b43/b43:
sizeof(struct ssb_device_id)=6 is not a modulo of the size of section __mod_ssb_device_table=64.
Fix definition of struct ssb_device_id in mod_devicetable.h
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2
make[5]: Leaving directory `/build_dir/linux-ixp4xx_generic/linux-2.6.24.2' make[4]: *** [modules] Error 2

Signature · 1 line
Hauke
#1 lore raw
Quoted 6 lines · On Sunday 20 April 2008 20:41:52 Hauke Mehrtens wrote:

I have tried to build the full compat-wireless-2008-04-20 for OpenWRT on Intel ixp4xx Platfrom (armv5te, xscale), but I got the following error. The parts before this were all like on the ofter architectures. This was made with gcc 4.1.2 and kernel 2.6.24.2

Quoted 17 lines

CC [M]
/build_dir/linux-ixp4xx_generic/compat-wireless-2008-04-20/net/wireless/nl80211.o
LD [M]
/build_dir/linux-ixp4xx_generic/compat-wireless-2008-04-20/net/wireless/cfg80211.o
Building modules, stage 2.
MODPOST 37 modules
FATAL:
/build_dir/linux-ixp4xx_generic/compat-wireless-2008-04-20/drivers/net/wireless/b43/b43:
sizeof(struct ssb_device_id)=6 is not a modulo of the size of section __mod_ssb_device_table=64.
Fix definition of struct ssb_device_id in mod_devicetable.h
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2
make[5]: Leaving directory `/build_dir/linux-ixp4xx_generic/linux-2.6.24.2' make[4]: *** [modules] Error 2

This is a bug in file2alias.c
A fix is already sent upstream. It might be in -mm. I'm not sure.

Signature · 1 line
Greetings Michael.