You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux kali 6.6.15-arm64 #1 SMP Kali 6.6.15-2kali1 (2024-05-17) aarch64 GNU/Linux
But build fails with:
backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:9:13: error: ‘struct genl_info’ has no member named ‘userhdr’ backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:14:20: error: ‘struct genl_info’ has no member named ‘userhdr’ backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:48:21: error: conflicting types for ‘genl_info_userhdr’; have ‘void *(struct genl_info *)’
Building backport-include/backport/autoconf.h ... done.
CC [M] /root/backports-rtl8187/tmp/backports/compat/main.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/bitmap.h:11,
from /usr/src/linux-headers-6.6.15-common/include/linux/cpumask.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/smp.h:13,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/arch_timer.h:18,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/timex.h:8,
from /usr/src/linux-headers-6.6.15-common/include/linux/timex.h:67,
from /usr/src/linux-headers-6.6.15-common/include/linux/time32.h:13,
from /usr/src/linux-headers-6.6.15-common/include/linux/time.h:60,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/time.h:3,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/stat.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/stat.h:6,
from /usr/src/linux-headers-6.6.15-common/include/linux/module.h:13,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/module.h:3,
from /root/backports-rtl8187/tmp/backports/compat/main.c:1:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/build_bug.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/build_bug.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/container_of.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/list.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/module.h:12:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/bitmap.h:11,
from /usr/src/linux-headers-6.6.15-common/include/linux/cpumask.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/smp.h:13,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/arch_timer.h:18,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/timex.h:8,
from /usr/src/linux-headers-6.6.15-common/include/linux/timex.h:67,
from /usr/src/linux-headers-6.6.15-common/include/linux/time32.h:13,
from /usr/src/linux-headers-6.6.15-common/include/linux/time.h:60,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/time.h:3,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/stat.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/stat.h:6,
from /usr/src/linux-headers-6.6.15-common/include/linux/module.h:13,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/module.h:3,
from /root/backports-rtl8187/tmp/backports/compat/main.c:1:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/build_bug.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/build_bug.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/container_of.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/list.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/module.h:12:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
LD [M] /root/backports-rtl8187/tmp/backports/compat/compat.o
CC [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/uuid.h:11,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/uuid.h:4,
from /usr/src/linux-headers-6.6.15-common/include/linux/mod_devicetable.h:14,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/mod_devicetable.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/usb.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/usb.h:3,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:20:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:5:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:21,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:26:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_get’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:66:22: warning: comparison of distinct pointer types lacks a cast
66 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:650:13: note: in expansion of macro ‘check_add_overflow’
650 | if (check_add_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_put’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:75:22: warning: comparison of distinct pointer types lacks a cast
75 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:660:13: note: in expansion of macro ‘check_sub_overflow’
660 | if (check_sub_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:294:
In function ‘fortify_memset_chk’,
inlined from ‘ieee80211_tx_info_clear_status’ at /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:1207:2,
inlined from ‘rtl8187_tx_cb’ at /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:195:2:
/usr/src/linux-headers-6.6.15-common/include/linux/fortify-string.h:493:25: warning: call to ‘__write_overflow_field’ declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Wattribute-warning]
493 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/uuid.h:11,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/uuid.h:4,
from /usr/src/linux-headers-6.6.15-common/include/linux/mod_devicetable.h:14,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/mod_devicetable.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/usb.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/usb.h:3,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:16:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:5:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:21,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:17:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_get’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:66:22: warning: comparison of distinct pointer types lacks a cast
66 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:650:13: note: in expansion of macro ‘check_add_overflow’
650 | if (check_add_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_put’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:75:22: warning: comparison of distinct pointer types lacks a cast
75 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:660:13: note: in expansion of macro ‘check_sub_overflow’
660 | if (check_sub_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
CC [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/bitmap.h:11,
from /usr/src/linux-headers-6.6.15-common/include/linux/cpumask.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/smp.h:13,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/arch_timer.h:18,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/timex.h:8,
from /usr/src/linux-headers-6.6.15-common/include/linux/timex.h:67,
from /usr/src/linux-headers-6.6.15-common/include/linux/time32.h:13,
from /usr/src/linux-headers-6.6.15-common/include/linux/time.h:60,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/time.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/skbuff.h:15,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/skbuff.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/if_ether.h:19,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/if_ether.h:3,
from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:18,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c:15:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/asm-generic/bug.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/asm-generic/bug.h:3,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/bug.h:26,
from /usr/src/linux-headers-6.6.15-common/include/linux/bug.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/bug.h:3,
from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:16:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:21:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_get’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:66:22: warning: comparison of distinct pointer types lacks a cast
66 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:650:13: note: in expansion of macro ‘check_add_overflow’
650 | if (check_add_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_put’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:75:22: warning: comparison of distinct pointer types lacks a cast
75 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:660:13: note: in expansion of macro ‘check_sub_overflow’
660 | if (check_sub_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
CC [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/uuid.h:11,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/uuid.h:4,
from /usr/src/linux-headers-6.6.15-common/include/linux/mod_devicetable.h:14,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/mod_devicetable.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/usb.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/usb.h:3,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.c:14:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:5:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:21,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.c:15:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_get’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:66:22: warning: comparison of distinct pointer types lacks a cast
66 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:650:13: note: in expansion of macro ‘check_add_overflow’
650 | if (check_add_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_put’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:75:22: warning: comparison of distinct pointer types lacks a cast
75 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:660:13: note: in expansion of macro ‘check_sub_overflow’
660 | if (check_sub_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
LD [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.o
CC [M] /root/backports-rtl8187/tmp/backports/net/wireless/core.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/bitmap.h:11,
from /usr/src/linux-headers-6.6.15-common/include/linux/cpumask.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/mm_types_task.h:14,
from /usr/src/linux-headers-6.6.15-common/include/linux/mm_types.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/uio.h:10,
from /usr/src/linux-headers-6.6.15-common/include/linux/socket.h:8,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/socket.h:3,
from /usr/src/linux-headers-6.6.15-common/include/uapi/linux/if.h:25,
from /root/backports-rtl8187/tmp/backports/net/wireless/core.c:13:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/export.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/linkage.h:7,
from /usr/src/linux-headers-6.6.15-common/include/linux/kernel.h:17,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/kernel.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/uio.h:8:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/net/wireless/core.c:25:
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h: In function ‘__bp_genl_info_userhdr_set’:
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:9:13: error: ‘struct genl_info’ has no member named ‘userhdr’
9 | info->userhdr = userhdr;
| ^~
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h: In function ‘__bp_genl_info_userhdr’:
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:14:20: error: ‘struct genl_info’ has no member named ‘userhdr’
14 | return info->userhdr;
| ^~
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h: At top level:
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:48:21: error: conflicting types for ‘genl_info_userhdr’; have ‘void *(struct genl_info *)’
48 | static inline void *genl_info_userhdr(struct genl_info *info)
| ^~~~~~~~~~~~~~~~~
In file included from /root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:3:
/usr/src/linux-headers-6.6.15-common/include/net/genetlink.h:128:21: note: previous definition of ‘genl_info_userhdr’ with type ‘void *(const struct genl_info *)’
128 | static inline void *genl_info_userhdr(const struct genl_info *info)
| ^~~~~~~~~~~~~~~~~
In file included from /root/backports-rtl8187/tmp/backports/net/wireless/core.c:26:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
make[6]: *** [/usr/src/linux-headers-6.6.15-common/scripts/Makefile.build:248: /root/backports-rtl8187/tmp/backports/net/wireless/core.o] Fehler 1
make[5]: *** [/usr/src/linux-headers-6.6.15-common/scripts/Makefile.build:485: /root/backports-rtl8187/tmp/backports/net/wireless] Fehler 2
make[4]: *** [/usr/src/linux-headers-6.6.15-common/Makefile:1938: /root/backports-rtl8187/tmp/backports] Fehler 2
make[3]: *** [Makefile.build:13: modules] Fehler 2
make[2]: *** [Makefile.real:88: modules] Fehler 2
make[1]: *** [Makefile:43: modules] Fehler 2
make: *** [Makefile:30: default] Fehler 2
! Failed to build rtl8187 wireless driver.
The text was updated successfully, but these errors were encountered:
Hey there, trying to compile backports-rtl8187
Linux kali 6.6.15-arm64 #1 SMP Kali 6.6.15-2kali1 (2024-05-17) aarch64 GNU/Linux
But build fails with:
backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:9:13: error: ‘struct genl_info’ has no member named ‘userhdr’
backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:14:20: error: ‘struct genl_info’ has no member named ‘userhdr’
backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:48:21: error: conflicting types for ‘genl_info_userhdr’; have ‘void *(struct genl_info *)’
here is the full compile output:
root@kali:~/backports-rtl8187# ./build.sh -b
patching file Makefile
patching file net/wireless/util.c
patching file net/mac80211/ethtool.c
patching file net/mac80211/rx.c
patching file net/mac80211/rc80211_minstrel_ht.c
checking file drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c
Hunk #1 succeeded at 1114 (offset 1 line).
Hunk #2 succeeded at 1605 (offset 2 lines).
checking file defconfigs/rtl8187
patching file drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c
Hunk #1 succeeded at 1114 (offset 1 line).
Hunk #2 succeeded at 1605 (offset 2 lines).
patching file defconfigs/rtl8187
checking file net/mac80211/cfg.c
Hunk #1 succeeded at 818 with fuzz 2 (offset -32 lines).
checking file net/mac80211/tx.c
Hunk #2 succeeded at 2044 (offset -10 lines).
checking file net/wireless/chan.c
Hunk #1 succeeded at 1243 (offset -150 lines).
checking file drivers/net/wireless/zydas/zd1211rw/zd_mac.c
Hunk #3 succeeded at 1391 (offset -1 lines).
checking file drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c
patching file net/mac80211/cfg.c
Hunk #1 succeeded at 818 with fuzz 2 (offset -32 lines).
patching file net/mac80211/tx.c
Hunk #2 succeeded at 2044 (offset -10 lines).
patching file net/wireless/chan.c
Hunk #1 succeeded at 1243 (offset -150 lines).
patching file drivers/net/wireless/zydas/zd1211rw/zd_mac.c
Hunk #3 succeeded at 1391 (offset -1 lines).
patching file drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c
Generating local configuration database from kernel ... done.
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o conf.o conf.c
lex -ozconf.lex.c -L zconf.l
yacc -ozconf.tab.c -t -l zconf.y
zconf.y:34.1-7: Warnung: POSIX-Yacc akzeptiert %expect nicht [-Wyacc]
34 | %expect 32
| ^~~~~~~
zconf.y:97.1-11: Warnung: POSIX-Yacc akzeptiert %destructor nicht [-Wyacc]
97 | %destructor {
| ^~~~~~~~~~~
cc -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o zconf.tab.o zconf.tab.c
cc conf.o zconf.tab.o -o conf
configuration written to .config
make[5]: „conf“ ist bereits aktuell.
configuration written to .config
Building backport-include/backport/autoconf.h ... done.
CC [M] /root/backports-rtl8187/tmp/backports/compat/main.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/bitmap.h:11,
from /usr/src/linux-headers-6.6.15-common/include/linux/cpumask.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/smp.h:13,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/arch_timer.h:18,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/timex.h:8,
from /usr/src/linux-headers-6.6.15-common/include/linux/timex.h:67,
from /usr/src/linux-headers-6.6.15-common/include/linux/time32.h:13,
from /usr/src/linux-headers-6.6.15-common/include/linux/time.h:60,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/time.h:3,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/stat.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/stat.h:6,
from /usr/src/linux-headers-6.6.15-common/include/linux/module.h:13,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/module.h:3,
from /root/backports-rtl8187/tmp/backports/compat/main.c:1:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/build_bug.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/build_bug.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/container_of.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/list.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/module.h:12:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/bitmap.h:11,
from /usr/src/linux-headers-6.6.15-common/include/linux/cpumask.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/smp.h:13,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/arch_timer.h:18,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/timex.h:8,
from /usr/src/linux-headers-6.6.15-common/include/linux/timex.h:67,
from /usr/src/linux-headers-6.6.15-common/include/linux/time32.h:13,
from /usr/src/linux-headers-6.6.15-common/include/linux/time.h:60,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/time.h:3,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/stat.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/stat.h:6,
from /usr/src/linux-headers-6.6.15-common/include/linux/module.h:13,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/module.h:3,
from /root/backports-rtl8187/tmp/backports/compat/main.c:1:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/build_bug.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/build_bug.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/container_of.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/list.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/module.h:12:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
LD [M] /root/backports-rtl8187/tmp/backports/compat/compat.o
CC [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/uuid.h:11,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/uuid.h:4,
from /usr/src/linux-headers-6.6.15-common/include/linux/mod_devicetable.h:14,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/mod_devicetable.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/usb.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/usb.h:3,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:20:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:5:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:21,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:26:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_get’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:66:22: warning: comparison of distinct pointer types lacks a cast
66 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:650:13: note: in expansion of macro ‘check_add_overflow’
650 | if (check_add_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_put’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:75:22: warning: comparison of distinct pointer types lacks a cast
75 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:660:13: note: in expansion of macro ‘check_sub_overflow’
660 | if (check_sub_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:294:
In function ‘fortify_memset_chk’,
inlined from ‘ieee80211_tx_info_clear_status’ at /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:1207:2,
inlined from ‘rtl8187_tx_cb’ at /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c:195:2:
/usr/src/linux-headers-6.6.15-common/include/linux/fortify-string.h:493:25: warning: call to ‘__write_overflow_field’ declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Wattribute-warning]
493 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/uuid.h:11,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/uuid.h:4,
from /usr/src/linux-headers-6.6.15-common/include/linux/mod_devicetable.h:14,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/mod_devicetable.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/usb.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/usb.h:3,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:16:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:5:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:21,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8225.c:17:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_get’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:66:22: warning: comparison of distinct pointer types lacks a cast
66 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:650:13: note: in expansion of macro ‘check_add_overflow’
650 | if (check_add_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_put’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:75:22: warning: comparison of distinct pointer types lacks a cast
75 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:660:13: note: in expansion of macro ‘check_sub_overflow’
660 | if (check_sub_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
CC [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/bitmap.h:11,
from /usr/src/linux-headers-6.6.15-common/include/linux/cpumask.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/smp.h:13,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/arch_timer.h:18,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/timex.h:8,
from /usr/src/linux-headers-6.6.15-common/include/linux/timex.h:67,
from /usr/src/linux-headers-6.6.15-common/include/linux/time32.h:13,
from /usr/src/linux-headers-6.6.15-common/include/linux/time.h:60,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/time.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/skbuff.h:15,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/skbuff.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/if_ether.h:19,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/if_ether.h:3,
from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:18,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c:15:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/asm-generic/bug.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/asm-generic/bug.h:3,
from /usr/src/linux-headers-6.6.15-common/arch/arm64/include/asm/bug.h:26,
from /usr/src/linux-headers-6.6.15-common/include/linux/bug.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/bug.h:3,
from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:16:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:21:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_get’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:66:22: warning: comparison of distinct pointer types lacks a cast
66 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:650:13: note: in expansion of macro ‘check_add_overflow’
650 | if (check_add_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_put’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:75:22: warning: comparison of distinct pointer types lacks a cast
75 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:660:13: note: in expansion of macro ‘check_sub_overflow’
660 | if (check_sub_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
CC [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/uuid.h:11,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/uuid.h:4,
from /usr/src/linux-headers-6.6.15-common/include/linux/mod_devicetable.h:14,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/mod_devicetable.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/usb.h:5,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/usb.h:3,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.c:14:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:5:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/include/net/mac80211.h:21,
from /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rfkill.c:15:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_get’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:66:22: warning: comparison of distinct pointer types lacks a cast
66 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:650:13: note: in expansion of macro ‘check_add_overflow’
650 | if (check_add_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h: In function ‘qdisc_class_put’:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:75:22: warning: comparison of distinct pointer types lacks a cast
75 | (void) (&__a == &__b);
| ^~
/usr/src/linux-headers-6.6.15-common/include/net/sch_generic.h:660:13: note: in expansion of macro ‘check_sub_overflow’
660 | if (check_sub_overflow(cl->filter_cnt, 1, &res))
| ^~~~~~~~~~~~~~~~~~
LD [M] /root/backports-rtl8187/tmp/backports/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.o
CC [M] /root/backports-rtl8187/tmp/backports/net/wireless/core.o
In file included from /usr/src/linux-headers-6.6.15-common/include/linux/string.h:10,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/string.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/bitmap.h:11,
from /usr/src/linux-headers-6.6.15-common/include/linux/cpumask.h:12,
from /usr/src/linux-headers-6.6.15-common/include/linux/mm_types_task.h:14,
from /usr/src/linux-headers-6.6.15-common/include/linux/mm_types.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/uio.h:10,
from /usr/src/linux-headers-6.6.15-common/include/linux/socket.h:8,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/socket.h:3,
from /usr/src/linux-headers-6.6.15-common/include/uapi/linux/if.h:25,
from /root/backports-rtl8187/tmp/backports/net/wireless/core.c:13:
/root/backports-rtl8187/tmp/backports/include/linux/overflow.h:32: warning: "is_signed_type" redefined
32 | #define is_signed_type(type) (((type)(-1)) < (type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/backport-include/linux/compiler.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/export.h:5,
from /usr/src/linux-headers-6.6.15-common/include/linux/linkage.h:7,
from /usr/src/linux-headers-6.6.15-common/include/linux/kernel.h:17,
from /root/backports-rtl8187/tmp/backports/backport-include/linux/kernel.h:3,
from /usr/src/linux-headers-6.6.15-common/include/linux/uio.h:8:
/usr/src/linux-headers-6.6.15-common/include/linux/compiler.h:237: note: this is the location of the previous definition
237 | #define is_signed_type(type) (((type)(-1)) < (__force type)1)
|
In file included from /root/backports-rtl8187/tmp/backports/net/wireless/core.c:25:
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h: In function ‘__bp_genl_info_userhdr_set’:
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:9:13: error: ‘struct genl_info’ has no member named ‘userhdr’
9 | info->userhdr = userhdr;
| ^~
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h: In function ‘__bp_genl_info_userhdr’:
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:14:20: error: ‘struct genl_info’ has no member named ‘userhdr’
14 | return info->userhdr;
| ^~
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h: At top level:
/root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:48:21: error: conflicting types for ‘genl_info_userhdr’; have ‘void *(struct genl_info *)’
48 | static inline void *genl_info_userhdr(struct genl_info *info)
| ^~~~~~~~~~~~~~~~~
In file included from /root/backports-rtl8187/tmp/backports/backport-include/net/genetlink.h:3:
/usr/src/linux-headers-6.6.15-common/include/net/genetlink.h:128:21: note: previous definition of ‘genl_info_userhdr’ with type ‘void *(const struct genl_info *)’
128 | static inline void *genl_info_userhdr(const struct genl_info *info)
| ^~~~~~~~~~~~~~~~~
In file included from /root/backports-rtl8187/tmp/backports/net/wireless/core.c:26:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h: In function ‘wdev_address’:
/root/backports-rtl8187/tmp/backports/include/net/cfg80211.h:5504:36: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5504 | return wdev->netdev->dev_addr;
| ~~~~~~~~~~~~^~~~~~~~~~
make[6]: *** [/usr/src/linux-headers-6.6.15-common/scripts/Makefile.build:248: /root/backports-rtl8187/tmp/backports/net/wireless/core.o] Fehler 1
make[5]: *** [/usr/src/linux-headers-6.6.15-common/scripts/Makefile.build:485: /root/backports-rtl8187/tmp/backports/net/wireless] Fehler 2
make[4]: *** [/usr/src/linux-headers-6.6.15-common/Makefile:1938: /root/backports-rtl8187/tmp/backports] Fehler 2
make[3]: *** [Makefile.build:13: modules] Fehler 2
make[2]: *** [Makefile.real:88: modules] Fehler 2
make[1]: *** [Makefile:43: modules] Fehler 2
make: *** [Makefile:30: default] Fehler 2
! Failed to build rtl8187 wireless driver.
The text was updated successfully, but these errors were encountered: