# yum groupinstall "Development tools" # rpm -ivh kernel-2.6.31.5-10.1.moblin2.src.rpm # rpm -ivh kernel-headers-2.6.31-1.1.moblin2.src.rpm # rpmbuild -ba ../SPECS/kernel.spec # rpmbuild -ba ../SPECS/kernel-heads.spec
The steps as above have been executed, but nothing is seen in /lib/modules/2.6.31.5-10.1.moblin2-netbook/build directory. Thanks in advance -----Original Message----- From: Zhang, Austin [mailto:austin.zh...@intel.com] Sent: Friday, February 26, 2010 3:54 PM To: Huang, Adam [NETPWR/EMBCO/CN]; dev@moblin.org Subject: RE: [Moblin Dev] Regarding Moblin v2.1 compilation >Why is there nothing in the directory of /lib/modules/2.6.31.5-10.1.moblin2-netbook/build? You didn't install source or devel pkgs there. >When compile some source code, an error pops the info to show that it need the header files in that directory. 'in that directory' means above folds? Are you compiling driver? That is asking headers file of kernel. Install kernel devel pkg. -----Original Message----- From: adam.hu...@emerson.com [mailto:adam.hu...@emerson.com] Sent: Friday, February 26, 2010 3:40 PM To: Zhang, Austin; dev@moblin.org Subject: RE: [Moblin Dev] Regarding Moblin v2.1 compilation Why is there nothing in the directory of /lib/modules/2.6.31.5-10.1.moblin2-netbook/build? When compile some source code, an error pops the info to show that it need the header files in that directory. Thanks -----Original Message----- From: dev-boun...@moblin.org [mailto:dev-boun...@moblin.org] On Behalf Of Zhang, Austin Sent: Thursday, February 25, 2010 1:42 PM To: ankit.ho...@wipro.com; dev@moblin.org Subject: Re: [Moblin Dev] Regarding Moblin v2.1 compilation > My question is what all basic rpm is required to compile the kernal. In brief, kernel source pkgs and toolchain. In detailed (in fact, for all source compiling not just for kernel), If you are working on top of netbook, yum groupinstall "Development tools" will install all need dependency rpm pkgs for your source code compiling. If you are working on someone else development box: if you just want to compile some codes and have a try in netbook, just compile it in your x86-32 box with its own development tools is enough in most case (if the system has all dependency pkgs). If you want moblin building tools, then try to use moblin SDK which help to setup building environment in your local box, Or might try to add moblin repo entry (example file can been found in installed moblin netbook) into your local box yum repo files and yum install into your box, which will help to resolve all dependency issue in most case. If you want to create rpm and want to integrate this rpm pkg into one moblin image BY moblin-image-creator, after create the rpm (by development tools from development box or moblin are all ok in most case), pointed out the rpm location as moblin-image-creator parameter (see help for usage), that will use your own rpm pkg rather than moblin repo's. -----Original Message----- From: dev-boun...@moblin.org [mailto:dev-boun...@moblin.org] On Behalf Of ankit.ho...@wipro.com Sent: Thursday, February 25, 2010 12:18 PM To: dev@moblin.org Subject: [Moblin Dev] Regarding Moblin v2.1 compilation Hey guys, I need to compile the source code of moblin v2.1.i know the link (http://ftp.moblin.org/moblin/releases/2.1/source/) to download it. My question is what all basic rpm is required to compile the kernal.Because the above link conatins a lot of rpms of different application. I just want the basic rpm to complie the source code of moblin v2.1 and make the live image later on i will download all the others applicarion's rpm. Kindly help me with that.. Regards ankit Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com _______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists _______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists _______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists