ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Aristarh <aristarh@online.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] VMWare
Date: Wed Apr 18 00:12:00 2001
Message-ID: <01041800125700.01804@aristarh.home> (raw)
In-Reply-To: <20010417232834.55f8dde7.isol@yandex.ru>

17 Апрель 2001 21:28, Вы написали:
> Hi All!
>
> Так и не могу ничего поделать с:
>
> Building the vmnet module.
>
> make: Вход в каталог `/root/tmp/vmware-config0/vmnet-only'
> bridge.c: In function `VNetBridgeReceiveFromDev':
> bridge.c:788: warning: implicit declaration of function `skb_datarefp'
> make: Выход из каталог `/root/tmp/vmware-config0/vmnet-only'
> Unable to make a vmnet module that can be loaded in the running kernel:
> /root/tmp/vmware-config0/vmnet.o: unresolved symbol skb_datarefp
> There is probably a light difference of kernel configuration between the
> set of C header files you specified and your running kernel. You may want
> to rebuild a kernel based on that directory, or specify another directory.
>
> For more information on how to troubleshoot module-related problems, please
> have a look at "http://www.vmware.com/download/modules/modules.html".
>
> Execution aborted.
>
> Прбовал следующее:
>
> - в Makefile пробовал менять gcc на kgcc
> - перекомпилил ядро, т.к. ругань идет на не соответствие хидеров текущему
> ядру.
>
> Ничего не помогает. :-((((
>
> Что же делать?
Рассказываю подробно, как только что сделал:

1. Сборка собственного ядра из src.rpm
а) rpm -i kernel-2.2.19-alt2.src.rpm
б) cd /usr/src/RPM/SPECS/
в) rpm -bp kernel-2.2.19.spec
г) cd ../BUILD
д) make (x, menu)config 
е) cp .config ../SOURCES/kernel-2.2.19-myarch-MYKERNEL.config
ё) cd ../SPECS
ж) правим kernel-2.2.19.spec
------------------------------------------
# What kernel packages to be built.
%define BUILD_CUSTOM 1
%define BUILD_UP 0
%define BUILD_UP_SECURE 0
%define BUILD_SMP 0
%define BUILD_SMP_SECURE 0
%define BUILD_BOOT 0
 
# What kernel-related packages to be built.
%define BUILD_HEADERS 1
<skip>
# Custom kernel parameters.
%define CUSTOM MYKERNEL
<skip>
Release: MYRELEASE
<skip>
# Don't build headers, source and docs for custom-only build.
%if !%BUILD_UP&&!%BUILD_UP_SECURE&&!%BUILD_SMP&&!%BUILD_SMP_SECURE
%define BUILD_HEADERS 1
-------------------------------------------------
и) ln -s /usr/src/RPM/BUILD/linux /usr/src/linux
    ln -s /usr/src/linux/include/linux /usr/include/linux
    ln -s /usr/src/linux/include/asm /usr/include/asm	
к) rpm -bs  kernel-2.2.19.spec 
л) cd ../SRPMS
     rpm --rebuild kernel-2.2.19-MYRELEASE.src.rpm
м) cd ../RPMS/myarch
     rpm -ivh  kernel-2.2.19-MYKERNEL-myarch-MYRELEASE.rpm          		  
kernel-headers-2.2.19-MYKERNEL-myarch-MYRELEASE.rpm 	
н) rm /usr/src/linux 
     ln -s /usr/src/kernel/ linux-2.2.19-MYRELEASE /usr/src/linux
2. reboot с новым ядром.
3. Конфигурирование vmware
Она у меня в прошлом веке сделана (2.0.1-570) и у нее есть настроечный скрипт 
vmware-config.pl 
Модули успешно скомпилились (гцц на кгцц  не менял)
Запускаем windows 95, бродим по сети, ходим в интернет с IE.  

Yuri N. Sedunov
St. Petersburg



  reply	other threads:[~2001-04-18  0:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-17 21:28 Igor Solovyov
2001-04-18  0:12 ` Aristarh [this message]
2001-04-18 17:10   ` Igor Solovyov

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=01041800125700.01804@aristarh.home \
    --to=aristarh@online.ru \
    --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