[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot build kernel



On Thu, Nov 27, 2003 at 08:27:10AM +0100, Torsten Werner wrote:
> Hello,
> 
> I have installed Debian/woody on a rx5670. Now I want to recompile the
> kernel. I have installed kernel-source-2.4.22, applied the ia64 patch
> from kernel.org and have have been warned that my binutils are too old.
> After upgrading binutils and gcc to the testing version I get the
> following error message:
> 
>    gcc -g -O2 -Wall -D__KERNEL__ -I/usr/src/kernel-source-2.4.22/include -DKBUILD_BASENAME= print_offsets.c -o print_offsets
>    In file included from /usr/src/kernel-source-2.4.22/include/linux/prefetch.h:13,
> 		    from /usr/src/kernel-source-2.4.22/include/linux/list.h:6,
> 		    from /usr/src/kernel-source-2.4.22/include/linux/wait.h:14,
> 		    from /usr/src/kernel-source-2.4.22/include/linux/fs.h:12,
> 		    from /usr/src/kernel-source-2.4.22/include/linux/capability.h:17,
> 		    from /usr/src/kernel-source-2.4.22/include/linux/binfmts.h:5,
> 		    from /usr/src/kernel-source-2.4.22/include/linux/sched.h:9,
> 		    from print_offsets.c:18:
>    /usr/src/kernel-source-2.4.22/include/asm/processor.h: In function `thread_saved_pc':
>    /usr/src/kernel-source-2.4.22/include/asm/processor.h:755: error: `IA64_TASK_THREAD_OFFSET' undeclared (first use in this function)
>    /usr/src/kernel-source-2.4.22/include/asm/processor.h:755: error: (Each undeclared identifier is reported only once
>    /usr/src/kernel-source-2.4.22/include/asm/processor.h:755: error: for each function it appears in.)
>    make[4]: *** [print_offsets] Error 1
>    make[4]: Leaving directory `/usr/src/kernel-source-2.4.22/arch/ia64/tools'

There is a patch for this in the kernel-patch-2.4.22-ia64 package
in incoming.  It was backported from here:

http://lia64.bkbits.net:8080/linux-ia64-2.4/related/arch/ia64/tools/Makefile?nav=index.html|src/|src/arch|src/arch/ia64|src/arch/ia64/tools



Reply to: