Results 1 to 3 of 3

Thread: Newby loaded CENTOS 8 cant get NightHawk 1900 driver to load

Hybrid View

  1. #1

    Default Newby loaded CENTOS 8 cant get NightHawk 1900 driver to load

    make command created this output:

    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-147.5.1.el8_1.x86_64/build M=/etc/NETGEAR_Nighthawk_AC1900 modules
    make[1]: Entering directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
    CC [M] /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.o
    In file included from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service.h:41,
    from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:32,
    from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
    /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h: In function ‘_init_timer’:
    /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
    ptimer->data = (unsigned long)cntx;
    ^~
    /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
    init_timer(ptimer);
    ^~~~~~~~~~
    _init_timer
    In file included from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:35,
    from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
    /etc/NETGEAR_Nighthawk_AC1900/include/wifi.h: At top level:
    /etc/NETGEAR_Nighthawk_AC1900/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
    #define IEEE80211_MAX_AMPDU_BUF 0x40

    In file included from ./include/net/cfg80211.h:21,
    from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:87,
    from /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service.h:41,
    from /etc/NETGEAR_Nighthawk_AC1900/include/drv_types.h:32,
    from /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.c:22:
    ./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
    #define IEEE80211_MAX_AMPDU_BUF 0x100

    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:313: /etc/NETGEAR_Nighthawk_AC1900/core/rtw_cmd.o] Error 1
    make[1]: *** [Makefile:1547: _module_/etc/NETGEAR_Nighthawk_AC1900] Error 2
    make[1]: Leaving directory '/usr/src/kernels/4.18.0-147.5.1.el8_1.x86_64'
    make: *** [Makefile:1699: modules] Error 2

    Any suggestions?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,821
    Blog Entries
    14

    Default Re: Newby loaded CENTOS 8 cant get NightHawk 1900 driver to load

    Hi, these are not the CentOS forums, but the openSUSE ones.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,362

    Default AW: Newby loaded CENTOS 8 cant get NightHawk 1900 driver to load

    Code:
    /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
    ptimer->data = (unsigned long)cntx;
    ^~
    /etc/NETGEAR_Nighthawk_AC1900/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
    init_timer(ptimer);
    ^~~~~~~~~~
    And you have to patch the sources.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •