i'm downloading rtl8188eu-master file from github for install this driver on debian. after extract it and run make command in get this error.
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.11-2-486/build M=/home/tux-world/Desktop/Home/rtl8188eu-master modules
make[1]: Entering directory `/usr/src/linux-headers-3.11-2-486'
CC [M] /home/tux-world/Desktop/Home/rtl8188eu-master/core/rtw_cmd.o
In file included from /home/tux-world/Desktop/Home/rtl8188eu-master/core/rtw_cmd.c:23:0:
/home/tux-world/Desktop/Home/rtl8188eu-master/include/osdep_service.h: In function ‘thread_enter’:
/home/tux-world/Desktop/Home/rtl8188eu-master/include/osdep_service.h:1406:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
daemonize("%s", name);
^
cc1: some warnings being treated as errors
make[4]: *** [/home/tux-world/Desktop/Home/rtl8188eu-master/core/rtw_cmd.o] Error 1
make[3]: *** [_module_/home/tux-world/Desktop/Home/rtl8188eu-master] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11-2-486'
make: *** [modules] Error 2
linux-headers-3.11-2-486 and build-essential packages are installed and i do not have problem for those.
Although this has little to do with programming, I will answer this in case somebody comes here with a similar issue.
I had no trouble compiling the driver with these commands (make sure you have the headers installed):
wget https://codeload.github.com/lwfinger/rtl8188eu/zip/master
unzip master
cd rtl8188eu-master
sudo make
sudo make install
Related
I'm following the steps from here at 3.1 Task 1.A: Implement a Simple Kernel Module:
https://seedsecuritylabs.org/Labs_20.04/Files/Firewall/Firewall.pdf
Everything was fine until I ran the make command. the hello.ko file wasn't generated and I don't know what's wrong.
make -C /lib/modules/5.11.0-38-generic/build M=/home/seed/Downloads/Labsetup/Files/kernel_module modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-38-generic'
CC [M] /home/seed/Downloads/Labsetup/Files/kernel_module/hello.o
MODPOST /home/seed/Downloads/Labsetup/Files/kernel_module/Module.symvers
ERROR: modpost: missing MODULE_LICENSE() in /home/seed/Downloads/Labsetup/Files/kernel_module/hello.o
make[2]: *** [scripts/Makefile.modpost:124: /home/seed/Downloads/Labsetup/Files/kernel_module/Module.symvers] Error 1
make[2]: *** Deleting file '/home/seed/Downloads/Labsetup/Files/kernel_module/Module.symvers'
make[1]: *** [Makefile:1753: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-38-generic'
make: *** [Makefile:4: all] Error 2
ERROR: modpost: missing MODULE_LICENSE() in /home/seed/Downloads/Labsetup/Files/kernel_module/hello.o
You must add the license in hello.c.
e.g.
MODULE_LICENSE("GPL");
Hi I run into a problem when setting up my web camera for use in Chrome, which needed FlashCam.
When following the installation guide at: http://www.swift-tools.net/Flashcam/
At the step when doing the "make" build I get:
adderollen#andreas-RC530:~/Downloads/flashcam-1.4.5$ make
(cd vloopback; make);
make[1]: Entering directory `/home/adderollen/Downloads/flashcam-1.4.5/vloopback'
make -C /lib/modules/3.13.0-37-generic/build SUBDIRS=/home/adderollen/Downloads/flashcam- 1.4.5/vloopback modules
make[2]: Entering directory `/usr/src/linux-headers-3.13.0-37-generic'
CC [M] /home/adderollen/Downloads/flashcam-1.4.5/vloopback/vloopback.o
/home/adderollen/Downloads/flashcam-1.4.5/vloopback/vloopback.c:166:28: fatal error:
linux/videodev.h: No such file or directory
#include <linux/videodev.h>
^
compilation terminated.
make[3]: *** [/home/adderollen/Downloads/flashcam-1.4.5/vloopback/vloopback.o] Error 1
make[2]: *** [_module_/home/adderollen/Downloads/flashcam-1.4.5/vloopback] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.13.0-37-generic'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/adderollen/Downloads/flashcam-1.4.5/vloopback'
make: *** [vloopback/vloopback.ko] Error 2
So I googled some and found this: linux/videodev.h : no such file or directory - OpenCV on ubuntu 11.04
I followed the answer by bukzor, but I still got the same problem. Any one got a solution?
I run Ubuntu 14.04.
Don't you still have such a file on disk? If so, then may be the package which contains such a file was renamed, or may be file was renamed/removed.
find / -name 'videodev.h'
locate videodev.h
using the above commands to check whether you have the file.
I have been following sintructions for installing mono and monodevelop
on centos 6 found in this web page :
Install Mono and Monodevelop on CentOS 5.x/6.x
I have stalled on one of the steps explained below
yum install pango-devel atk-devel libgnome-devel libgnomecanvas-devel libgnomeui-devel git svn libtool
cd /usr/src
git clone git://github.com/mono/gnome-sharp
cd gnome-sharp
./bootstrap-2.24 --prefix=/usr
make && make install
When I run the make command in gnome-sharp I get this error :-
make all-recursive
make[1]: Entering directory `/usr/src/gnome-sharp'
Making all in sources
make[2]: Entering directory `/usr/src/gnome-sharp/sources'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/gnome-sharp/sources'
Making all in art
make[2]: Entering directory `/usr/src/gnome-sharp/art'
/usr/bin/mcs -debug -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GNOME_SHARP_2_16 -define:GNOME_SHARP_2_20 -define:GNOME_SHARP_2_24 -nowarn:0169,0612,0618 -unsafe -out:art-sharp.dll -target:library /usr/lib -r:Mono.Cairo generated/*.cs AssemblyInfo.cs
error CS2001: Source file `/usr/lib' could not be found
Compilation failed: 1 error(s), 0 warnings
make[2]: *** [art-sharp.dll] Error 1
make[2]: Leaving directory `/usr/src/gnome-sharp/art'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnome-sharp'
make: *** [all] Error 2
It looks as if the Makefile process is broken at least to me. Any help gratefully received.
-roddy
You don't need to install Mono from source anymore, there are now official packages: http://www.mono-project.com/docs/getting-started/install/linux/#centos-fedora-and-derivatives
I'm trying to build and compile ntop.. I'm experiencing a problem here..
sudo ./configure is working fine..
when i go for sudo make, i get the below error..
*** Warning: Linking the shared library libntop.la against the
*** static library ./nDPI/src/lib/.libs/libndpi.a is not portable!
gcc: error: ./nDPI/src/lib/.libs/libndpi.a: No such file or directory
make[2]: *** [libntop.la] Error 1
make[2]: Leaving directory `/home/ubuntu/ntop-5.0.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ubuntu/ntop-5.0.1'
make: *** [all] Error 2
I have googled many forum's regarding this.. But i did not get any answers..
Any help is greatly appreciated.. Thanks..
In Debian and Ubuntu, install MySQL solved this error!
aptitude install mysql-server
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
what is arm-linux-gcc and how to install this in ubuntu
While I'm trying this command
$ make ARCH=arm devkit8000 defconfig
I get this error:
make[1]: arm-linux-gcc: Command not found
make[1]: arm-linux-gcc: Command not found
scripts/kconfig/conf -s arch/arm/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel .config file)
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[1]: *** No rule to make target `devkit8000'. Stop.
make: *** [devkit8000] Error 2
How can i solve this error?
Do you have ARM toolchain installed? If there is no such package in Ubuntu you can download it from the internet and add it to your $PATH.
Take a look at what is arm-linux-gcc and how to install this in ubuntu
EDIT:
It might be, that your makefile is looking for different filenames, than you have.
Try locating arm-linux-gnueabi-gcc file. Go to that directory and you may create links for each file with arm-linux-gnueabi- prefix.
Try after sudo su:
ln -s arm-linux-gnueabi-gcc arm-linux-gcc
ln -s arm-linux-gnueabi-cc arm-linux-cc
etc.
Might help, but I do not guarantee. Usually works ;-)