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...

  fs1:~# module-assistant prepare openafs-modules
  Getting source for kernel version: 2.6.8-2-686
  Kernel headers available in /usr/src/linux
   apt-get  install build-essential
  Reading Package Lists... Done
  Building Dependency Tree... Done
  The following extra packages will be installed:
    g++ g++-4.0 gcc libstdc++6-4.0-dev
  Suggested packages:
    gcc-4.0-doc autoconf automake1.9 libtool gcc-doc automake 
libstdc++6-4.0-doc stl-manual
  The following NEW packages will be installed:
    build-essential g++ g++-4.0 libstdc++6-4.0-dev
  The following packages will be upgraded:
    gcc
  1 upgraded, 4 newly installed, 0 to remove and 8 not upgraded.
  Need to get 6834B/3850kB of archives.
  After unpacking 14.4MB of additional disk space will be used.
  Do you want to continue? [Y/n]

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?

Jiann-Ming Su
"Yeah, Lois, that'll be about as much fun as a lecture on
                                   ontological empiricism."  --Peter Griffin



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

Reply via email to