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

Re: [BUG] 2.6.23-rc3 won't boot on alpha (fwd)



On Fri, Aug 24, 2007 at 12:21:05AM +0400, Alexander Kotelnikov wrote:
> Tried to rebuild on stable and got:

> gcc  -I/home/sacha-utf/work/aboot-1.0~pre20040408/include -D__KERNEL__ -mcpu=ev4 -Os -Wall -fno-builtin -Wcast-align -mno-fp-regs -ffixed-8 -fno-builtin-printf -Os -Wall -mno-fp-regs -fno-builtin -I/home/sacha-utf/work/aboot-1.0~pre20040408/include -D__KERNEL__ -I../include  -c -o isolib.o isolib.c
> In file included from isolib.c:10:
> /usr/include/sys/types.h:46: error: conflicting types for ‘loff_t’
> /usr/include/linux/types.h:66: error: previous declaration of ‘loff_t’ was here
> /usr/include/sys/types.h:62: error: conflicting types for ‘dev_t’
> /usr/include/linux/types.h:32: error: previous declaration of ‘dev_t’ was here
> In file included from /usr/include/sys/select.h:44,
>                  from /usr/include/sys/types.h:216,
>                  from isolib.c:10:
> /usr/include/time.h:119: error: redefinition of ‘struct timespec’
> In file included from /usr/include/sys/select.h:46,
>                  from /usr/include/sys/types.h:216,
>                  from isolib.c:10:
> /usr/include/bits/time.h:70: error: redefinition of ‘struct timeval’
> In file included from /usr/include/sys/types.h:216,
>                  from isolib.c:10:
> /usr/include/sys/select.h:78: error: conflicting types for ‘fd_set’
> /usr/include/linux/types.h:31: error: previous declaration of ‘fd_set’ was here
> In file included from isolib.c:10:
> /usr/include/sys/types.h:231: error: conflicting types for ‘blkcnt_t’
> /usr/include/linux/types.h:150: error: previous declaration of ‘blkcnt_t’ was here

> Anybody met something like this before?

I assume this is with 1.0~pre20040408-2?  This looks like it's the result of
my fixes to get the aboot-cross package to build successfully on i386; I
didn't test this at all with older kernel header packages, and I'm not sure
I care to try to fix this given that the above is a bug in that version of
linux/types.h and working around it would be time-consuming.  (Hmm, maybe I
should have kept the build-dep on linux-libc-dev after all...)

Suggestions to you on how to proceed:

- grab the aboot-base package from unstable, which is arch: all and has no
  dependencies, and install it without worrying about the aboot package; the
  bootloader itself is contained in aboot-base, so that should be sufficient
  to get you a working 2.6.23 boot.
- install linux-libc-dev from unstable, and build the package against that
  instead of the linux-kernel-headers included in etch.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/



Reply to: