Results 1 to 2 of 2

Thread: RT5370 make install error

  1. #1
    Join Date
    Jun 2015
    Beans
    2

    Exclamation RT5370 make install error

    Hi all,

    hope som1 can help.

    I dlded drivers from :
    http://www.mediatek.com/en/downloads...t5572-usb-usb/

    And set
    ...
    # Support Wpa_Supplicant
    HAS_WPA_SUPPLICANT=y
    # Support Native WpaSupplicant for Network Manger
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=
    y
    as mentioned here:
    http://bernaerts.dyndns.org/linux/74...k-dwa160-revb2

    everything else seems fine so I didnt change.

    when I "make install" error happens. seems like it can´t find ".ko" file.

    tried to do a search into the drivers folder but cant find it.

    any ideas?

    many thanks

    edit:

    I have been trying and making a lot of search. Seems like there is a problem with rt_linux.c code. I read in another post for another chipset that code is old for linux kernel but dunno how to fix.
    I believe bug is over here as it tells "incompatible types when assigning to int"

    #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
    pOSFSInfo->fsuid = current->fsuid;
    pOSFSInfo->fsgid = current->fsgid;
    current->fsuid = current->fsgid = 0;
    #else
    pOSFSInfo->fsuid = current_fsuid();
    pOSFSInfo->fsgid = current_fsgid();
    #endif
    pOSFSInfo->fs = get_fs();
    set_fs(KERNEL_DS);
    } else {
    set_fs(pOSFSInfo->fs);
    #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
    current->fsuid = pOSFSInfo->fsuid;
    current->fsgid = pOSFSInfo->fsgid;
    #endif
    }
    }

    edit 2:

    Seems like I´m auto solving it! LOL. Im on VM, I will try in the PC this WE


    I left the code like this, following instructions

    pOSFSInfo->fsuid = current_fsuid();
    pOSFSInfo->fsgid = current_fsgid();

    pOSFSInfo->fs = get_fs();
    set_fs(KERNEL_DS);
    } else {
    set_fs(pOSFSInfo->fs);

    }
    }


    Last edited by txw; June 22nd, 2015 at 03:58 PM.

  2. #2
    Join Date
    Jun 2015
    Beans
    2

    Talking Re: RT5370 make install error

    Hi all,

    I made a mistake. the VM I dlded was kubuntu and the PC giving trouble is Lubuntu.

    So I made it work with kubuntu VM but it doesnt work with Lubuntu. Just tried with lubuntu 15.04 into VM and it doesnt compile using "make" as it does with kubuntu.

    Any ideas?
    another light linux desktop I could install?

    many thanks!
    Last edited by txw; July 3rd, 2015 at 11:13 AM.

Bookmarks

Posting Permissions

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