Results 1 to 2 of 2

Thread: Installation of Realtek WiFi driver failes

  1. #1

    Question Installation of Realtek WiFi driver failes

    Hello,
    my notebook crashed and I had to reinstall Linux on it, I installed newest OpenSuSE 13,2 x64
    by trying to install the driver for my USB WiFI card, I get 2 mistakes, I cannot find out what it is.
    Here the logfile what fits:
    Decompress the driver source tar ball:
    rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405.tar.gz
    .....
    cd sta_mgt ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd xmit; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd efuse; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    Authentication requested [root] for make driver:
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16.7-7-desktop/build M=/home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405 modules
    make[1]: Entering directory '/usr/src/linux-3.16.7-7-obj/x86_64/desktop'
    make[1]: Entering directory `/usr/src/linux-3.16.7-7-obj/x86_64/desktop'
    CC [M] /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o
    In file included from /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:23:0:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h: In function ‘_init_timer’:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h:151:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    ptimer->data = (u32)cntx;
    ^
    In file included from /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:23:0:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h: In function ‘thread_enter’:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h:393:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
    daemonize("%s", "RTKTHREAD");
    ^
    In file included from /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_ht.h:25:0,
    from /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:67,
    from /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h: In function ‘get_da’:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:350:9: note: in expansion of macro ‘GetAddr1Ptr’
    da = GetAddr1Ptr(pframe);
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:350:9: note: in expansion of macro ‘GetAddr1Ptr’
    da = GetAddr1Ptr(pframe);

    ...


    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:400:9: note: in expansion of macro ‘GetAddr2Ptr’
    sa = GetAddr2Ptr(pframe);
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:403:9: note: in expansion of macro ‘GetAddr1Ptr’
    sa = GetAddr1Ptr(pframe);
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    #define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/wifi.h:403:9: note: in expansion of macro ‘GetAddr1Ptr’
    sa = GetAddr1Ptr(pframe);
    ^
    In file included from /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/drv_types.h:73:0,
    from /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:24:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h: In function ‘rxmem_to_recvframe’:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:435:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/rtl871x_recv.h:435:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c: In function ‘_init_cmd_priv’:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:93:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    pcmdpriv->cmd_buf = pcmdpriv->cmd_allocated_buf + CMDBUFF_ALIGN_SZ - ( (uint)(pcmdpriv->cmd_allocated_buf) & (CMDBUFF_ALIGN_SZ-1));
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:101:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    pcmdpriv->rsp_buf = pcmdpriv->rsp_allocated_buf + 4 - ( (uint)(pcmdpriv->rsp_allocated_buf) & 3);
    ^
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c: In function ‘_init_evt_priv’:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:135:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    pevtpriv->evt_buf = pevtpriv->evt_allocated_buf + 4 - ((unsigned int)(pevtpriv->evt_allocated_buf) & 3);
    ^
    cc1: some warnings being treated as errors
    /usr/src/linux-3.16.7-7/scripts/Makefile.build:273: recipe for target '/home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o' failed
    make[4]: *** [/home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.o] Error 1
    /usr/src/linux-3.16.7-7/Makefile:1359: recipe for target '_module_/home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405' failed
    make[3]: *** [_module_/home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405] Error 2
    Makefile:195: recipe for target 'sub-make' failed
    make[2]: *** [sub-make] Error 2
    Makefile:24: recipe for target '__sub-make' failed
    make[1]: *** [__sub-make] Error 2
    make[1]: Leaving directory '/usr/src/linux-3.16.7-7-obj/x86_64/desktop'
    Makefile:220: recipe for target 'modules' failed
    make: *** [modules] Error 2
    ##################################################
    Compile make driver error: 2
    Please check error Mesg
    ##################################################


    Where to find that Mesg?
    I installed C++, Kernel headers.
    Thanks for any help to a Dummy
    Because I am sitting right now in Siberia and I am dependent on that notebook

  2. #2

    Default AW: Installation of Realtek WiFi driver failes

    Well, the error is this:
    Quote Originally Posted by mardhuin View Post
    In file included from /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/cmd/rtl871x_cmd.c:23:0:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h: In function ‘thread_enter’:
    /home/mardhuin/Öffentlich/Linux/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405/include/osdep_service.h:393:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
    daemonize("%s", "RTKTHREAD");
    ^
    You could probably get around this by changing the compiler options in the Makefile.

    But the question is if that driver even works with the 3.16 kernel in 13.2, it seems quite old (2012)...

    Maybe you don't even need a driver?
    What wireless device do you actually have?
    "lsusb" should show the details.

Tags for this Thread

Posting Permissions

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