Make Default Error 2 Ubuntu
Contents |
AMI'm trying to compile gscpa to work my webcam. I cant get gscpa to compile. This is make error 2 linux what i get in the terminal when i try to make
Make Error Codes
it: root@mike-laptop:/usr/src/gspcav1-20071224# make make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/gspcav1-20071224 CC=cc modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic' CC [M] /usr/src/gspcav1-20071224/gspca_core.o make all error 2 /usr/src/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory /usr/src/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’: /usr/src/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’ /usr/src/gspcav1-20071224/gspca_core.c: At top level: /usr/src/gspcav1-20071224/gspca_core.c:2609: error: unknown field make * * * error 2 ‘owner’ specified in initializer /usr/src/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type /usr/src/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer /usr/src/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’: /usr/src/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’ /usr/src/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’ /usr/src/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’: /usr/src/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment make[2]: *** [/usr/src/gspcav1-20071224/gspca_core.o] Error 1 make[1]: ***
Makefile Error 2
[_module_/usr/src/gspcav1-20071224] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic' make: *** [default] Error 2 thanks for any and all help! meindian523December 19th, 2008, 07:15 AMSame problem here: http://ubuntuforums.org/showthread.php?t=1015043 Same error too,only my webcam is a Z-star Microelectronics ZC0305 KareeserDecember 19th, 2008, 07:25 AMSudo it. If that doesn't work, you will need to make sure you fulfill the dependencies for compiling programs. I am not aware of what those are off the top of my head, but someone else will come along to help you out. mrbiggbrainDecember 19th, 2008, 07:26 AMsudo apt-get install build-essential ubuntu dosnt ship with all the headers gcc needs, try this KareeserDecember 19th, 2008, 07:29 AMNice and quick, thanks mrbiggbrain mrbiggbrainDecember 19th, 2008, 07:35 AMi just hope it fixes the problem, apparently not haveing it can cause ubuntu to not be able to recompile kernels and other programs meindian523December 19th, 2008, 07:51 AMI don't know about OP,but I installed gspca-source from the repos and it brought build-essential with it as dependencies.An
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn gcc error 2 more about Stack Overflow the company Business Learn more about hiring developers or posting linux make error 1 ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site
Gcc Error 1
for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to https://ubuntuforums.org/archive/index.php/t-1015611.html the top make command not working ERROR 2 up vote 0 down vote favorite 1 I was trying to install Realtek_RTS5229_Linux_Driver_v1.07 which I downloaded from [here][1] When I run the make command I get the following error:- make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-32-generic' make: *** [LINUX] Error 2 I have 64 bit Ubuntu 12.04 LTS installed. drivers compiling make share|improve this question edited Jul 22 '14 at 13:44 chaos 13.5k74259 asked Jul http://askubuntu.com/questions/501115/make-command-not-working-error-2 22 '14 at 13:36 Ashish Pal 1614 Your link is not working, can you please add the correct one? –chaos Jul 22 '14 at 13:45 here is the link WebUser:AxPL9s3k@95.130.192.218/pc/crc/… –Ashish Pal Jul 22 '14 at 14:17 add a comment| 2 Answers 2 active oldest votes up vote 0 down vote Install the drivers from Ubuntu Main Repository: sudo apt-get install linux-firmware-nonfree then reboot. share|improve this answer answered Jul 22 '14 at 14:58 user308564 it didn't worked –Ashish Pal Jul 22 '14 at 15:07 add a comment| up vote 0 down vote I believe the file is too old to compile on Ubuntu 14.04. It won't compile on my system either. I notice that there are a number of files in your package named rtsx.something. There are several drivers called rtsx built in: /lib/modules/3.13.0-32-generic/kernel/drivers/memstick/host/rtsx_pci_ms.ko /lib/modules/3.13.0-32-generic/kernel/drivers/mfd/rtsx_pci.ko /lib/modules/3.13.0-32-generic/kernel/drivers/mmc/host/rtsx_pci_sdmmc.ko Are you certain that the driver you need isn't already present? What does this tell us about the device? lspci -nn I suggest you try: sudo apt-get install git git clone https://github.com/mcfloundinho/rts5229.git cd rts5229 make clean make sudo make install sudo depmod -a sudo modprobe rts5229 It makes with one warning but no errors on my system. Please edit /etc/modprobe.d/blacklist.conf to change this line: #Wireless drivers con
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers http://askubuntu.com/questions/554624/how-to-resolve-the-lib-modules-3-13-0-27-generic-build-no-such-file-or-direct to any questions you might have Meta Discuss the workings http://stackoverflow.com/questions/31430786/how-to-install-c-and-makefile-drivers-on-ubuntu-14-04 and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer error 2 site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to resolve the “/lib/modules/3.13.0-27-generic/build: No such file or directory” error message? up vote make default error 0 down vote favorite I'm following the instructions on this page so I can submit enough information about my machine to this bug report module. I'm stuck in running some of the following commands git clone git://github.com/Lekensteyn/acpi-stuff.git cd acpi-stuff/acpi_dump_info make sudo make load cat /proc/acpi/dump_info > handles.txt I cloned the Git repository but I can't run the make command, I'm getting the following error messages: mg@MG-7520SE:~/workspace/HybridGraphicsCards$ cd acpi-stuff/acpi_dump_info mg@MG-7520SE:~/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info$ make make -C /lib/modules/3.13.0-27-generic/build M=/home/mg/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info modules make[1]: *** /lib/modules/3.13.0-27-generic/build: No such file or directory. Stop. Makefile:9: recipe for target 'default' failed make: *** [default] Error 2 mg@MG-7520SE:~/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info$ sudo make [sudo] password for mg: make -C /lib/modules/3.13.0-27-generic/build M=/home/mg/workspace/HybridGraphicsCards/acpi-stuff/acpi_dump_info modules make[1]: *** /lib/modules/3.13.0-27-generic/build: No such file or directory. Stop. Makefile:9: recipe for target 'default' failed make: *** [default] Error 2 So after cloning the Git repository, I access the specified directory acpi-stuff/acpi_dump_info and ran make but it didn't work. I tried running it as sudo it s
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to install .c and Makefile drivers on ubuntu 14.04 up vote 1 down vote favorite 1 I am a newbie. I am trying to install CH340 drivers on Ubuntu 14.04 and I don't know where to start. this is a driver for arduino clone The folder has a Makefile and ch34x.c. I tried to compile the ch34x.c with GCC and got an error. ~/Downloads/CH341SER_LINUX$ gcc -o driver ch34x.c ch34x.c:20:24: fatal error: linux/init.h: No such file or directory #include