Ubuntu :: Where To Find Kernel Code Source

May 19, 2010

I was trying to install VPN client for my Ubuntu 9.10 64-bit. During the installation process the terminal reads:

"Directory containing linux kernel source code [/lib/modules/2.6.31-21-generic/build]"

On that I pressed enter for the default option (in bold). After a few more steps I reached the following error:

Making module
sh: Can't open ./driver_build.sh
Failed to make module "cisco_ipsec.ko".

[/lib/modules/2.6.31-21-generic/build] is the location where the installer expects the kernel source to be (I am guessing). So unless I correct the terminal (by providing the location of the kernel source), I think I will keep on getting the same error message.

So to get the kernel source I visited: [URL]From there I copy pasted the command:

sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)
apt-get source linux-image-$(uname -r)

Everything went fine, but even now I don't know if at all I have a kernel source and where it exists on my machine.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Source Code Of The Krnel From The Kernel.org - Source Trees Organization

Apr 11, 2011

i am already a little bit familiar with linux and now i want to know better the linux OS. i have downloaded the source code of the krnel from the kernel.org and i dont understand the linux source trees organization, so can somebody do me a favor and give me a link to some internet page (or at least a book) that explains that?? i have searched in the internet with the tag:::linux source trees organization and i have not found nothing interesting

View 1 Replies View Related

Ubuntu :: Difference Between Kernel 'source Code' And Kernel Itself

Jul 3, 2011

It sounds like he's making a difference between the kernel "source code" and the kernel itself(as in the downloaded file/ files) but the way he talks about both is the same.So then, if one had already "installed" the "kernel sources code," why would he need the "tarball with the newest Linux kernel?" He's already "installed" a kernel, right?

View 3 Replies View Related

Ubuntu :: Where To Find Full Source Code

Sep 13, 2010

does anyone know where to find the full Ubuntu source code all i can find is the kernel source. if any knows where to get the full source code for any major Linux distribution could they let me know.

View 3 Replies View Related

Ubuntu :: Modify The Source Code Of The Kernel?

Oct 4, 2010

I want to modify the source code of the kernel so that the new compiled kernel should disable USB ports.

View 4 Replies View Related

Slackware :: Cannot Find The Source Code

Jan 19, 2011

I need a mixer app called envy24control. Nobody seems to have a Slackware package for it, which would not be a big deal except that I cannot find the source code either! Does anyone know where I can find this thing?

View 8 Replies View Related

Programming :: Where Is The Kernel Source Code ?

Mar 7, 2011

In particular i'd like to know where is the kernel source code in slackware 13.

View 2 Replies View Related

Ubuntu Installation :: Can't Find The Audacious Source Code?

Mar 4, 2010

I installed the audacious source code and now i can't find it I looked in "/usr/share/audacious" but no luck. im still getting used to the Linux file system so forgive my ignorance.

View 1 Replies View Related

Ubuntu Security :: Find The Source Code Behind Mkpasswd?

May 14, 2010

I am trying to find the source code behind mkpasswd which I apt-getted from universe. I am trying to code a similar app in Java and want to see how the salt is implemented in the /etc/shadow file.

Bu I just can't seem to find any source about that particular program...

View 2 Replies View Related

Ubuntu :: Can't Find The Tarball For The GNOME Source Code?

Jun 15, 2011

I want to build my own GNOME. The problem I have is that I cannot find the tarball for the GNOME source code. Another thing I've read on their website is that the way to build it is not the conventional './configure, make, make install', and that it has to be done using a multi-phase process. Is this correct?

View 2 Replies View Related

Software :: Way To Find Dependencies From Source Code?

Jan 15, 2011

Is there a way to find the dependencies from the source code in the directory produced by the tarball? All I do till now is ./configure, see the missing lib etc, install it, again ./configure, see missing lib, install it, and so on. Is there a way to have all the missing dependencies before configuring the program for the system, maybe with a proper configure flag? But ./configure -h

View 3 Replies View Related

CentOS 5 :: Cannot Find Source Code For Application?

Jun 21, 2010

I am new to centOS and one of my application need linux source code as such I am failed to find suitable link for that. Any suitable link for Linux kernel version: 2.6.18-194.el5.

View 2 Replies View Related

