Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- matt: /tmp/z/trunk $ make
- make -C /lib/modules/3.2.0-30-generic/build SUBDIRS=/tmp/z/trunk modules
- make[1]: Entering directory `/usr/src/linux-headers-3.2.0-30-generic'
- CC [M] /tmp/z/trunk/ar5523.o
- /tmp/z/trunk/ar5523.c:132:27: error: array type has incomplete element type
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_set_chan’:
- /tmp/z/trunk/ar5523.c:419:16: error: ‘struct ieee80211_conf’ has no member named ‘freq’
- /tmp/z/trunk/ar5523.c:419:16: error: ‘struct ieee80211_conf’ has no member named ‘freq’
- /tmp/z/trunk/ar5523.c:419:16: error: ‘struct ieee80211_conf’ has no member named ‘freq’
- /tmp/z/trunk/ar5523.c:419:16: error: ‘struct ieee80211_conf’ has no member named ‘freq’
- /tmp/z/trunk/ar5523.c:419:16: error: ‘struct ieee80211_conf’ has no member named ‘freq’
- /tmp/z/trunk/ar5523.c:419:16: error: ‘struct ieee80211_conf’ has no member named ‘freq’
- /tmp/z/trunk/ar5523.c:424:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘struct ieee80211_channel *’ [-Wformat]
- /tmp/z/trunk/ar5523.c: At top level:
- /tmp/z/trunk/ar5523.c:502:55: warning: ‘struct ieee80211_if_conf’ declared inside parameter list [enabled by default]
- /tmp/z/trunk/ar5523.c:502:55: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_data_rx_cb’:
- /tmp/z/trunk/ar5523.c:578:11: error: ‘struct ieee80211_rx_status’ has no member named ‘channel’
- /tmp/z/trunk/ar5523.c:579:11: error: ‘struct ieee80211_rx_status’ has no member named ‘phymode’
- /tmp/z/trunk/ar5523.c:579:30: error: ‘struct ieee80211_conf’ has no member named ‘phymode’
- /tmp/z/trunk/ar5523.c:580:11: error: ‘struct ieee80211_rx_status’ has no member named ‘ssi’
- /tmp/z/trunk/ar5523.c:582:2: error: too many arguments to function ‘ieee80211_rx_irqsafe’
- include/net/mac80211.h:2457:6: note: declared here
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_data_tx_cb’:
- /tmp/z/trunk/ar5523.c:789:9: error: variable ‘status’ has initializer but incomplete type
- /tmp/z/trunk/ar5523.c:789:9: error: extra brace group at end of initializer
- /tmp/z/trunk/ar5523.c:789:9: error: (near initialization for ‘status’)
- /tmp/z/trunk/ar5523.c:789:9: warning: excess elements in struct initializer [enabled by default]
- /tmp/z/trunk/ar5523.c:789:9: warning: (near initialization for ‘status’) [enabled by default]
- /tmp/z/trunk/ar5523.c:789:29: error: storage size of ‘status’ isn’t known
- /tmp/z/trunk/ar5523.c:803:18: error: ‘IEEE80211_TX_STATUS_ACK’ undeclared (first use in this function)
- /tmp/z/trunk/ar5523.c:803:18: note: each undeclared identifier is reported only once for each function it appears in
- /tmp/z/trunk/ar5523.c:804:2: error: too many arguments to function ‘ieee80211_tx_status_irqsafe’
- include/net/mac80211.h:2608:6: note: declared here
- /tmp/z/trunk/ar5523.c:789:29: warning: unused variable ‘status’ [-Wunused-variable]
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_tx’:
- /tmp/z/trunk/ar5523.c:837:42: error: dereferencing pointer to incomplete type
- /tmp/z/trunk/ar5523.c: At top level:
- /tmp/z/trunk/ar5523.c:889:10: warning: ‘struct ieee80211_if_init_conf’ declared inside parameter list [enabled by default]
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_add_interface’:
- /tmp/z/trunk/ar5523.c:896:18: error: ‘IEEE80211_IF_TYPE_MNTR’ undeclared (first use in this function)
- /tmp/z/trunk/ar5523.c:901:14: error: dereferencing pointer to incomplete type
- /tmp/z/trunk/ar5523.c:902:7: error: ‘IEEE80211_IF_TYPE_STA’ undeclared (first use in this function)
- /tmp/z/trunk/ar5523.c:904:18: error: dereferencing pointer to incomplete type
- /tmp/z/trunk/ar5523.c: At top level:
- /tmp/z/trunk/ar5523.c:914:10: warning: ‘struct ieee80211_if_init_conf’ declared inside parameter list [enabled by default]
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_remove_interface’:
- /tmp/z/trunk/ar5523.c:920:13: error: ‘IEEE80211_IF_TYPE_MNTR’ undeclared (first use in this function)
- /tmp/z/trunk/ar5523.c: At top level:
- /tmp/z/trunk/ar5523.c:970:10: warning: ‘struct ieee80211_if_conf’ declared inside parameter list [enabled by default]
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_config_interface’:
- /tmp/z/trunk/ar5523.c:985:30: error: dereferencing pointer to incomplete type
- /tmp/z/trunk/ar5523.c:999:2: warning: passing argument 2 of ‘ar5523_set_rates’ from incompatible pointer type [enabled by default]
- /tmp/z/trunk/ar5523.c:502:12: note: expected ‘struct ieee80211_if_conf *’ but argument is of type ‘struct ieee80211_if_conf *’
- /tmp/z/trunk/ar5523.c:1013:30: error: dereferencing pointer to incomplete type
- /tmp/z/trunk/ar5523.c: At top level:
- /tmp/z/trunk/ar5523.c:1034:24: warning: ‘struct dev_addr_list’ declared inside parameter list [enabled by default]
- /tmp/z/trunk/ar5523.c:1047:2: warning: initialization from incompatible pointer type [enabled by default]
- /tmp/z/trunk/ar5523.c:1047:2: warning: (near initialization for ‘ar5523_ops.tx’) [enabled by default]
- /tmp/z/trunk/ar5523.c:1049:2: warning: initialization from incompatible pointer type [enabled by default]
- /tmp/z/trunk/ar5523.c:1049:2: warning: (near initialization for ‘ar5523_ops.add_interface’) [enabled by default]
- /tmp/z/trunk/ar5523.c:1050:2: warning: initialization from incompatible pointer type [enabled by default]
- /tmp/z/trunk/ar5523.c:1050:2: warning: (near initialization for ‘ar5523_ops.remove_interface’) [enabled by default]
- /tmp/z/trunk/ar5523.c:1051:2: warning: initialization from incompatible pointer type [enabled by default]
- /tmp/z/trunk/ar5523.c:1051:2: warning: (near initialization for ‘ar5523_ops.config’) [enabled by default]
- /tmp/z/trunk/ar5523.c:1052:2: error: unknown field ‘config_interface’ specified in initializer
- /tmp/z/trunk/ar5523.c:1052:2: warning: initialization from incompatible pointer type [enabled by default]
- /tmp/z/trunk/ar5523.c:1052:2: warning: (near initialization for ‘ar5523_ops.bss_info_changed’) [enabled by default]
- /tmp/z/trunk/ar5523.c:1053:2: warning: initialization from incompatible pointer type [enabled by default]
- /tmp/z/trunk/ar5523.c:1053:2: warning: (near initialization for ‘ar5523_ops.configure_filter’) [enabled by default]
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_free_tx_cmds’:
- /tmp/z/trunk/ar5523.c:1125:3: error: implicit declaration of function ‘usb_buffer_free’ [-Werror=implicit-function-declaration]
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_alloc_tx_cmds’:
- /tmp/z/trunk/ar5523.c:1145:3: error: implicit declaration of function ‘usb_buffer_alloc’ [-Werror=implicit-function-declaration]
- /tmp/z/trunk/ar5523.c:1145:12: warning: assignment makes pointer from integer without a cast [enabled by default]
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_alloc_rx_cmds’:
- /tmp/z/trunk/ar5523.c:1198:12: warning: assignment makes pointer from integer without a cast [enabled by default]
- /tmp/z/trunk/ar5523.c: At top level:
- /tmp/z/trunk/ar5523.c:1310:9: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1311:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1312:13: error: ‘IEEE80211_RATE_CCK’ undeclared here (not in a function)
- /tmp/z/trunk/ar5523.c:1313:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1314:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1316:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1317:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1319:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1320:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1322:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1323:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1324:13: error: ‘IEEE80211_RATE_OFDM’ undeclared here (not in a function)
- /tmp/z/trunk/ar5523.c:1325:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1326:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1328:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1329:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1331:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1332:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1334:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1335:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1337:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1338:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1340:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1341:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1343:2: error: unknown field ‘rate’ specified in initializer
- /tmp/z/trunk/ar5523.c:1344:4: error: unknown field ‘val’ specified in initializer
- /tmp/z/trunk/ar5523.c:1349:9: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1350:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1351:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1352:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1353:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1354:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1355:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1356:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1357:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1358:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1359:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1360:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1361:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1362:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1363:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1364:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1365:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1366:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1367:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1368:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1369:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1370:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1371:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1372:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1373:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1374:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c:1375:2: error: unknown field ‘chan’ specified in initializer
- /tmp/z/trunk/ar5523.c:1376:4: error: unknown field ‘freq’ specified in initializer
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_init_modes’:
- /tmp/z/trunk/ar5523.c:1386:14: error: ‘const struct ieee80211_rate’ has no member named ‘mode’
- /tmp/z/trunk/ar5523.c:1386:22: error: ‘MODE_IEEE80211G’ undeclared (first use in this function)
- /tmp/z/trunk/ar5523.c:1386:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c:1387:14: error: ‘const struct ieee80211_rate’ has no member named ‘num_rates’
- /tmp/z/trunk/ar5523.c:1387:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c:1388:14: error: ‘const struct ieee80211_rate’ has no member named ‘rates’
- /tmp/z/trunk/ar5523.c:1388:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c:1389:14: error: ‘const struct ieee80211_rate’ has no member named ‘num_channels’
- /tmp/z/trunk/ar5523.c:1389:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c:1390:14: error: ‘const struct ieee80211_rate’ has no member named ‘channels’
- /tmp/z/trunk/ar5523.c:1390:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c:1392:2: error: implicit declaration of function ‘ieee80211_register_hwmode’ [-Werror=implicit-function-declaration]
- /tmp/z/trunk/ar5523.c:1396:14: error: ‘const struct ieee80211_rate’ has no member named ‘mode’
- /tmp/z/trunk/ar5523.c:1396:22: error: ‘MODE_IEEE80211B’ undeclared (first use in this function)
- /tmp/z/trunk/ar5523.c:1396:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c:1397:14: error: ‘const struct ieee80211_rate’ has no member named ‘num_rates’
- /tmp/z/trunk/ar5523.c:1397:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c:1398:14: error: ‘const struct ieee80211_rate’ has no member named ‘rates’
- /tmp/z/trunk/ar5523.c:1398:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c:1399:14: error: ‘const struct ieee80211_rate’ has no member named ‘num_channels’
- /tmp/z/trunk/ar5523.c:1399:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c:1400:14: error: ‘const struct ieee80211_rate’ has no member named ‘channels’
- /tmp/z/trunk/ar5523.c:1400:2: warning: statement with no effect [-Wunused-value]
- /tmp/z/trunk/ar5523.c: In function ‘ar5523_probe’:
- /tmp/z/trunk/ar5523.c:1561:13: error: ‘IEEE80211_IF_TYPE_MNTR’ undeclared (first use in this function)
- /tmp/z/trunk/ar5523.c:1561:11: warning: assignment makes integer from pointer without a cast [enabled by default]
- cc1: some warnings being treated as errors
- make[2]: *** [/tmp/z/trunk/ar5523.o] Error 1
- make[1]: *** [_module_/tmp/z/trunk] Error 2
- make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-30-generic'
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement