我是靠谱客的博主 笨笨诺言,最近开发中收集的这篇文章主要介绍debian9 rtl8723bu关闭debug后报错解决方法,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

rtl8723buincludeautoconf.h
/*
 * Debug Related Config
 */
+ //#define CONFIG_DEBUG /* DBG_871X, etc... */

#ifdef CONFIG_DEBUG
#define DBG	1	// for ODM & BTCOEX debug
//#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
#else // !CONFIG_DEBUG
#define DBG	0	// for ODM & BTCOEX debug
#endif // !CONFIG_DEBUG
In file included from drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/hal_btcoex.c:26:0:
drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/btc/Mp_Precomp.h:69:0: warning: "RT_TRACE" redefined
error, forbidden warning:Mp_Precomp.h:69
 #define RT_TRACE(dbgtype, dbgflag, printstr)
 
In file included from drivers/net/wireless/rockchip_wlan/rtl8723bu/include/drv_types.h:65:0,
                 from drivers/net/wireless/rockchip_wlan/rtl8723bu/include/../hal/phydm/phydm_types.h:172,
                 from drivers/net/wireless/rockchip_wlan/rtl8723bu/include/../hal/phydm/phydm_precomp.h:24,
                 from drivers/net/wireless/rockchip_wlan/rtl8723bu/include/hal_data.h:25,
                 from drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/hal_btcoex.c:24:
drivers/net/wireless/rockchip_wlan/rtl8723bu/include/rtw_debug.h:154:0: note: this is the location of the previous definition
 #define RT_TRACE(_Comp, _Level, Fmt) do{}while(0)
 
scripts/Makefile.build:277: recipe for target 'drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/hal_btcoex.o' failed
make[5]: *** [drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/hal_btcoex.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC      drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/rtl8723b/rtl8723b_dm.o
scripts/Makefile.build:484: recipe for target 'drivers/net/wireless/rockchip_wlan/rtl8723bu' failed
make[4]: *** [drivers/net/wireless/rockchip_wlan/rtl8723bu] Error 2
scripts/Makefile.build:484: recipe for target 'drivers/net/wireless/rockchip_wlan' failed
make[3]: *** [drivers/net/wireless/rockchip_wlan] Error 2
scripts/Makefile.build:484: recipe for target 'drivers/net/wireless' failed
make[2]: *** [drivers/net/wireless] Error 2
scripts/Makefile.build:484: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
Makefile:1036: recipe for target 'drivers' failed
make: *** [drivers] Error 2


rtl8723buincludeautoconf.h
/*
 * Debug Related Config
 */
- //#define CONFIG_DEBUG /* DBG_871X, etc... */
+#define CONFIG_DEBUG /* DBG_871X, etc... */

#ifdef CONFIG_DEBUG
#define DBG	1	// for ODM & BTCOEX debug
//#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */
#else // !CONFIG_DEBUG
#define DBG	0	// for ODM & BTCOEX debug
#endif // !CONFIG_DEBUG


rtl8723buincludertw_debug.h

#ifdef CONFIG_DEBUG
/*
#if	defined(_dbgdump)
	#undef DBG_871X
	#define DBG_871X(...)     do {
		_dbgdump(DRIVER_PREFIX __VA_ARGS__);
	}while(0)

	#undef MSG_8192C
	#define MSG_8192C(...)     do {
		_dbgdump(DRIVER_PREFIX __VA_ARGS__);
	}while(0)

	#undef DBG_8192C
	#define DBG_8192C(...)     do {
		_dbgdump(DRIVER_PREFIX __VA_ARGS__);
	}while(0)
#endif  *//* defined(_dbgdump) */

#endif /* CONFIG_DEBUG */

最后

以上就是笨笨诺言为你收集整理的debian9 rtl8723bu关闭debug后报错解决方法的全部内容,希望文章能够帮你解决debian9 rtl8723bu关闭debug后报错解决方法所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(98)

评论列表共有 0 条评论

立即
投稿
返回
顶部