Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on kernel 4.19.2-300.fc29.x86_64 #68

Open
dbrazziel opened this issue Nov 19, 2018 · 2 comments
Open

Build fails on kernel 4.19.2-300.fc29.x86_64 #68

dbrazziel opened this issue Nov 19, 2018 · 2 comments

Comments

@dbrazziel
Copy link

Numerous warning about redefinition of variables followed by a fatal error defining u16 type variables in 'rtw_select_queue'. Make log is below:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.2-300.fc29.x86_64/build M=/usr/src/8192du-1.0 modules
make[1]: Entering directory '/usr/src/kernels/4.19.2-300.fc29.x86_64'
CC [M] /usr/src/8192du-1.0/core/rtw_cmd.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_cmd.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_cmd.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_security.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_security.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_security.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_debug.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/include/rtw_debug.h:25,
from /usr/src/8192du-1.0/core/rtw_debug.c:23:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/include/rtw_debug.h:24,
from /usr/src/8192du-1.0/core/rtw_debug.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_io.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_io.c:53:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_io.c:52:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_ioctl_query.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_ioctl_query.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_ioctl_query.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_ioctl_set.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_ioctl_set.c:25:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_ioctl_set.c:24:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_ieee80211.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_ieee80211.c:22:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/include/drv_types.h:31,
from /usr/src/8192du-1.0/core/rtw_ieee80211.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_mlme.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_mlme.c:25:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_mlme.c:24:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_mlme_ext.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_mlme_ext.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_mlme_ext.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_wlan_util.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_wlan_util.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_wlan_util.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_pwrctrl.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_pwrctrl.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_pwrctrl.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_rf.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_rf.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_rf.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_recv.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_recv.c:23:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_recv.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_sta_mgt.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_sta_mgt.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_sta_mgt.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_ap.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_ap.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_ap.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_xmit.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_xmit.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_xmit.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_p2p.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_p2p.c:22:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/include/drv_types.h:31,
from /usr/src/8192du-1.0/core/rtw_p2p.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_tdls.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_tdls.c:22:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/include/drv_types.h:31,
from /usr/src/8192du-1.0/core/rtw_tdls.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_br_ext.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_br_ext.c:33:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/include/drv_types.h:31,
from /usr/src/8192du-1.0/core/rtw_br_ext.c:33:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_iol.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/include/rtw_iol.h:25,
from /usr/src/8192du-1.0/core/rtw_iol.c:21:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/include/rtw_iol.h:24,
from /usr/src/8192du-1.0/core/rtw_iol.c:21:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_sreset.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/include/rtw_sreset.h:25,
from /usr/src/8192du-1.0/core/rtw_sreset.c:21:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/include/rtw_sreset.h:24,
from /usr/src/8192du-1.0/core/rtw_sreset.c:21:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/core/rtw_efuse.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/core/rtw_efuse.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/core/rtw_efuse.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/hal_intf.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/hal_intf.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/hal_intf.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/hal_com.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/hal_com.c:22:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/hal_com.c:21:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/dm.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/dm.c:23:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/dm.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/usb_ops_linux.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/usb_ops_linux.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/usb_ops_linux.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/rtl8192d_hal_init.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192d_hal_init.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/rtl8192d_hal_init.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/rtl8192d_phycfg.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192d_phycfg.c:56:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/rtl8192d_phycfg.c:55:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

