Jiann-Ming Su <[EMAIL PROTECTED]> writes:
> On Sat, 24 Sep 2005, Russ Allbery wrote:

>> Well, first, I highly recommend that you not use that script and
>> instead follow the instructions in README.modules.  Since you're using
>> a stock Debian 2.6 kernel, you're going to get the best results from
>> using module-assistant rather than make-kpkg.

>> Also, make sure that you're trying to build OpenAFS with the same
>> compiler that built the kernel, which I believe was gcc 3.4 for
>> 2.6.8-2-686.

> module-assistant wants to install gcc-4.0...

Hm.  That's annoying; I wonder if it doesn't track that sort of
information usefully.  (It's doing that since it's trying to install
build-essential.)

> I'm pretty sure the 2.6.8 kernel from the sarge branch was not built
> with gcc-4.0.  Should I upgrade to the testing 2.6.12 kernel to use the
> new openafs kernel module?

That works (I'm running that configuration myself), or the other thing you
can do is install build-essential and then manually change the
/usr/bin/gcc link to point to gcc-3.3.  I've also done that myself so I
know it works.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to