Kernel Compile Error 2
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the make error 2 workings and policies of this site About Us Learn more about Stack
Make Error 1
Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs no rule to make target 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 Error while compiling the Linux kernel 2.6.35 up vote 0 down vote favorite I am trying to compile the Linux kernel on my Ubuntu machine But I am getting the following error. I've searched on Google but have not been able to find any error related to this. drivers/platform/x86/intel_scu_ipc.c: In function ‘pwr_reg_rdwr’: drivers/platform/x86/intel_scu_ipc.c:175: error: ‘MRST_CPU_CHIP_PENWELL’ undeclared (first use in this function) drivers/platform/x86/intel_scu_ipc.c:175: error: (Each undeclared identifier is reported only once drivers/platform/x86/intel_scu_ipc.c:175: error: for each function it appears in.) drivers/platform/x86/intel_scu_ipc.c: In function ‘intel_scu_ipc_init’: drivers/platform/x86/intel_scu_ipc.c:741: error: implicit declaration of function ‘mrst_identify_cpu’ make[3]: *** [drivers/platform/x86/intel_scu_ipc.o] Error 1 make[2]: *** [drivers/platform/x86] Error 2 make[1]: *** [drivers/platform] Error 2 make: *** [drivers] Error 2 linux-kernel compilation share|improve this question edited Aug 8 '10 at 14:44 Jonathan Leffler 440k62511824 asked Aug 8 '10 at 14:33 Sirish 2,286134178 Do you have the headers package as well as kernel source? –sje397 Aug 8 '10 at 14:40 @sje397: He must have the headers - otherwise there'd be complaints about not finding them. The trouble appears to be that one of the headers doesn't match the source in this driver. –Jonathan Leffler Aug 8 '10 at 14:45 @Jonathan Leffler: you're right. @siri: are you sure you have the correct headers package, and any symlinks are correct? I don't mean to imply it couldn't be a bug in the source code...but there's a
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 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 site for Ubuntu users and developers. Join them; it only takes a minute: Sign up http://stackoverflow.com/questions/3434676/error-while-compiling-the-linux-kernel-2-6-35 Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to 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]: http://askubuntu.com/questions/501115/make-command-not-working-error-2 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 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 certa
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community https://ubuntuforums.org/showthread.php?t=2049452 Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights https://www.redhat.com/archives/rhl-list/2004-February/msg04548.html Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] kernel compilation Ubuntu error 2 Server 12.04 Error 2 Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 2 of 2 Thread: kernel compilation Ubuntu Server 12.04 Error 2 Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode kernel compile error Switch to Threaded Mode August 28th, 2012 #1 d80k View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Jan 2010 Beans 1 kernel compilation Ubuntu Server 12.04 Error 2 Hi I'm fighting for a few days to compile the kernel in Ubuntu 12.04 and appending grsecurity patch. I tried a few instructions from the net. I tried to download a new kernel from kernel.org and sources. Compilation always ends in the following error: *** End of the configuration. *** Execute ‘make’ to start the build Or try ‘make help’ dk@dk:~/linux-3.2.0$ sudo make scripts/config/config –silentoldconfig Kconfig make [1]: Nothing to be done for `relocs'. CHK include/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h CALL scripts/checksyscalls.sh CC init/main.o In file included from init/main.c:40:0: include/Linux/cpuset.h: In function put_mems_allowed: include/Linux/cpuset.h:121:2: error: dekrement of read-only location *(const volatile rrent()->mems_allowed_change_disable init/main.c: At top level: init/main.c:335:19: warning: pass_unknown_bootoptions defined but not used [-Wunused- make[1]: *** [init/main.o] Error 1 make: *** [init] Error 2 what is it? I do not understand what this error means? please help d80k Adv Reply August 31st, 2012 #2 Doug
18:07:28 -0500 I was able to compile the 2.6 kernel once. But I found that I'd forgotten a few things and had to recompile. I did make mrproper make menuconfig (and reloaded my previous configuration) make It churned along for a while then I got this error CC drivers/pci/pci.o CC drivers/pci/quirks.o HOSTCC drivers/pci/gen-devlist DEVLIST drivers/pci/devlist.h /bin/sh: line 1: cd: drivers/pci: No such file or directory /bin/sh: line 1: ./gen-devlist: No such file or directory make[2]: *** [drivers/pci/devlist.h] Error 127 make[1]: *** [drivers/pci] Error 2 make: *** [drivers] Error 2 I have no problem comiling my 2.4 kernel, and like I said I was able to compile the 2.6 kernel once. I downloaded this as an rpm from mirrors.kernel.org. I tried this a few weeks ago and had the same result (a slightly earlier version of the 2.6 kernel), except that time I was never able to get successful compile at all. Anyone know what's going on? thanks, Mark McGlone Follow-Ups: Re: kernel compile error From: Jeff Vian Re: kernel compile error From: ne... [Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index]