public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Problems compiling kernel 2.4.18 patched with the latest patch
@ 2003-08-26 21:32 Nagendra Singh Tomar
  2003-08-27 15:54 ` Bjorn Helgaas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nagendra Singh Tomar @ 2003-08-26 21:32 UTC (permalink / raw)
  To: linux-ia64

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.

Thanx
tomar

Full compiler log:
----------------

. scripts/mkversion > .tmpversion
/usr/local/ia64-linux/bin/gcc -D__KERNEL__ -I/tmp/newhd/usr/src/linux-2.4.18-ia64/include -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe  -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -mconstant-gp -DUTS_MACHINE='"ia64"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
make CFLAGS="-D__KERNEL__ -I/tmp/newhd/usr/src/linux-2.4.18-ia64/include -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe  -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -mconstant-gp" -C  arch/ia64/tools
make[1]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/tools'
make CFLAGS="-D__KERNEL__ -I/tmp/newhd/usr/src/linux-2.4.18-ia64/include -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe  -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -mconstant-gp" -C  arch/ia64/kernel
make[1]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/kernel'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/kernel'
make CFLAGS="-D__KERNEL__ -I/tmp/newhd/usr/src/linux-2.4.18-ia64/include -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe  -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -mconstant-gp" -C  arch/ia64/mm
make[1]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/mm'
make all_targets
make[2]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/mm'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/mm'
make[1]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/mm'
make CFLAGS="-D__KERNEL__ -I/tmp/newhd/usr/src/linux-2.4.18-ia64/include -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe  -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -mconstant-gp" -C  arch/ia64/lib
make[1]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/lib'
make[1]: `lib.a' is up to date.
make[1]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/lib'
make CFLAGS="-D__KERNEL__ -I/tmp/newhd/usr/src/linux-2.4.18-ia64/include -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe  -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -mconstant-gp" -C  arch/ia64/hp
make[1]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp'
make -C common
make[2]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp/common'
make all_targets
make[3]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp/common'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp/common'
make[2]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp/common'
make -C sim
make[2]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp/sim'
make all_targets
make[3]: Entering directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp/sim'
/usr/local/ia64-linux/bin/gcc -D__KERNEL__ -I/tmp/newhd/usr/src/linux-2.4.18-ia64/include -Wall -Wstrict-prototypes -Wno-trigraphs -g -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe  -ffixed-r13 -mfixed-rangeñ0-f15,f32-f127 -falign-functions2 -frename-registers --param max-inline-insnsP00 -mconstant-gp  -DKBUILD_BASENAME=hpsim_machvec  -c -o hpsim_machvec.o hpsim_machvec.c
In file included from /tmp/newhd/usr/src/linux-2.4.18-ia64/include/asm/machvec_init.h:5,
                 from hpsim_machvec.c:2:
/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
make[3]: *** [hpsim_machvec.o] Error 1
make[3]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp/sim'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp/sim'
make[1]: *** [_subdir_sim] Error 2
make[1]: Leaving directory `/tmp/newhd/usr/src/linux-2.4.18-ia64/arch/ia64/hp'
make: *** [_dir_arch/ia64/hp] Error 2




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-28 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-26 21:32 Problems compiling kernel 2.4.18 patched with the latest patch Nagendra Singh Tomar
2003-08-27 15:54 ` Bjorn Helgaas
2003-08-27 17:12 ` Problems compiling kernel 2.4.18 patched with the latest patc Nagendra Singh Tomar
2003-08-28 15:45 ` Problems compiling kernel 2.4.18 patched with the latest patc h Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox