Re: [SSI-devel] Building ci kernel from top of trunk sources
Brought to you by:
brucewalker,
rogertsang
From: John B. <joh...@hp...> - 2005-05-10 22:39:07
|
John Byrne wrote: > SAMPATHKUMAR KISHORE KANIYAR wrote: > >> If you checkout "ci" kernel sources from the top of the trunk >> (2.6-based) and then, copy this file over Linux 2.6.10 Base kernel >> source and try to build a "ci" kernel, it will fail with the follow- >> ing error. >> >> make[2]: *** No rule to make target ... >> `/data/kishore/2.6/linux-2.6.10-ssi/include/cluster/gen/clip.svc', >> needed by `include/cluster/gen/clip.gen'. Stop. >> >> In my opinion, under "ci" kernel sources, the only (sub)services >> expected to defined are: >> - cluster_clms_svc (in ci/kernel/cluster/clms/clms_ics.c) >> - cluster_icssig_svc (in ci/kernel/cluster/ics/icssig_ics.c) >> - cluster_api_svc (in ci/kernel/cluster/util/cluster_api_ics.c) >> >> >> cluster_clip_svc (in openssi/kernel/cluster/ssi/net/clip_ssiinit.c) >> is defined under "openssi" kernel sources and is _not_ under "ci" >> kernel sources. However, ci/kernel/include/cluster/gen/Makefile.gen >> (a _generated_ file) has the target include/cluster/gen/clip.gen >> which tries to do "GENSVC clip.svc" which cannot succeed without >> "openssi" kernel sources! >> >> NOTE: >> I think, to preserve modularity of "ci", the right thing may be >> to move clip.svc and all the related Makerules to be located >> under "openssi" kernel sources and make targets. Can someone >> look into this? I don't know enough to make these changes. > > > > I had a fix for this, but it got lost. I will check it in. Actually, I don't have a fix for this as you are having a different problem than I thought. It could be fixed by moving all the SSI specific definitions into an SSI specific Makefile.ssi and including it if it exists or based upon CONFIG_SSI, but CONFIG_IP_VS is currently the only option that should give us any trouble and this could be fixed with an if statement in the Makefile. Feel free to fix it either way, since you care about it. John |