Modify

Opened 10 years ago

Closed 7 years ago

Last modified 4 years ago

#3154 closed defect (obsolete)

acx-mac80211-20080112 doesn't compile on linux-brcm47xx

Reported by: Hauke <openwrt@… Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc: matteo@…

Description

In rev. 10481 acx-mac80211-20080112 doesn't compile on linux-brcm47xx.

make[3]: Entering directory `/home/hauke/kamikaze/trunk/package/acx-mac80211'
bzcat /home/hauke/kamikaze/trunk/dl/acx-mac80211-20080112.tar.bz2 | /bin/tar -C /home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/.. -xf -

Applying ./patches/001-build_module.diff using plaintext: 
patching file Makefile
touch /home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/.prepared_4d202c098f75c62f77b6923d4ee85c7b
touch /home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/.configured
make -C "/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/linux-2.6.23.16" ARCH="mips" CROSS_COMPILE="mipsel-linux-uclibc-" SUBDIRS="/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112" CONFIG_ACX_MAC80211=m CONFIG_ACX_MAC80211_PCI=m  EXTRA_CFLAGS=" -DCONFIG_ACX_MAC80211=1  -DCONFIG_ACX_MAC80211_PCI=1  " LINUXINCLUDE="-I/home/hauke/kamikaze/trunk/staging_dir/mipsel/usr/include/mac80211 -I/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/linux-2.6.23.16/include -include linux/autoconf.h" V="99" modules
make[4]: Entering directory `/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/linux-2.6.23.16'
  CC [M]  /home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.o
In file included from /home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/acx.h:5,
                 from /home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:31:
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/acx_struct.h:1198: error: array type has incomplete element type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1438: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1438: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1438: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1438: error: 'IEEE80211_RATE_CCK' undeclared here (not in a function)
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1439: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1439: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1439: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1439: error: 'IEEE80211_RATE_CCK_2' undeclared here (not in a function)
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1440: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1440: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1440: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1441: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1441: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1441: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1442: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1442: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1442: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1442: error: 'IEEE80211_RATE_OFDM' undeclared here (not in a function)
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1443: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1443: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1443: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1444: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1444: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1444: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1445: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1445: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1445: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1446: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1446: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1446: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1447: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1447: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1447: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1448: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1448: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1448: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1449: error: unknown field 'rate' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1449: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1449: error: unknown field 'val2' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: 'IEEE80211_CHAN_W_SCAN' undeclared here (not in a function)
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: 'IEEE80211_CHAN_W_ACTIVE_SCAN' undeclared here (not in a function)
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: 'IEEE80211_CHAN_W_IBSS' undeclared here (not in a function)
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: (near initialization for 'channels[0].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1469: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: (near initialization for 'channels[1].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1470: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: (near initialization for 'channels[2].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1471: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: (near initialization for 'channels[3].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1472: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: (near initialization for 'channels[4].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1473: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: (near initialization for 'channels[5].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1474: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: (near initialization for 'channels[6].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1475: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: (near initialization for 'channels[7].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1476: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: (near initialization for 'channels[8].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1477: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: (near initialization for 'channels[9].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1478: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: (near initialization for 'channels[10].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1479: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: (near initialization for 'channels[11].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1480: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: unknown field 'chan' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: unknown field 'freq' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: unknown field 'val' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: unknown field 'flag' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: invalid operands to binary |
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: initializer element is not constant
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: (near initialization for 'channels[12].flags')
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: unknown field 'power_level' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1481: error: unknown field 'antenna_max' specified in initializer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c: In function 'acx_setup_modes_bphy':
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1492: warning: assignment from incompatible pointer type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1493: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1493: error: request for member 'mode' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1493: error: 'MODE_IEEE80211B' undeclared (first use in this function)
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1493: error: (Each undeclared identifier is reported only once
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1493: error: for each function it appears in.)
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1493: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1494: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1494: error: request for member 'num_channels' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1494: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1495: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1495: error: request for member 'channels' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1495: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1496: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1496: error: request for member 'num_rates' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1496: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1497: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1497: error: request for member 'rates' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1497: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1498: error: implicit declaration of function 'ieee80211_register_hwmode'
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c: In function 'acx_setup_modes_gphy':
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1509: warning: assignment from incompatible pointer type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1510: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1510: error: request for member 'mode' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1510: error: 'MODE_IEEE80211G' undeclared (first use in this function)
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1510: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1511: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1511: error: request for member 'num_channels' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1511: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1512: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1512: error: request for member 'channels' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1512: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1513: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1513: error: request for member 'num_rates' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1513: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1514: error: dereferencing pointer to incomplete type
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1514: error: request for member 'rates' in something not a structure or union
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:1514: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c: In function 'acx_l_rx':
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:2718: error: 'struct ieee80211_rx_status' has no member named 'rate'
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:2718: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:2737: error: 'struct ieee80211_rx_status' has no member named 'rate'
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:2737: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:2740: error: 'struct ieee80211_rx_status' has no member named 'rate'
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:2740: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c: In function 'acx_add_interface':
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4113: error: 'struct ieee80211_if_init_conf' has no member named 'if_id'
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4113: warning: assignment makes integer from pointer without a cast
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4124: error: expected ')' before 'MAC_FMT'
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4125: warning: too few arguments for format
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c: In function 'acx_remove_interface':
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4159: error: expected ')' before 'MAC_FMT'
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4160: warning: too few arguments for format
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c: In function 'acx_selectchannel':
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4189: error: 'struct ieee80211_rx_status' has no member named 'channel'
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4189: warning: statement with no effect
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c: In function 'acx_net_config':
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4223: warning: comparison between pointer and integer
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4224: error: 'struct ieee80211_conf' has no member named 'freq'
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4224: warning: passing argument 2 of 'acx_selectchannel' makes integer from pointer without a cast
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4224: warning: passing argument 3 of 'acx_selectchannel' makes integer from pointer without a cast
/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.c:4212: warning: unused variable 'change'
make[5]: *** [/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/common.o] Error 1
make[4]: *** [_module_/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112] Error 2
make[4]: Leaving directory `/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/linux-2.6.23.16'
make[3]: *** [/home/hauke/kamikaze/trunk/build_dir/linux-brcm47xx/acx-mac80211-20080112/.built] Error 2
make[3]: Leaving directory `/home/hauke/kamikaze/trunk/package/acx-mac80211'
make[2]: *** [package/acx-mac80211/compile] Error 2
make[2]: Leaving directory `/home/hauke/kamikaze/trunk'
make[1]: *** [/home/hauke/kamikaze/trunk/staging_dir/mipsel/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/hauke/kamikaze/trunk'
make: *** [world] Fehler 2

Attachments (2)

001-compat-wireless-updates.diff (8.6 KB) - added by nabcore 10 years ago.
001-compat-wireless-updates.2.diff (12.3 KB) - added by nabcore 10 years ago.
v2

Download all attachments as: .zip

Change History (13)

comment:1 Changed 10 years ago by nabcore

Is this related to the change to 2.6.24?

comment:2 Changed 10 years ago by nabcore

In answer to my previous statement, no. What I think it is due to is a change in gcc's behaviour towards the defining of structures:

http://gcc.gnu.org/ml/gcc/2005-02/msg00053.html

comment:3 Changed 10 years ago by nabcore

I think in addition, some of these changes here: http://lwn.net/Articles/263314/

comment:4 Changed 10 years ago by nabcore

comment:5 Changed 10 years ago by nabcore

Having been working with XazZ's recent tree, I have an attempt at solving this issue. It's not there yet, but it's worth a look at.

Changed 10 years ago by nabcore

comment:6 Changed 10 years ago by nabcore

Remember, this patch is very much WIP; cave emporium.

Changed 10 years ago by nabcore

v2

comment:7 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

comment:8 Changed 7 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

did anyone find the solution to this?

comment:9 Changed 7 years ago by EqUaTe <chris@…>

Yeah, don't use this positively ancient code checkout.

comment:10 Changed 7 years ago by nbd

  • Resolution set to obsolete
  • Status changed from reopened to closed

comment:11 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.