From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nagendra Singh Tomar Date: Wed, 27 Aug 2003 17:12:03 +0000 Subject: Re: Problems compiling kernel 2.4.18 patched with the latest patc Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Bjorn, Thanx for ur reply. I had difficulties applying the patch. I tried it on the already patched 2.4.18 (with latest ia64 port patch as I mentioned). I will download the 2.4.21 kernel and try patching and compiling it. Hope that passes thru. I don't want to run a 2.6 kernel because I have a massive kernel module that works on 2.4.18 kernel on an IA32. To start with I would just like to see if it works on IA64 also. i don't want to get down to porting that module to 2.6. Later, when I am done with amking it work on 2.4.21/IA64, I will put the effort of porting it to 2.6 series. Is 2.4.21 also not a good choice for IA64 ? Thanx, tomar On Wed, 27 Aug 2003, Bjorn Helgaas wrote: > On Tuesday 26 August 2003 3:20 pm, Nagendra Singh Tomar wrote: > > The kernel is 2.4.18 taken from kernel.org > > Patch applied is linux-2.4.18-ia64-020722.diff taken from > > http://www.kernel.org/pub/linux/kernel/ports/ia64/v2.4/ > > I get the following error > > > > /tmp/newhd/usr/src/linux-2.4.18-ia64/include/asm/machvec.h:82:12: > pasting > > "machvec_hpsim" and "." does not give a valid preprocessing token > > > > The detailed compilation log can be found at the end of this mail. I > have > > made a cross compiler tool-chain on a IA32 system, running RedHat-8.0. > > I searched in the archives. Looks like people have faced this problem, > but > > it was fixed. Is it fixed for 2.4.18 or do I need a later kernel. > > I assume you found this message in the archives: > http://www.gelato.unsw.edu.au/linux-ia64/0206/3530.html > > I don't think the 2.4.18 patch was ever updated, so you probably > can't build a 2.4.18 generic kernel unless you want to apply the > machvec and sba_iommu patches. > > That's a pretty old kernel, and the generic target was just starting > to come together then. But I assume you have a good reason for > wanting to use such an old kernel. > > Bjorn >