CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2010
    Posts
    140

    [RESOLVED] Trying to make a driver for a wireless device in Fatdog

    I have put a wireless device (802.11N) on my Fatdog machine, and I accidentally slit right through the install disk, so I simply downloaded the driver (tarball or some compression), decompressed the thing into the right directory, where there is an install.sh and a .pdf file with the directions on how to compile the driver. So I installed a compiler that has make and followed the directions and ran sh install.sh after superusering with su -. The first time it said no such lib/.../build directory so I went in there and simply mkdir'd a build directory to make the script satisfied. The next time I ran make, it errored out with "No rule to make target modules. Stop."

    So do I have to tell it which platform. The modules are all there. Shouldn't it know which modules? Do I have to supply the module to the shell script. I'm just surprised that the install.sh did not work. It never mentioned any parameters to the install.sh.

    I haven't used Linux in many, many years, and I've never compiled a driver. I'll work on this one, but is there something I'm missing? Should I say what chip-type wireless adapter I have?

    Here's some output (but note that the error that comes to the terminal is what I say above):
    rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/hal/rtl8192c/usb/usb_ops_xp.c
    rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/hal/rtl8192c/usb/rtl8192cu_recv.c
    rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/hal/rtl8192c/rtl8192c_rxdesc.c
    rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/hal/rtl8192c/rtl8192c_rf6052.c
    rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/hal/rtl8192c/rtl8192c_mp.c
    rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/hal/hal_init.c
    rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105
    Authentication requested [root] for make clean:
    rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
    rm .tmp_versions -fr ; rm Module.symvers -fr
    rm -fr Module.markers ; rm -fr modules.order
    cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd hal/rtl8192c/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd hal/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
    Authentication requested [root] for make driver:
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.18.7/build M=/aufs/devsave/Downloads/Drivers/Wireless/RTL8188C_8192C_USB_linux_v3.4.4_4749.20121105/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105 modules
    make[1]: Entering directory '/lib/modules/3.18.7/build'
    make[1]: Leaving directory '/lib/modules/3.18.7/build'
    Makefile:504: recipe for target 'modules' failed
    ##################################################
    Compile make driver error: 2
    Please check error Mesg
    ##################################################

  2. #2
    Join Date
    Nov 2010
    Posts
    140

    Re: Trying to make a driver for a wireless device in Fatdog

    I've attached the Makefile as Makefile.txt. I'll start looking at this, I just didn't think this would be another troubleshooting day, maybe tomorrow I can get to it.

    In the meantime, if anyone has compiled drivers, maybe this has happened?
    Attached Files Attached Files

  3. #3
    Join Date
    Nov 2010
    Posts
    140

    Re: Trying to make a driver for a wireless device in Fatdog

    I replaced the adapter, it may have been a hardware issue or some interaction with the driver, I don't have time to study it. The connection works fine now. It does not disconnect.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured