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

Re: cannot build kernel



Torsten,

I don't know how helpful this will be but I recommned that you make sure
to select all of the ia64 specific stuff in General. I also had issues
with the 2.4.22 and .18 kernels. I successfully compiled the 2.4.20 kernel
though. So if you are just dying to give something a shot I recommend that
one.

-Adam

PS Let me know if you want a working .config all you should have to do is
make it specifically for your system instead of the zx6000.

 On Thu, 27 Nov 2003, 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'
>
> How can I fix that?
>
> Thanks,
> Torsten
>
>
> Thanks for the good work on porting Debian to ia64!
>
> --
> Torsten Werner                                       email@twerner42.de
> http://www.twerner42.de/                          phone:+49 162 3123004
> jabber:bollin@amessage.de                                 icq:342538944
>
>
> --
> To UNSUBSCRIBE, email to debian-ia64-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: