public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] Problems to compile klibc(udev) with genkernel 3.2.1
@ 2005-07-13  5:52 "Andreas Rückert"
  2005-07-13  6:35 ` [gentoo-catalyst] " Christophe PEREZ
  2005-07-13 14:32 ` [gentoo-catalyst] " Chris Gianelloni
  0 siblings, 2 replies; 10+ messages in thread
From: "Andreas Rückert" @ 2005-07-13  5:52 UTC (permalink / raw
  To: gentoo-catalyst

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 3587 bytes --]

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@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-07-14 13:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13  5:52 [gentoo-catalyst] Problems to compile klibc(udev) with genkernel 3.2.1 "Andreas Rückert"
2005-07-13  6:35 ` [gentoo-catalyst] " Christophe PEREZ
2005-07-13 14:36   ` Chris Gianelloni
2005-07-13 17:02     ` Andreas Rueckert
2005-07-13 17:07       ` [gentoo-catalyst] " Christophe PEREZ
2005-07-14  9:19         ` Andreas Rueckert
2005-07-13 17:13   ` [gentoo-catalyst] " Andreas Rueckert
2005-07-13 14:32 ` [gentoo-catalyst] " Chris Gianelloni
2005-07-14  9:25   ` Andreas Rueckert
2005-07-14 13:19     ` Chris Gianelloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox