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

Bug#541463: linux-libc-dev and LTP compile failures on ppc



On Fri, Aug 14, 2009 at 02:48:10PM +0200, Geert Uytterhoeven wrote:
> Package: linux-libc-dev
> Version: 2.6.26-17lenny1
> 
>
> After upgrading linux-libc-dev to version 2.6.30-5 from sid, configure works
> fine again.  However, the build of LTP fails with:
> 
> | gcc -g -O2 -I../../include -g -Wall -I../../../../include -Wall    signalfd01.c  -L../../../../lib -lltp -o signalfd01
> | In file included from /usr/include/asm/fcntl.h:9,
> |                  from /usr/include/linux/fcntl.h:4,
> |                  from /usr/include/linux/signalfd.h:13,
> |                  from signalfd01.c:62:
> | /usr/include/asm-generic/fcntl.h:117: error: redefinition of ?struct flock?
> | /usr/include/asm-generic/fcntl.h:140: error: redefinition of ?struct flock64?
> | make[4]: *** [signalfd01] Error 1
> | make[4]: Leaving directory `/root/ltp-full-20090731/testcases/kernel/syscalls/signalfd'
> 
> The original definitions of `struct flock' and `struct flock64' are in
> /usr/include/bits/fcntl.h.
> 
> Presumably /usr/include/bits/fcntl.h should use the definition pulled in from
> /usr/include/asm/fcntl.h, instead of defining its own?

Hi,
The next release of Debian (6.0, code name Squeeze) will be based
on 2.6.32. Please test the current 2.6.32 from unstable/testing and tell
us whether the problem persists. If so, we should report it upstream
to the kernel.org developers.

The 2.6.32 kernel is available from packages.debian.org and can
be installed in both Debian stable, testing and unstable
installations.

Thanks,
        Moritz



Reply to: