[OpenAFS] Re: Openafs-1.4.0; Kernel 2.6.9-22.0.1.EL; kernel module compile error
Russ Allbery
rra@stanford.edu
Tue, 20 Dec 2005 09:44:02 -0800
Tony D'Amato <tdamato@odu.edu> writes:
> Just a thought, but one thing the person may want to try is to make sure
> they're using the same gcc to compile the OpenAFS modules that was used
> to compile the GNU/Linux kernel... I just ran into the "#error Not sure
> what to do about rlim" message on a Thinkpad upgraded to Debian
> testing/unstable. I realized that it was using the default gcc to
> compile (4.0.2), so when I added
> MAKEFLAGS="CC=gcc-3.3"
> in front of the make-kpkg command, the error went away and the module
> compiled fine.
Yeah, that will definitely also cause this problem, which is why I asked a
few questions about the compiler, but that looked okay.
(Incidentally, on Debian, make-kpkg or module-assistant is supposed to
handle setting the compiler for you so that you don't have to do this.
The only reason why it doesn't is Bug#338306, which I'm hoping to get a
chance to fix todayish.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>