ALT Linux kernel packages development
 help / color / mirror / Atom feed
* [d-kernel] glibc-kernheaders побитые ;-(
@ 2003-07-30  6:02 Anton Farygin
  2003-07-30 10:52 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Farygin @ 2003-07-30  6:02 UTC (permalink / raw)
  To: ALT Linux kernel packages development, Dmitry V. Levin

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

Привет всем,

$ cc -I. -Iinclude -pipe -march=i386 -mcpu=i386 -Os -fomit-frame-pointer 
-Wall -Wno-switch -c lib/accept.c -o bin-i386/accept.o
In file included from /usr/include/linux/config.h:4,
                  from /usr/include/linux/net.h:21,
                  from lib/accept.c:1:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included 
in userspace

Я понимаю, что давать версию нельзя, но net.h включает config.h, а 
config.h включает autoconf.h

Как быть в этой ситуации ?

Может быть все-таки стоит дать версию ядра?

Rgds,
Rider

[-- Attachment #2: Type: application/pgp-signature, Size: 252 bytes --]

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

* Re: [d-kernel] glibc-kernheaders побитые ;-(
  2003-07-30  6:02 [d-kernel] glibc-kernheaders побитые ;-( Anton Farygin
@ 2003-07-30 10:52 ` Dmitry V. Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2003-07-30 10:52 UTC (permalink / raw)
  To: ALT Linux kernel packages development

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

On Wed, Jul 30, 2003 at 10:02:48AM +0400, Anton Farygin wrote:
> Привет всем,
> 
> $ cc -I. -Iinclude -pipe -march=i386 -mcpu=i386 -Os -fomit-frame-pointer 
> -Wall -Wno-switch -c lib/accept.c -o bin-i386/accept.o
> In file included from /usr/include/linux/config.h:4,
>                  from /usr/include/linux/net.h:21,
>                  from lib/accept.c:1:
> /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included 
> in userspace
> 
> Я понимаю, что давать версию нельзя, но net.h включает config.h, а 
> config.h включает autoconf.h
> 
> Как быть в этой ситуации ?

1. правильный buildrequires.
2. /usr/sbin/adjust_kernel_headers --first (скоро будет).

> Может быть все-таки стоит дать версию ядра?

нет.


--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2003-07-30 10:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-30  6:02 [d-kernel] glibc-kernheaders побитые ;-( Anton Farygin
2003-07-30 10:52 ` Dmitry V. Levin

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git