Re: [BUG?] -- Kernel compilation on v2.5.4 source breaks

From: Skip Ford (skip.ford@verizon.net)
Date: Thu Feb 14 2002 - 17:00:19 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Julian Gomez wrote:
>
> The error is :
>
> -- start here --
>
> make[1]: Entering directory `/network-fs/linux-2.5.4/arch/i386/kernel'
> gcc -D__KERNEL__ -I/network-fs/linux-2.5.4/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
> -march=i686 -DKBUILD_BASENAME=process -c -o process.o process.c
> process.c:60: parse error before `unsigned'
> make[1]: *** [process.o] Error 1
> make[1]: Leaving directory `/network-fs/linux-2.5.4/arch/i386/kernel'
> make: *** [_dir_arch/i386/kernel] Error 2
>
> -- end here --
>
> on a pristine v2.5.4 with the patch for processor.h from David Howell's
> applied. Configuration file is attached to this message. Same

Well, you're saying 2.5.4 but that error is what you get if you apply
2.5.5-pre1 to a tree that has the processor.h patch already applied.

You need to change the following line in processor.h:
'#define thread_saved_pc(TSK) (((unsigned long*)(TSK)->thread.esp)[3])'

to:

'extern unsigned long thread_saved_pc(struct task_struct *tsk);'

- --
Skip ID: 0x7EDDDB0A
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAjxsM18ACgkQBMKxVH7d2wptawCfdWCv2uZxRfHibIpx3uryRQWj
6DcAnRqqdkzlDFL5ZAt8DiYsBE/62sxX
=fZfn
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:01:04 EST