Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
 MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml )  to Linux@lemmy.ml · 4 years ago

I'm still stuck I don't know what to do, I have done make, automake and cmake, what "make" does this thing need in order for it to work? It's so infuriating.

www.lb-link.cn

external-link
message-square
25
link
fedilink
  • cross-posted to:
  • linux@lemmy.ml
1
external-link

I'm still stuck I don't know what to do, I have done make, automake and cmake, what "make" does this thing need in order for it to work? It's so infuriating.

www.lb-link.cn

 MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml )  to Linux@lemmy.ml · 4 years ago
message-square
25
link
fedilink
  • cross-posted to:
  • linux@lemmy.ml

Context

alert-triangle
You must log in or # to comment.
  •  ksynwa   ( @ksynwa@lemmy.ml ) 
    link
    fedilink
    arrow-up
    3
    ·
    4 years ago

    You only need make and gcc. If you are using Ubuntu or Linux Mint you can try:

    sudo apt update
    sudo apt install make build-essential
    make
    sudo make install
    

    You have to perform the last two commands in the directory where the file called Makefile is.

    •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 years ago

      where do i put gcc?

      •  Ephera   ( @Ephera@lemmy.ml ) 
        link
        fedilink
        arrow-up
        4
        ·
        4 years ago

        gcc will get installed as part of the build-essential package that @ksynwa@lemmy.ml listed. And gcc should get called automatically by the make-command.
        So, you actually don’t have to do a manual step to put gcc somewhere.

        Did you run those commands? Did it work?

        •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
          link
          fedilink
          arrow-up
          1
          ·
          4 years ago

          I tried doing make it gives me an error. Also (if you have downloaded the file checked it out), if I do “sudo make install” even with the GCC compiler installed, it still does not work.

          •  ksynwa   ( @ksynwa@lemmy.ml ) 
            link
            fedilink
            arrow-up
            3
            ·
            4 years ago

            why don’t you show or tell what this error is? people cannot telepathically know what is going wrong there.

            •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
              link
              fedilink
              arrow-up
              1
              ·
              4 years ago

              make -C /home/uname/Downloads/mt7603_v1.16/os/linux -f Makefile.6 install make[1]: Entering directory ‘/home/uname/Downloads/mt7603_v1.16/os/linux’ mkdir: cannot create directory ‘/etc/Wireless’: File exists rm -rf /etc/Wireless/RT2870STA mkdir /etc/Wireless/RT2870STA cp /home/uname/Downloads/mt7603_v1.16/conf/RT2870STA.dat /etc/Wireless/RT2870STA/. install -d install: missing file operand Try ‘install --help’ for more information. make[1]: *** [Makefile.6:1736: install] Error 1 make[1]: Leaving directory ‘/home/uname/Downloads/mt7603_v1.16/os/linux’ make: *** [Makefile:351: install] Error 2

              •  Helix 🧬   ( @Helix@feddit.de ) 
                link
                fedilink
                arrow-up
                2
                ·
                4 years ago

                /home/uname/Downloads/mt7603_v1.16/os/linux

                this looks like a completely different driver than the one you posted in your top comment. In which folder did you run this?

                •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 years ago

                  This post has the latest

              •  ksynwa   ( @ksynwa@lemmy.ml ) 
                link
                fedilink
                arrow-up
                1
                ·
                4 years ago

                Is this for make or make install?

                •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 years ago

                  also i found this while trying to figure out what i had to do, it’s a portion of it: https://pastebin.com/arbeKVvr

                •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 years ago

                  both

  •  Helix 🧬   ( @Helix@feddit.de ) 
    link
    fedilink
    arrow-up
    1
    ·
    4 years ago

    Please just try what @gyrfalcon@beehaw.org suggested in their top comment in your other thread.

    Just go to the WIFI-FE-2(Other Driver)/Linux Driver/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/ folder and type make. What happens?

    The instructions you gave in your other thread are for a different driver.

    •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 years ago

      This happens: $ sudo make install make: *** No rule to make target ‘install’. Stop.

      This is what the MakeFile contains:

      all: make -C UTIL/ osutil $(SHELL) cp_util.sh make -C MODULE/ build_tools make -C MODULE/ osdrv $(SHELL) cp_module.sh make -C NETIF/ osnet

      clean: make -C UTIL/ clean make -C MODULE/ clean make -C NETIF/ clean

      install: make -C UTIL/ install make -C MODULE/ install make -C NETIF/ install

      uninstall: make -C UTIL/ uninstall make -C MODULE/ uninstall make -C NETIF/ uninstall- -

      •  Helix 🧬   ( @Helix@feddit.de ) 
        link
        fedilink
        arrow-up
        1
        ·
        4 years ago

        Just type make. Why do you type make install? If you can’t follow simple instructions, you won’t be happy with Linux.

        •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
          link
          fedilink
          arrow-up
          1
          ·
          4 years ago

          I already told you the error here.

          •  Helix 🧬   ( @Helix@feddit.de ) 
            link
            fedilink
            arrow-up
            2
            ·
            4 years ago

            This is the output for make install, or why is there an install keyword in the error?

            The full command you posted is make -C /home/uname/Downloads/mt7603_v1.16/os/linux -f Makefile.6 install, which is something completely different to make without any parameters.

            Just type make and nothing else.

            •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
              link
              fedilink
              arrow-up
              1
              ·
              4 years ago

              •  Helix 🧬   ( @Helix@feddit.de ) 
                link
                fedilink
                arrow-up
                1
                ·
                4 years ago

                Okay, that looks different. Does that folder in /opt exist at all?

                •  MrOzwaldMan   ( @MrOzwaldMan@lemmy.ml ) OP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 years ago

                  Wdym?

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 176 users / day
  • 1.14K users / week
  • 2.48K users / month
  • 7.15K users / 6 months
  • 1.3K local subscribers
  • 60.6K subscribers
  • 7.33K Posts
  • 97.3K Comments
  • Modlog
  • mods:
  •  AgreeableLandscape   ( @AgreeableLandscape@lemmy.ml ) 
  •  nooter692   ( @nooter692@lemmy.ml ) 
  •  MarcellusDrum   ( @MarcellusDrum@lemmy.ml ) 
  •  Arthur Besse   ( @cypherpunks@lemmy.ml ) 
  •  Cyclohexane   ( @cyclohexane@lemmy.ml ) 
  •  d3Xt3r   ( @d3Xt3r@lemmy.nz ) 
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code