[lkml]   [1996]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Modules dependencies in 1.3.79 (was Re: Linux 1.3.78, Token Ring)
Steven L Baur wrote:
> >>>>> "Andrew" == Andrew C Esh <> writes:
> >> wrote:
> >>
> >> make[2]: Entering directory `/usr/local/linux/kernel'
> >> gcc -D__KERNEL__ -I/usr/local/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jump
> >> ksyms.c:350: macro `_basic_version' used with just one arg
> >> ksyms.c:351: macro `_basic_version' used with just one arg
> Andrew> Ding! Ding! Ding! We have a winner!
> ... (Response showing how to resolve the problem elided)
> This problem just bit me in 1.3.79 (after I patched make xconfig to
> work). Why doesn't ``make clean'' remove the stuff?

Because the .ver files are a product of "make dep", and so "make clean"
would undo that, and you wouldn't have any .ver files when it came
time to compile the kernel.

> I build kernels
> for multiple machines out of the same source tree (with the wonderful
> xconfig to keep the different configurations straight), so preserving
> version dependencies beyond a make xconfig is suboptimal behavior.
> Removing the .ver files looks like it gives a clean build, but is not
> very nice.

I agree. The makefile that creates them should be expanded to supply
dependencies for all files that the .ver. files are made from. Either
that or we need another main make target that does everything that mrproper
does, except destroy the config info. In your case, that would not be
a problem (because of xconfig), but it's a pain for me. The "make clean"
can't do enough, and the "make mrproper" must do too much.

I think I'm gonna try to switch to xconfig.

Andrew C. Esh
Computer Network Technology (finger for PGP key)
6500 Wedgwood Road 612.550.8000 (main)
Maple Grove MN 55311 612.550.8229 (direct) - CNT Inc. Home Page - ACE Home Page

 \ /
  Last update: 2005-03-22 13:36    [W:0.046 / U:1.524 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site