lkml.org 
[lkml]   [2004]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Stop the linux kernel madness - SOLVED!
Date
> Here's the solution we have found:
>
> With the latest SuSE 2.6.5-7.75 kernel sources:
>
> The problem is that /lib/modules/2.6.5-7.75/build points to
> /usr/src/linux-2.6.5-7.75-obj which is some kind of wierd directory
> that has:
>
> . .. bigsmp debug default out smp
>
> So simply removing this symlink and putting back a link to
> /usr/src/linux-2.6.5-7.75 fixes our problems.
>
> So the question is who is at fault here?. We used KBUILD to
> build our modules and obviously the build link in /lib/modules/<kernel>/build
> isn't pointing to the correct source tree.

I don't know if this is the solution to your problem, but /usr/src/linux/README.SUSE
says

(3) Compile the module(s) by changing into the module source directory
and typing ``make -C /usr/src/linux
O=/usr/src/linux-obj/$ARCH/$FLAVOR M=`pwd` modules''.
Substitute $ARCH and $FLAVOR with the architecture and flavor
for which to build the module(s).

I hope this helps,

Duncan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.059 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site