50٪ تخفیف روی تمام دوره‌ها!
پایان تخفیف تا:
مشاهده دوره‌ها
0

ارور در نصب درایور کارت شبکه tp-link tl-wn821n در لینوکس اوبونتو

با سلام و سخته نباشید.بنده در نصب درایور (دانلود شده از سایت اصلی کارت شبکه) کارت شبکه tp-link tl-wn821n در لینوکس اوبونتو با این ارور مواجه شدم.آیا کسی میدونه مشکل چیه؟

متن ارور در ترمینال:

deadhopes@ubuntu:~DesktopTL-WN821NV5160315_Linux/Driver$ make

"******************************************"

"NO SKRC,we will use default KSRC"

"******************************************"

make ARCH=i386 CROSSCOMPILE= -C libmodules4.10.0-32-genericbuild M=homedeadhopesDesktopTL-WN821NV5160315Linux/Driver modules

make[1]: Entering directory 'usrsrc/linux-headers-4.10.0-32-generic'

"******************************************"

"NO SKRC,we will use default KSRC"

"******************************************"

CC [M] homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.o

In file included from homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/drvtypes.h:95:0,

from homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.c:22:

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/halcom.h:413:13: error: ‘file_path’ redeclared as different kind of symbol

extern char filepath[PATHLENGTH_MAX];

^

In file included from .includelinux/seq_file.h:10:0,

from .includelinuxpinctrlconsumer.h:17,

from .includelinuxpinctrldevinfo.h:21,

from .includelinux/device.h:24,

from .includelinux/dmaengine.h:20,

from .includelinux/netdevice.h:38,

from homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/osdepservice_linux.h:35,

from homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/osdepservice.h:41,

from homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/drvtypes.h:32,

from homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.c:22:

.includelinux/fs.h:2680:14: note: previous declaration of ‘file_path’ was here

extern char file_path(struct file , char *, int);

^

In file included from homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/drvtypes.h:65:0,

from homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.c:22:

homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.c: In function ‘btinfoevtdump’:

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:187:19: error: void value not ignored as it ought to be

#define seqdump seqprintf

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:242:7: note: in expansion of macro ‘_seqdump’

if(seqdump(sel, fmt, ##arg)) /*rtwwarn_on(1)*/; \

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.c:3293:2: note: in expansion of macro ‘DBG871XSEL_NL’

DBG871XSEL_NL(sel, "cid:0x%02x, len:%u\n", info->cid, info->len);

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:187:19: error: void value not ignored as it ought to be

#define seqdump seqprintf

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:242:7: note: in expansion of macro ‘_seqdump’

if(seqdump(sel, fmt, ##arg)) /*rtwwarn_on(1)*/; \

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.c:3296:3: note: in expansion of macro ‘DBG871XSEL_NL’

DBG871XSEL_NL(sel, "byte2:%s%s%s%s%s%s%s%s\n"

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:187:19: error: void value not ignored as it ought to be

#define seqdump seqprintf

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:242:7: note: in expansion of macro ‘_seqdump’

if(seqdump(sel, fmt, ##arg)) /*rtwwarn_on(1)*/; \

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.c:3308:3: note: in expansion of macro ‘DBG871XSEL_NL’

DBG871XSELNL(sel, "retrycnt:%u\n", info->retry_cnt);

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:187:19: error: void value not ignored as it ought to be

#define seqdump seqprintf

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:242:7: note: in expansion of macro ‘_seqdump’

if(seqdump(sel, fmt, ##arg)) /*rtwwarn_on(1)*/; \

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.c:3311:3: note: in expansion of macro ‘DBG871XSEL_NL’

DBG871XSEL_NL(sel, "rssi:%u\n", info->rssi);

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:187:19: error: void value not ignored as it ought to be

#define seqdump seqprintf

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDriverinclude/rtwdebug.h:242:7: note: in expansion of macro ‘_seqdump’

if(seqdump(sel, fmt, ##arg)) /*rtwwarn_on(1)*/; \

^

homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.c:3314:3: note: in expansion of macro ‘DBG871XSEL_NL’

DBG871XSEL_NL(sel, "byte5:%s%s\n"

^

scriptsMakefile.build:294: recipe for target 'homedeadhopesDesktopTL-WN821NV5160315_LinuxDrivercorertw_cmd.o' failed

make[2]: *** [homedeadhopesDesktopTL-WN821NV5160315LinuxDrivercore/rtwcmd.o] Error 1

Makefile:1524: recipe for target 'modulehomedeadhopesDesktopTL-WN821NV5160315_Linux/Driver' failed

make[1]: *** [modulehomedeadhopesDesktopTL-WN821NV5160315_Linux/Driver] Error 2

make[1]: Leaving directory 'usrsrc/linux-headers-4.10.0-32-generic'

Makefile:1696: recipe for target 'modules' failed

make: *** [modules] Error 2

پرسیده شده در 1396/05/25 توسط

1 پاسخ

0

سلام

دوست عزیز دقت کنید Chipset کارت شبکه چیه ، بعد برین به دنبال نصب درایور اون Chipset.

من خودم مشکلی شبیه به شما داشتم و از سایت اصلی TP-Link درایور رو دانلود کردم اما نصب نمیشد ، بعد فهمیدم کارتی که من داشتم نسخه 2 بود و Chipsetـش با نسخه 1 متفاوت بود.

موفق باشید.

پاسخ در 1396/07/14 توسط

پاسخ شما