Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-catalyst
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-catalyst@g.o
From: "Andreas Rückert" <a_rueckert@...>
Subject: Problems to compile klibc(udev) with genkernel 3.2.1
Date: Wed, 13 Jul 2005 07:52:28 +0200 (MEST)
Hi!

I'm stuck again. I guess I tried more than 20 times to run stage 2 
with a current portage snapshot. No luck so far. I tried at least
5 kernel versions, 2 processor types and lots of spec file variants.

Using udev, klibc fails with 2 missing header files:
=================================
* udev: >> Compiling...
COMMAND: make j1  KERNEL_DIR=/usr/src/linux USE_KLIBC=true USE_LOG=false
DEBUG=false udevdir=/dev all etc/udev/udev.conf
In file included from ../linux/include/linux/compiler.h:44,
                 from ../linux/include/linux/stddef.h:4,
                 from ../linux/include/linux/posix_types.h:4,
                 from ../include/sys/types.h:16,
                 from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../linux/include/linux/compiler-gcc3.h:22:1: warning: "__attribute_pure__"
redefined
In file included from ../include/unistd.h:9,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/klibc/compiler.h:77:1: warning: this is the location of the
previous definition
In file included from ../linux/include/linux/compiler.h:44,
                 from ../linux/include/linux/stddef.h:4,
                 from ../linux/include/linux/posix_types.h:4,
                 from ../include/sys/types.h:16,
                 from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../linux/include/linux/compiler-gcc3.h:23:1: warning: "__attribute_const__"
redefined
In file included from ../include/unistd.h:9,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/klibc/compiler.h:60:1: warning: this is the location of the
previous definition
In file included from ../include/sys/types.h:16,
                 from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../linux/include/linux/posix_types.h:47:29: asm/posix_types.h: No such file
or directory
In file included from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/sys/types.h:18:23: asm/types.h: No such file or directory
In file included from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/sys/types.h:25: error: parse error before "ino_t"
../include/sys/types.h:25: warning: type defaults to `int' in declaration of
`ino_t'
../include/sys/types.h:25: warning: data definition has no type or storage
class
../include/sys/types.h:26: error: parse error before "mode_t"
../include/sys/types.h:26: warning: type defaults to `int' in declaration of
`mode_t'
../include/sys/types.h:26: warning: data definition has no type or storage
class
../include/sys/types.h:27: error: parse error before "nlink_t"
<snipped many more errors>
=================================
I guess the problem here is, that some directory is missing in the 
include directory list, and so the compiler cannot find types.h and 
posix_types.h. 
I searched google and the gentoo forums with no luck so far.

The other variant would be to use devfs again. Genkernel then fails,
because it could not copy the image for the minimum kernel package
(no clue why yet).

Thanks for any hint,
Andreas

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
-- 
gentoo-catalyst@g.o mailing list


Replies:
Re: Problems to compile klibc(udev) with genkernel 3.2.1
-- Chris Gianelloni
Re: Problems to compile klibc(udev) with genkernel 3.2.1
-- Christophe PEREZ
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
ANNOUNCE: catalyst 1.1.10.3
Next by thread:
Re: Problems to compile klibc(udev) with genkernel 3.2.1
Previous by date:
Re: Re: livecd-stage1 pkgconfig
Next by date:
Re: Problems to compile klibc(udev) with genkernel 3.2.1


Updated Jun 17, 2009

Summary: Archive of the gentoo-catalyst mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.