make: *** [modules] Error 2

hi guys when i try to
use make comm to build my
network Drive its Give me this Errors

  1. err0r1096@linux-w2ky:~/Driver> sudo make
  2. root’s password:
  3. “******************************************”
  4. “NO SKRC,we will use default KSRC”
  5. “******************************************”
  6. make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.27-2-default/build M=/home/err0r1096/Driver modules
  7. make[1]: Entering directory ‘/lib/modules/4.4.27-2-default/build’
  8. make[1]: *** No rule to make target ‘modules’. Stop.
  9. make[1]: Leaving directory ‘/lib/modules/4.4.27-2-default/build’
  10. Makefile:1367: recipe for target ‘modules’ failed
  11. make: *** [modules] Error 2
  12. err0r1096@linux-w2ky:~/Driver>

how i fix it

Hello and welcome on the openSUSE forums.

While this is not a direct answer to your question, just a few remarks.

We have a difficult to find, but important feature on the forums.

Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

Second, you run make as root. That is normally not needed because running compilers and the like can be done by anyone. And when something is not needed to be done as superuser, it should not be done as superuser.
Only installation of a product in it’s places in the system directories requires root access.

And it would also help if you explained what you are actually trying to do… :wink:

It seems you are trying to compile some kernel module.
But which one, and why?
Maybe it’s not even necessary.

Also, do you have kernel-devel and kernel-default-devel installed?

Your makefile is faulty.
Where did you get it from? Did you build it yourself or is it from a project’s source?

TSU

Also,
You don’t need to build comm, it’s already installed and is a part of the core-utils package.

eg

comm --help

TSU

im trying to build my network cart

im root :expressionless: but i cant bulid it

no i want make install my network cart

i run
sudo mkdir lib/modules/4.4.27-2-default/build

Hi
Your going to break your system running the above command, where where you when running this?

Nothing needs to be built as root user, only installing…

Take a step back and tell everyone the exact network card your trying to get working, provide output from;


/sbin/lspci -nnk | egrep -A3 "Ethernet|Network"

Also, provide the link to where you downloaded the driver from as well.

Sorry, but that doesn’t really tell much more.

What is your “network cart”?

Is it not rather a “network card”? And if yes, which one?
/sbin/lspci or lsusb (depending on how you connect it) would provide more information then that would make it easier to help.

Where did you get the source code from that you want to build?

hi


/sbin/lspci -nnk | egrep -A3 "Ethernet|Network"

output :


err0r1096@linux-w2ky:~> /sbin/lspci -nnk | egrep -A3 "Ethernet|Network"
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Hewlett-Packard Company Device [103c:80c1]
        Kernel driver in use: r8169
        Kernel modules: r8169
0d:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
        Subsystem: Hewlett-Packard Company Device [103c:804c]
        Kernel driver in use: rtl8723be
        Kernel modules: rtl8723be
err0r1096@linux-w2ky:~> ^C

drive : www.tp-link.com/us/download/TL-WN725N.html

hi my network cart is
TL-WN725N V2
lsusb output is :


err0r1096@linux-w2ky:~> lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0c45:651b Microdia 
Bus 001 Device 003: ID 0bda:b006 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
err0r1096@linux-w2ky:~> 

so Realtek Semiconductor Corp.

Hi
So it uses the r8188eu driver in staging;
https://wikidevi.com/wiki/TP-LINK_TL-WN725N_v2

See this: https://github.com/lwfinger/rtl8188eu

Our forum member lwfinger is the kernel developer for the driver.

See the readme (esp firmware location) and if you clone the repo with git (as your user NOT root) and build in your ~/

hi i try to install it but i get this errors :


err0r1096@linux-w2ky:~/rtl8188eu> make all
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.27-2-default/build M=/home/err0r1096/rtl8188eu  modules
make[1]: Entering directory '/lib/modules/4.4.27-2-default/build'
make[1]: *** No rule to make target 'modules'.  Stop.
make[1]: Leaving directory '/lib/modules/4.4.27-2-default/build'
Makefile:151: recipe for target 'modules' failed
make: *** [modules] Error 2
err0r1096@linux-w2ky:~/rtl8188eu> sudo make all
root's password:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.4.27-2-default/build M=/home/err0r1096/rtl8188eu  modules
make[1]: Entering directory '/lib/modules/4.4.27-2-default/build'
make[1]: *** No rule to make target 'modules'.  Stop.
make[1]: Leaving directory '/lib/modules/4.4.27-2-default/build'
Makefile:151: recipe for target 'modules' failed
make: *** [modules] Error 2
err0r1096@linux-w2ky:~/rtl8188eu>

I CANT use make command its Give error on everything

Any help ?

Install kernel-devel

That being said, 8188eu is included with the 42.2 or 42.3 kernel as a staging module and should work if you have the** kernel-firmware** package installed.

Hello friend I’m sure I have kernel-firmware install

But stell is not working

I have kernel-firmware install