/usr/src/8192du-1.0/hal/rtl8192d_phycfg.c: In function ‘phy_IQCalibrate_5G’:
/usr/src/8192du-1.0/hal/rtl8192d_phycfg.c:5428:55: warning: bitwise comparison always evaluates to true [-Wtautological-compare]
if(((REG0xeac&BIT(31)) == 0) && ((REG0xeb4&0x3FF0000)!=0x142))
^~
CC [M] /usr/src/8192du-1.0/hal/rtl8192d_rf6052.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192d_rf6052.c:46:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/rtl8192d_rf6052.c:45:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/rtl8192d_dm.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192d_dm.c:33:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/rtl8192d_dm.c:32:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/rtl8192d_rxdesc.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192d_rxdesc.c:23:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/rtl8192d_rxdesc.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/rtl8192d_cmd.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192d_cmd.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/rtl8192d_cmd.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/usb_halinit.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/usb_halinit.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/usb_halinit.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/rtl8192du_led.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192du_led.c:21:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/include/drv_types.h:31,
from /usr/src/8192du-1.0/hal/rtl8192du_led.c:21:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/rtl8192du_xmit.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192du_xmit.c:23:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/rtl8192du_xmit.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/rtl8192du_recv.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192du_recv.c:23:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/rtl8192du_recv.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/rtl8192d_xmit.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/hal/rtl8192d_xmit.c:24:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/hal/rtl8192d_xmit.c:23:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/hal/Hal8192DUHWImg.o
CC [M] /usr/src/8192du-1.0/os_dep/osdep_service.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/os_dep/osdep_service.c:26:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/os_dep/osdep_service.c:25:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

CC [M] /usr/src/8192du-1.0/os_dep/os_intfs.o
In file included from /usr/src/8192du-1.0/include/rtw_ht.h:25,
from /usr/src/8192du-1.0/include/drv_types.h:52,
from /usr/src/8192du-1.0/os_dep/os_intfs.c:25:
/usr/src/8192du-1.0/include/wifi.h:815: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from ./include/net/cfg80211.h:24,
from /usr/src/8192du-1.0/include/osdep_service.h:84,
from /usr/src/8192du-1.0/os_dep/os_intfs.c:24:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

/usr/src/8192du-1.0/os_dep/os_intfs.c:583:22: error: initialization of ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device , u16 ()(struct net_device *, struct sk_buff *, struct net_device ))’ {aka ‘short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device , short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device ))’} from incompatible pointer type ‘u16 ()(struct net_device *, struct sk_buff *, void , u16 ()(struct net_device *, struct sk_buff *, struct net_device ))’ {aka ‘short unsigned int ()(struct net_device *, struct sk_buff *, void , short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device ))’} [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/usr/src/8192du-1.0/os_dep/os_intfs.c:583:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
/usr/src/8192du-1.0/os_dep/os_intfs.c:1733:22: error: initialization of ‘u16 (
)(struct net_device *, struct sk_buff *, struct net_device , u16 ()(struct net_device *, struct sk_buff *, struct net_device ))’ {aka ‘short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device , short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device ))’} from incompatible pointer type ‘u16 ()(struct net_device *, struct sk_buff *, void , u16 ()(struct net_device *, struct sk_buff *, struct net_device ))’ {aka ‘short unsigned int ()(struct net_device *, struct sk_buff *, void , short unsigned int ()(struct net_device *, struct sk_buff *, struct net_device *))’} [-Werror=incompatible-pointer-types]
.ndo_select_queue = rtw_select_queue,
^~~~~~~~~~~~~~~~
/usr/src/8192du-1.0/os_dep/os_intfs.c:1733:22: note: (near initialization for ‘rtw_netdev_if2_ops.ndo_select_queue’)
cc1: some warnings being treated as errors
distcc[3865] ERROR: compile /usr/src/8192du-1.0/os_dep/os_intfs.c on localhost failed
make[2]: *** [scripts/Makefile.build:306: /usr/src/8192du-1.0/os_dep/os_intfs.o] Error 1
make[1]: *** [Makefile:1521: module/usr/src/8192du-1.0] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.19.2-300.fc29.x86_64'
make: *** [Makefile:686: modules] Error 2

@lwfinger
Copy link
Owner

These problems were fixed some time ago. Did you do a 'git pull'? You should always do that before reporting a problem. If you did not do a ;git clone' to create the files on your system., then you will need to get another zip file and start from scratch. That is why I recomment using git. If I change a single character in the code base, updating with git involves downloading only very little info. With the zip version, you need to redownload everything.

@dbrazziel
Copy link
Author

dbrazziel commented Nov 20, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants