Linux Kernel Compile Error 2
Contents |
here for a quick overview of the site Help Center Detailed answers make error codes to any questions you might have Meta Discuss the workings
Make Command Error 2
and policies of this site About Us Learn more about Stack Overflow the company Business make all error 2 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
Gnu Make Error 2
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 Error in compiling a Linux kernel up vote 0 down vote favorite How do you read the errors? I run after having .config -file make * * * error 2 at /home/aal/build/kernel. /usr/src/linux-2.6$ make O=/home/aal/build/kernel/ I get ... cut ... CC [M] drivers/staging/go7007/s2250-board.o /usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:24:26: error: s2250-loader.h: No such file or directory /usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c: In function ‘read_reg_fp’: /usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:264: warning: passing argument 1 of ‘down_interruptible’ from incompatible pointer type /usr/src/linux-2.6/include/linux/semaphore.h:43: note: expected ‘struct semaphore *’ but argument is of type ‘struct mutex *’ /usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:273: warning: passing argument 1 of ‘up’ from incompatible pointer type /usr/src/linux-2.6/include/linux/semaphore.h:47: note: expected ‘struct semaphore *’ but argument is of type ‘struct mutex *’ /usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c: In function ‘s2250_init’: /usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:670: error: implicit declaration of function ‘s2250loader_init’ /usr/src/linux-2.6/drivers/staging/go7007/s2250-board.c:676: error: implicit declaration of function ‘s2250loader_cleanup’ make[4]: *** [drivers/staging/go7007/s2250-board.o] Error 1 make[3]: *** [drivers/staging/go7007] Error 2 make[2]: *** [drivers/staging] Error 2 make[1]: *** [drivers] Error 2 make: *** [sub-make] Error 2 linux-kernel compilation share|improve this question asked Dec 1 '09 at 0:55 anon add a comment| 3 Answers 3 active oldest votes up vote 2 down vote accepted Remove the re
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin
Make Error 126
Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad
Recipe For Target Failed
Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch no rule to make target Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum http://stackoverflow.com/questions/1823389/error-in-compiling-a-linux-kernel Community Ubuntu Official Flavours Support Networking & Wireless [SOLVED] make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip) Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Page 1 of 2 12 https://ubuntuforums.org/showthread.php?t=2270202 Last Jump to page: Results 1 to 10 of 11 Thread: make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip) Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode March 21st, 2015 #1 Nguyen_Thanh_Hieu View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Mar 2015 Beans 4 make: *** [LINUX] Error 2 when installing wifi driver for TP-WN727N (RT2870 chip) Hey guys I've started using Ubuntu for a week and still can't install the wifi driver for the TP-LINK TL-WN727N USB adapter (RT2870 chip from Ralink). It's pretty annoying cuz it happens everytime I install anything from the terminal. Here's the codes and my system specs : Code: hieutotet@Alpine:~/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870$ sudo make[sudo] password for hieutotet: make -C tools make[1]: Entering directory `/home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory `/home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/tools' /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/tools/bin2h cp -f os/linux/Makefile.6 /home/hieutotet/Documents/2009_0820_RT2870_STA_WebUI_v2.2.0.0/RT2870/os/linux/Makefile make -C /lib/modules/3.16.0-30-generic/build SUBDIRS=/home/hieutotet/Documents/2009_0820_RT2
page 5 Configure The Kernel https://www.howtoforge.com/kernel_compilation_ubuntu_p2 6 Build The Kernel 7 Install The New Kernel 8 https://www.youtube.com/watch?v=0KTKQ0j-CG0 Links 5 Configure The Kernel It's a good idea to use the configuration of your current working kernel as a basis for your new kernel. Therefore we copy the existing configuration to /usr/src/linux: cp /boot/config-`uname -r` ./.config Then we run error 2 make menuconfig which brings up the kernel configuration menu. Go to Load an Alternate Configuration File and choose .config (which contains the configuration of your current working kernel) as the configuration file: Then browse through the kernel configuration menu and make your choices. When you are finished and select Exit, answer linux kernel compile the following question (Do you wish to save your new kernel configuration?) with Yes: 6 Build The Kernel To build the kernel, execute these two commands: make-kpkg clean fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers After --append-to-version= you can write any string that helps you identify the kernel, but it must begin with a minus (-) and must not contain whitespace. Now be patient, the kernel compilation can take some hours, depending on your kernel configuration and your processor speed. 7 Install The New Kernel After the successful kernel build, you can find two .deb packages in the /usr/src directory. cd /usr/src ls -l On my test system they were called linux-image-2.6.18.1-custom_2.6.18.1-custom-10.00.Custom_i386.deb (which contains the actual kernel) and linux-headers-2.6.18.1-custom_2.6.18.1-custom-10.00.Custom_i386.deb (which contains files needed if you want to compile additional kernel modules later on). I install them like this: dpkg -i linux-image-2.6.18.1-custom_2.6.18.1-custom-10.00.Custom_i386.deb dpkg -i linux-headers-2.6.18.1-custom_2.6.18.1-custom-10.00.Custom_i386.deb (You can now e
compiling error 1Hour Music SubscribeSubscribedUnsubscribe1919 Loading... Loading... Working... Add to Want to watch this again later? Sign in to add this video to a playlist. Sign in Share More Report Need to report the video? Sign in to report inappropriate content. Sign in Statistics 355 views 0 Like this video? Sign in to make your opinion count. Sign in 1 0 Don't like this video? Sign in to make your opinion count. Sign in 1 Loading... Loading... Loading... Rating is available when the video has been rented. This feature is not available right now. Please try again later. Published on Aug 27, 2015Hi every body, I am trying to compile kernel for SamSung Galaxy S5 (SM-G906K).I always get this error message, i don't know how to solve it. Please help me !Thank you all!__________________________________________________ ______/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directorymake[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.make[3]: *** [drivers/media/isdbt/fc8150] Error 2make[2]: *** [drivers/media/isdbt] Error 2make[1]: *** [drivers/media] Error 2make: *** [_clean_drivers] Error 2vip7009pro@vip7009pro-Inspiron-3542:~/Kernel2$ make mrproper/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directorymake[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.make[3]: *** [drivers/media/isdbt/fc8150] Error 2make[2]: *** [drivers/media/isdbt] Error 2make[1]: *** [drivers/media] Error 2make: *** [_clean_drivers] Error 2_________________________________________Tags:android kernel versionandroid kernel development