CentOS 5 :: Installing RPM - Cannot Find Source Code

Jun 27, 2011

I am trying to install an rpm and when I run rpm -ivvh "package" I get this output
Quote:
Expected size: 29111 = lead(96)+sigs(180)+pad(4)+data(28831) D:
Actual size: 29111 D: ldipmi-8.50.0.i386.rpm: Header SHA1 digest: OK (d3665fbf1c1a418ac1bf17befe92870b95c1a446) D: added binary package [0] D: ============== /root /root: not an rpm package (or package manifest): Is a directory D: found 0 source and 1 binary packages

View 5 Replies View Related

Red Hat / Fedora :: Source Code For Latest - Kernel

Apr 8, 2011

I need to download a latest kernel for my fedora ..and reconfigure it with some options.

Where can i download latest fedora kernel source code from ..

View 9 Replies View Related

General :: Where Source Code Of Kernel Located

Feb 6, 2011

Want to know where the source code of Linux is located

View 2 Replies View Related

General :: Finding The Kernel Source Code?

Apr 14, 2011

where can i find linux kernel source code?

View 4 Replies View Related

Programming :: Find Source Code Of C Library Files In Ubuntu?

Feb 26, 2009

Where do i found source code of c library files in ubuntu.

View 2 Replies View Related

General :: Shell Script To Run Source Code And Find All Its Dependencies?

Aug 1, 2010

this is srinath,newbie to linux and shell scripts.am in need of shell script,which have to checkout the source code(C/C++) from CVS server to a specified directory and compile that source code and get all its dependency files to a specified directory.

View 2 Replies View Related

Fedora Networking :: VPN Client Asking For Kernel Source Code Directory

Mar 5, 2009

I am a little optimistic now after my problem of wifi was solved by stoat that presisted for about a year, now i am trying to install my vpn client. he asks me to write the path of kernel source code directory : and i answer by:/lib/modules/2.6.26.8-57.fc8/build/

But he answers no such directory or file and i dont know why

The build is covered by a red box when displayed by a terminal so can any body tells me where i can find my kernel source directory or i should install them, how

View 3 Replies View Related

Hardware :: Kernel Contains Source Code To Handle AMD Southbridge Initialization ?

Jan 27, 2010

I need to understand southbridge related code in linux source code.

For that I have downloaded Linux source code version:2.6.28 .

I have seen the code but didn't find code specific to southbridge handling.

Is Linux source code contains southbridge specific code?If so where can I find the code?

View 7 Replies View Related

Programming :: How To Edit Kernel Source Code In MS Visual Studio

Apr 27, 2010

I want to edit linux kernel source code in MS Visual Studio. I saw the code and these are c files but there is no project file that i open it and whole project opens up. I can open each individual file but not the whole project.

View 13 Replies View Related

Fedora Hardware :: Find Source Code For OV2640 Web Camera Driver?

Jan 23, 2010

When I may find source code for OV2640 web camera driver?

View 1 Replies View Related

Ubuntu :: NVIDIA Installer Can't Find Kernel Source

Mar 7, 2010

First my uname -a

Code: Linux quad 2.6.33 #1 SMP Sun Mar 7 18:22:02 CET 2010 x86_64 GNU/Linux I am using Trisquel GNU/Linux 3.0. I am asking my questions here, since this involves non-free drivers. I succesfully installed the nvidia driver on the default kernel. But the default kernel has removed all support for DVB USB sticks, so I had to compile my own kernel.

I got the newest version from kernel.org. Saved the archieve to /usr/src/. unzipped the file in the directory (so my kernel source is now in /usr/src/linux-2.6.33/.) Made a symlink with ln -s linux-2.6.33 linux. I compiled the kernel succesfully. Did a "make install" and "make modules_install" and ran "update-grub". Restarted system. Cd'ed to my source directory and ran "make headers_install" succesfully. Looking at my timestamps, it looks like the kernel headers has been installed to /usr/src/linux-2.6.33/usr/include/linux/. I downloaded the latest x86_64 drivers from nvidias website. Went to console 1 and closed up X. If I start the installer without any parameters (sh NVIDIA*.run) I get the following error:

Code: ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.33/source'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option. lib/modules/2.6.33/source is a symlink which point to /usr/src/linux-2.6.33

I get the same error if using --kernel-source-path=/usr/src/linux/, /usr/src/linux-2.6.33/ and similar options which link to this directory through symlinks. If I use --kernel-source-path=/usr/src/linux-2.6.33/usr/include, I get the following error:

[Code]....

View 6 Replies View Related

Fedora :: Can't Find Kernel Source 2.6.31.12-174.2.22.fc12.i686

Mar 14, 2010

I can't seem to find the kernel source for 2.6.31.12-174.2.22.fc12.i686. This should be a simple task, what am I missing?

View 5 Replies View Related

Debian Configuration :: Squeeze: Can't Find Source For 2.6.32-trunk Kernel

Apr 30, 2010

I'm attempting to install ndiswrapper-dkms package. The installation fails due to the following error:Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed. dpkg reports that the source is installed

[code]....

I've been searching google for the past couple of days but haven't found anything specific. Any ideas to get me going in the right direction?

uname -a reports

Linux debtop 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux

View 5 Replies View Related

Ubuntu :: Unable To Find The Kernel Source Tree Nvidia Driver Install

May 12, 2010

So after getting around the Fakeraid bug, and the grub bug, and all the other bugs killing my system fixed and then i moved on to install my video driver. There was nothing in Administration>Hardware Drivers, so i downloaded the latest driver for my two 8600m gt cards. Did the whole ctrl+alt+f2 and then stopping xserver and then running the driver install only to run into yet another damn bug(see log below)

I have tried fixing it by doing what other threads have said to do e.g:[URL] still nothing. Below is the Nvidia log.

[Code]....

View 9 Replies View Related

Fedora Installation :: Cant Find Source Code After Installation

Jun 8, 2010

I followed the steps from [url] to download and install the kernel source code.

"Following Generic Textbooks

Many of the tutorials, examples, and textbooks about Linux kernel development assume the kernel sources are installed under the /usr/src/linux/ directory. If you make a symbolic link, as shown below, you should be able to use those learning materials with the Fedora packages. Install the appropriate kernel sources, as shown earlier, and then run the following command:

Where is my kernel source located which i can modify. I cant find anything in usr/src/kernels? Why?

View 3 Replies View Related

Debian :: Building Kernel - Initrd Fail And Nvidia Can't Find Source

Feb 25, 2010

So I'm building a custom kernel cuz I want the fbcondecor patch in my kernel. I use the same .config that 2.6.32 debian kernel package comes with. This kernel runs perfectly. I pass --initrd to make-kpkg when building the package but no initrd is built when I install it so I have to make it using "mkinitramfs -o /boot/initrd.img-2.6.33 2.6.33" to get it to boot. Now when I try to build the nvidia drivers it complains it can't find the source. I did build kernel_headers and installed them also the source is in /usr/src/linux. I also tried to specify the path by passing --kernel-source-path= to the nvidia script but no change. What is going on? I've done this fifty times before and never had any problems. Has there been some changes to how debian kernel packages are built? EDIT: Just thought I'd add some info about the steps I took.

Code:
tar xjvf linux-2.6.33.tar.bz2
ln -s linux-2.6.33 linux
cd linux
patch -p1 < ../fbcondecor-0.9.6-2.6.33-rc7.patch
cp /boot/config-2.6.32-trunk-686 ./.config

make menuconfig Loaded .config then I removed support for maxtorfb, tile blitting and some sirrusfb thing, nothing thats relevant to my system. Changed cpu from Pentium 4 to Core 2 and added framebuffer decor
support from my patch, exited and saved. Then:

[Code]....

EDIT2: I have now tried to build 2.6.32.8 in the same way with the same strange results, anyone have any thoughts as to what I'm doing wrong just throw it at me, I'm getting desperate and running out of ideas. I've checked all the kernel source symlinks and everything looks good.

View 7 Replies View Related

Ubuntu :: How To See Source Code Of Open Source Software

Sep 12, 2010

I want to see the source code of smplayer software.from where i can see source code of open source softwares?

View 9 Replies View Related

Ubuntu :: Where Is The Source Code?

Jul 20, 2010

I have been using Linux for 2 months, specifically Ubuntu, and been wondering where the source code is. Not only do I wonder where the kernel source code is but also where the source code for the installed programs are.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved