Ask Your Question
1

ASUS PCE-N15 driver won't compile

asked 2015-09-11 02:34:59 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Has anybody figured this one out? I've tried several attempts, with no joy. Found a few references to macros and headers which have been deprecated, and adjusted the two most recent drivers, but still get numerous errors regarding undeclared identifiers. Here is the stderr from the latest compile attempt:

/home/adam/Linux/base.c: In function ‘_rtl_init_mac80211’:
/home/adam/Linux/base.c:319:6: error: ‘IEEE80211_HW_BEACON_FILTER’ undeclared (first use in this function)
      IEEE80211_HW_BEACON_FILTER |
      ^
/home/adam/Linux/base.c:319:6: note: each undeclared identifier is reported only once for each function it appears in
/home/adam/Linux/base.c:349:4: error: ‘struct ieee80211_hw’ has no member named ‘channel_change_time’
  hw->channel_change_time = 100;
    ^
/home/adam/Linux/base.c: In function ‘rtl_action_proc’:
/home/adam/Linux/base.c:858:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
       rx_status.freq = hw->conf.channel->center_freq;
                                ^
/home/adam/Linux/base.c:859:32: error: ‘struct ieee80211_conf’ has no member named ‘channel’
       rx_status.band = hw->conf.channel->band;
                                ^
/home/adam/Linux/base.c:861:25: error: ‘RX_FLAG_MACTIME_MPDU’ undeclared (first use in this function)
       rx_status.flag |= RX_FLAG_MACTIME_MPDU;
                         ^
/home/adam/Linux/base.c: In function ‘rtl_beacon_statistic’:
/home/adam/Linux/base.c:1132:6: error: implicit declaration of function ‘compare_ether_addr’ [-Werror=implicit-function-declaration]
  if (compare_ether_addr(hdr->addr3, rtlpriv->mac80211.bssid))
      ^
/home/adam/Linux/base.c: In function ‘rtl_send_smps_action’:
/home/adam/Linux/base.c:1414:16: error: ‘struct <anonymous>’ has no member named ‘sta’
   info->control.sta = sta;
                ^
/home/adam/Linux/base.c:1415:24: error: ‘struct ieee80211_conf’ has no member named ‘channel’
   info->band = hw->conf.channel->band;
                        ^
/home/adam/Linux/base.c: In function ‘rtl_store_debug_level’:
/home/adam/Linux/base.c:1639:8: error: implicit declaration of function ‘strict_strtoul’ [-Werror=implicit-function-declaration]
  ret = strict_strtoul(buf, 0, &val);
        ^
cc1: some warnings being treated as errors
make[2]: *** [/home/adam/Linux/base.o] Error 1
make[1]: *** [_module_/home/adam/Linux] Error 2
make: *** [all] Error 2

I'm not a developer, so I'm lost in the weeds here.

Thanks, Guy

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-09-11 04:50:42 -0500

geforce gravatar image

It looks like your trying to compile an old driver version, try using the source from here instead

https://github.com/lwfinger/rtlwifi_new

https://github.com/lwfinger/rtlwifi_n...

edit flag offensive delete link more

Comments

That compiles fantastically. That's what I get for pulling the drivers from Asus, instead of Realtek.

guyallgood gravatar imageguyallgood ( 2015-09-11 07:08:20 -0500 )edit

Thanks for your time.

guyallgood gravatar imageguyallgood ( 2015-09-11 07:27:57 -0500 )edit

I am new in the world akmod , but I made a rpm of this modules...I don't know if it works, because I haven't a similar card and it is my first "akmod" package. https://github.com/kuboosoft/spec-tes...

davidva gravatar imagedavidva ( 2015-09-13 01:19:18 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-09-11 02:34:59 -0500

Seen: 293 times

Last updated: Sep 11 '15