[Nelug] Symlink to linux kernel

Brian Ronald Brian.Ronald at unforgettable.com
Fri Nov 8 09:55:01 UTC 2002


On Thursday 07 November 2002 7:54 pm, peter.holmes at fopet-esl.com wrote:
> <body>
> <div align="left"><font face="Arial"><span style="font-size:10pt">I am
> compiling a loadable kernel module - code is debugged and
> works</span></font></div>
> <div align="left"><font face="Arial"><span
> style="font-size:10pt">normally.</span></font></div> <div
> align="left"><font face="Arial"><span style="font-size:10pt">When I attempt
> a 'kernel' compile I get an error from
> /include/versions.h:</span></font></div>
> <div align="left"><br>
> </div>
> <div align="left"><font face="Arial"><span style="font-size:10pt"> -- part
> of --</span></font></div> <div align="left"><br>
> </div>
> <div align="left"><font face="Arial" color="#0000ff"><span
> style="font-size:10pt">#error &quot; &nbsp;&nbsp;Make sure that the
> symbolic link</span></font></div>
> <div align="left"><font face="Arial" color="#0000ff"><span
> style="font-size:10pt">#error &quot; &nbsp;&nbsp;/lib/modules/`uname
> -r`/build exists and points to</span></font></div>
> <div align="left"><font face="Arial" color="#0000ff"><span
> style="font-size:10pt">#error &quot; &nbsp;&nbsp;the matching kernel source
> directory</span></font></div>
> <div align="left"><br>
> </div>
> <div align="left"><font face="Arial"><span style="font-size:10pt"> -- end
> part of ----</span></font></div> <div align="left"><br>
> </div>
> <div align="left"><font face="Arial"><span style="font-size:10pt">a) You
> (me) can't create a symlink with the suggested name I get
> the</span></font></div>
> <div align="left"><font face="Arial"><span style="font-size:10pt">error
> message &quot;.. can't overwrite directory..&quot; so it can't actually
> be</span></font></div>
> <div align="left"><font face="Arial"><span style="font-size:10pt">the name
> of the symlink file.</span></font></div> <div align="left"><font
> face="Arial"><span style="font-size:10pt">What DO I name it
> as?</span></font></div> <div align="left"><br>
> </div>
> <div align="left"><font face="Arial"><span style="font-size:10pt">b) Where
> do I put the symlink so the compiler can find (and understand)
> it?</span></font></div>
> <div align="left"><br>
> </div>
> <div align="left"><font face="Arial"><span style="font-size:10pt">I know
> where the kernel source directory, etc., is.</span></font></div>
> <div align="left"><br>
> </div>
> <div align="left"><font face="Arial"><span style="font-size:10pt">Any
> suggestions?</span></font></div> <div align="left"><br>
> </div>
> <div align="left"><font face="Arial"><span style="font-size:10pt">Peter
> H.</span></font></div> </body>

I'm sure there was a very good reason for including more HTML than text, but 
unfortunately I can't be bothered to piece it together.

-- 
Brian Ronald (Brianetta)                    ICQ: 56659882
_________________________________________________________
I didn't want to hurt you, but you're pretty when you cry





More information about the Nelug mailing list