Hi folks, I'm new to Linux and have run into a tricky issue. I need to change a line in a makefile to "</absolute_path_to_your_kernel_tree/>" and I have NO IDEA how to find said kernel tree or even what it looks like. I was given a link to the vanilla kernel sources website, but the kernel I have isn't listed there! I've seen several references to it on the Ubuntu forums, but it's always in an offhand way and not helpful in locating it. So for those of you running Ubuntu 6.06 (dapper) with a 2.6.15-28-386 kernel, can you tell me where the kernel source tree is so I can run my program? Any advice would be helpful. Thanks much!
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Finding kernel source tree in Ubuntu 6.06
Recent Reviews
-
So I just got a Lenovo Yoga 13. This is my review. As what I primarily do is writing and programming, having a good keyboard is critical for me, which is why a tablet alone can’t work for me, and...
-
I have owned dozens of laptops in a variety of brands, and had many different laptops provided for my use at work. Without question, this is the finest I have owned. The Alienware M17x R2 is a...
-
N/m
-
Lenovo Thinkpad W530 Review by Djembe One of the longest and most enduring brands in computers is Thinkpad. Originally developed by IBM in the USA, Thinkpad notebook computers are now...
-
I have this memory installed in my Inspiron 14R. 6gb (one 2gb & one 4gb). Great performance! I highly recommend Kingston.
Finding kernel source tree in Ubuntu 6.06
post #2 of 5
2/12/07 at 10:30pm
- Joined: 10/2004
- Posts: 31,050
- Select All Posts By This User
Quote:
|
Originally Posted by Djembe
Hi folks, I'm new to Linux and have run into a tricky issue. I need to change a line in a makefile to "</absolute_path_to_your_kernel_tree/>" and I have NO IDEA how to find said kernel tree or even what it looks like. I was given a link to the vanilla kernel sources website, but the kernel I have isn't listed there! I've seen several references to it on the Ubuntu forums, but it's always in an offhand way and not helpful in locating it. So for those of you running Ubuntu 6.06 (dapper) with a 2.6.15-28-386 kernel, can you tell me where the kernel source tree is so I can run my program? Any advice would be helpful. Thanks much!
|
post #3 of 5
2/12/07 at 11:01pm
- bigtrouble77
- 0
- #1 Zanger Bob Fan!
- offline
- Joined: 10/2004
- Posts: 1,233
- Select All Posts By This User
I think drlouis has the correct location. Browse with nautilus to that location and see if there is a directory that cooresponds to your kernel. If not, then you may have to install the package through apt or synaptic.
Most compiling I've done has only needed access to the kernel headers so I'm not even what the difference is. You may want to put in your headers directory and see if that works... something like /usr/src/linux-headers-2.6.15-27-amd64-generic (that's the path on my machine).
Most compiling I've done has only needed access to the kernel headers so I'm not even what the difference is. You may want to put in your headers directory and see if that works... something like /usr/src/linux-headers-2.6.15-27-amd64-generic (that's the path on my machine).
post #4 of 5
2/12/07 at 11:17pm
- Joined: 10/2004
- Location: Somewhere in the US
- Posts: 3,809
- Select All Posts By This User
Technically most distributions have /usr/src/linux as a symbolic link to the correct directory with the source in it(Usually something like /usr/src/linux-2.6.16r8 or wwhatever)
Usually just using /usr/src/linux will work, though on occasion you may have to enter the exact path.
Seablade
Usually just using /usr/src/linux will work, though on occasion you may have to enter the exact path.
Seablade
- Joined: 3/2005
- Posts: 27,351
- Reviews: 11
- Select All Posts By This User
Return Home
Back to Forum: Linux & Other OS's
- Finding kernel source tree in Ubuntu 6.06
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Finding kernel source tree in Ubuntu 6.06
Currently, there are 204 Active Users
(2 Members and 202 Guests)
Recent Discussions
- › acer aspire one problem 47 minutes ago
- › Where minds meet 2 hours, 54 minutes ago
- › Cool (maybe) and Free Android Apps 2 hours, 55 minutes ago
- › Cool (at times "Free") iOS apps 2 hours, 56 minutes ago
- › Google Chrome: Open Source Web Browser 3 hours, 1 minute ago
- › distorted image in IE 3 hours, 32 minutes ago
- › Is the popular trackpad problem of Lenovo Ideapad Y500 solved or not? 10 hours, 34 minutes ago
- › Gateway Solo 9300 upgrade? 12 hours, 31 minutes ago
- › Latitude D800 freezes after about four minutes after taking out of... 14 hours, 10 minutes ago
- › DIAMOND WR300NSI 300Mbps 802.11n Wireless Repeater Range Extender 1 day ago
View: New Posts | All Discussions
Recent Reviews
- › Lenovo Yoga 13 IdeaPad Convertbale Ultrabook (tablet) 13.3"... by The Bard sRc
- › Alienware M18X by MrFox
- › Kensington Black Contour Pro 17" Notebook Carrying Case Model... by great white
- › Lenovo W530-24382LU i7-3720QM 2.60GHz 4GB 500GB 7200rpm NVIDIA... by Djembe
- › Kingston 8GB (2 x 4GB) 204-Pin DDR3 SO-DIMM DDR3 1333 Laptop Memory by Nicadraus
- › Synology DiskStation 1-Bay (Diskless) Network Attached Storage... by Mr T
- › Barnes & Noble Nook Color by sewshoplady
- › Cooler Master CM Storm Spawn 3500 DPI Optical Sensor Gaming Mouse... by Rotterdamblues
- › Samsung MV-3T4G4 4GB DDR3 Laptop SDRAM (1333MHz PC3-10600) by Rotterdamblues
- › Alienware Aurora m9700 by amythompson172
View: More Reviews
New Articles
- › Intel Summer 2012 SSD Scavenger Hunt - Full... by ranjanis
- › Intel's Maple Crest 330 Series Promotion... by ranjanis
- › Intel Cherryville SSD Spring 2012 Giveaway by ranjanis
- › Intel Cherryville SSD Giveaway 2012 - Terms... by ranjanis
- › Advertise by jdz2287
- › Search And Advanced Search Tutorial by NotebookForums
- › Tagging Tutorial by NotebookForums
- › Add A New Item Tutorial by NotebookForums
- › Image And Video Tutorial by NotebookForums
- › Subscription Tutorial by NotebookForums
View: New Articles | All Articles
Home | Reviews | Forums | Articles | My Profile
About NotebookForums.com | Join the Community | Advertise
© 2013 NotebookForums.com is powered by Huddler Tech | FAQ | Support | Privacy/TOS | Site Map
About NotebookForums.com | Join the Community | Advertise
© 2013 NotebookForums.com is powered by Huddler Tech | FAQ | Support | Privacy/TOS | Site Map







Rep for you all! 