Unix Technical Forum

Link to kernel source

This is a discussion on Link to kernel source within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi all: I am trying to install ndiswrapper and I need to make a link to the kernel source. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:59 PM
Sonoman
 
Posts: n/a
Default Link to kernel source

Hi all:
I am trying to install ndiswrapper and I need to make a link to the kernel
source. I know how to make a link but I do not know where is the kernel
source and where should I place the link and what to name it. Please help.

Sonoman


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:59 PM
Dominik L.. Borkowski
 
Posts: n/a
Default Re: Link to kernel source

Sonoman wrote:

> Hi all:
> I am trying to install ndiswrapper and I need to make a link to the kernel
> source. I know how to make a link but I do not know where is the kernel
> source and where should I place the link and what to name it. Please help.


/usr/src/linux, if you installed the kernel-source package.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:59 PM
Joost Kremers
 
Posts: n/a
Default Re: Link to kernel source

Sonoman wrote:
> Hi all:
> I am trying to install ndiswrapper and I need to make a link to the kernel
> source. I know how to make a link but I do not know where is the kernel
> source and where should I place the link and what to name it. Please help.


what link exactly? if you're talking about /usr/include/linux and
/usr/include/asm, then skip this step. it breaks your system. install the
kernel-headers package instead.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 04:01 PM
Dave
 
Posts: n/a
Default Re: Link to kernel source

Joost Kremers wrote:
> Sonoman wrote:
>
>>Hi all:
>>I am trying to install ndiswrapper and I need to make a link to the kernel
>>source. I know how to make a link but I do not know where is the kernel
>>source and where should I place the link and what to name it. Please help.

>
>
> I just installed it using the setup discs. run pkgmanager and then

install the source. Also, let me know how your wireless install went
and what card your using.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 04:09 PM
Sonoman
 
Posts: n/a
Default Re: Link to kernel source

Thank you, got it. I had to get the source and recompile it from there. It
was the easiest way for me.


"Dominik L.. Borkowski" <dom@vbi.vt.edu> wrote in message
news:cjg06b$mrv$1@solaris.cc.vt.edu...
> Sonoman wrote:
>
>> Hi all:
>> I am trying to install ndiswrapper and I need to make a link to the
>> kernel
>> source. I know how to make a link but I do not know where is the kernel
>> source and where should I place the link and what to name it. Please
>> help.

>
> /usr/src/linux, if you installed the kernel-source package.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 04:09 PM
Neo
 
Posts: n/a
Default Re: Link to kernel source

rm -rf /usr/include/asm /usr/include/asm-i386 /usr/include/asm-generic
/usr/include/linux
cd /usr/src/linux/include
cp -r asm-i386 asm-generic linux /usr/include/
cd /usr/include
ln -sf asm-i386 asm

You'll need to change i386 if ur not on x86


"Sonoman" <rotaterx8@GETCREATIVEyahoo.com> wrote in message
news:CZidnQ_81poFU_zcRVn-hg@comcast.com...
> Thank you, got it. I had to get the source and recompile it from there. It
> was the easiest way for me.
>
>
> "Dominik L.. Borkowski" <dom@vbi.vt.edu> wrote in message
> news:cjg06b$mrv$1@solaris.cc.vt.edu...
> > Sonoman wrote:
> >
> >> Hi all:
> >> I am trying to install ndiswrapper and I need to make a link to the
> >> kernel
> >> source. I know how to make a link but I do not know where is the kernel
> >> source and where should I place the link and what to name it. Please
> >> help.

> >
> > /usr/src/linux, if you installed the kernel-source package.

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 04:09 PM
Chris Newport
 
Posts: n/a
Default Re: Link to kernel source

On Monday 04 October 2004 11:56 pm in alt.os.linux.slackware Neo wrote:

> rm -rf /usr/include/asm /usr/include/asm-i386 /usr/include/asm-generic
> /usr/include/linux
> cd /usr/src/linux/include
> cp -r asm-i386 asm-generic linux /usr/include/
> cd /usr/include
> ln -sf asm-i386 asm
>
> You'll need to change i386 if ur not on x86


RUBBISH.
The kernel should be compiled using the headers supplied
which were used to build the compiler and libs.

Just install the kernel-source package.
Do not mess with the includes.

--
My real address is crn (at) netunix (dot) com
WARNING all messages containing attachments or html will be silently
deleted. Send only plain text.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com