ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@alt-linux.org>
To: ALT Linux Spring mailing list <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] Trouble with 2.4.2 ans samba conpile.
Date: Thu Jun 14 20:45:01 2001
Message-ID: <20010614205533.A29301@ldv.office.alt-linux.org> (raw)
In-Reply-To: <18611605347.20010614191438@HotBox.ru>; from Alexey_Pilyugin@HotBox.ru on Thu, Jun 14, 2001 at 07:14:38PM +0500


[-- Attachment #1.1: Type: text/plain, Size: 1226 bytes --]

On Thu, Jun 14, 2001 at 07:14:38PM +0500, Alexey wrote:
> >> >   1. загрузил ядро 2.4.2
> >> >   2. Хотел скомпилировать samba 2.2.0 и наткнулся на то, что компиляция
> >> > не проходит. Вылетает и вопит об ошибке переопределения структуры
> >> > statfs. Как побороть сей трабл. Если загрузить ядро 2.2.18, всё
> >> > нормально.
> >>
> >> Видимо, собирать samba под ядром 2.2.х
> 
> ЮБ> Или ещё можно руками в инклудниках ядра полазить (насколько помню
> ЮБ> в районе statfs.h ).
> ЮБ> Нудно , но всё же быстрее , чем 2.2.x срочно ставить.
> ЮБ> Надо только не забыть всё обратно вернуть ,а то что-нибудь другое не 
> ЮБ> скомпиляется.
> Ковырял. Там много всего связано между собой. Должен быть более
> корректный способ.

Приложите патч (attached) к /usr/include/linux/capability.h

Исправленный пакет kernel24-headers сегодня будет в Сизифе.


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.ru/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

[-- Attachment #1.2: kernel24-linux-capability.patch --]
[-- Type: text/plain, Size: 476 bytes --]

--- /usr/include/linux/capability.h~	Thu Jun 14 13:19:08 2001
+++ /usr/include/linux/capability.h	Thu Jun 14 20:46:07 2001
@@ -14,7 +14,6 @@
 #define _LINUX_CAPABILITY_H
 
 #include <linux/types.h>
-#include <linux/fs.h>
 
 /* User-level do most of the mapping between kernel and user
    capabilities based on the version tag given by the kernel. The
@@ -278,6 +277,7 @@
 #define CAP_LEASE            28
 
 #ifdef __KERNEL__
+#include <linux/fs.h>
 /* 
  * Bounding set
  */

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

  reply	other threads:[~2001-06-14 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-14 13:22 Alexey
2001-06-14 17:07 ` Konstantin Volckov
2001-06-14 17:20   ` Юрий Борунов
2001-06-14 18:23     ` Re[2]: " Alexey
2001-06-14 20:45       ` Dmitry V. Levin [this message]
2001-06-14 18:23   ` Alexey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010614205533.A29301@ldv.office.alt-linux.org \
    --to=ldv@alt-linux.org \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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