Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Не могу собрать vmware-modules
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
chama
n00b
n00b


Joined: 30 Nov 2006
Posts: 26
Location: Екатеринбург

PostPosted: Tue Jul 24, 2007 8:49 am    Post subject: Не могу собрать vmware-modules Reply with quote

Не собирается ни vmware-modules-1.0.0.15-r1, ни 1.0.0.16.
Code:
Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work ...
 * Preparing vmmon module
Using 2.6.x kernel build system.
make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22-sabayon'
make[1]: предупреждение: сервер задач недоступен: используется -j1.
Добавьте `+' к правилу в родительском make.
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/hostif.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/cpuid.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/hash.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/memtrack.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/phystrack.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task.o
cc1plus: предупреждение: ключ "-Wstrict-prototypes" годится для C/ObjC, но не для C++
cc1plus: предупреждение: ключ "-Wdeclaration-after-statement" годится для C/ObjC, но не для C++
cc1plus: предупреждение: ключ "-Wno-pointer-sign" годится для C/ObjC, но не для C++
cc1plus: предупреждение: ключ "-Wstrict-prototypes" годится для C/ObjC, но не для C++
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h: In function ‘void Task_Switch_V45(VMDriver*, Vcpuid)’:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h:1713: предупреждение: ‘sysenterState.SysenterStateV45::validEIP’ may be used uninitialized in this function
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h:1713: предупреждение: ‘sysenterState.SysenterStateV45::cs’ may be used uninitialized in this function
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h:1713: предупреждение: ‘sysenterState.SysenterStateV45::rsp’ may be used uninitialized in this function
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/task_compat.h:1713: предупреждение: ‘sysenterState.SysenterStateV45::rip’ may be used uninitialized in this function
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/common/vmx86.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmcore/compat.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmcore/moduleloop.o
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmmon.mod.o
  LD [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.22-sabayon'
cp -f vmmon.ko ./../vmmon.o
 * Preparing vmnet module
Using 2.6.x kernel build system.
make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22-sabayon'
make[1]: предупреждение: сервер задач недоступен: используется -j1.
Добавьте `+' к правилу в родительском make.
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/driver.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/hub.o
  CC [M]  /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.o
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.c: В функции ‘VNetCopyDatagramToUser’
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.c:633: ошибка: ‘const struct sk_buff’ has no member named ‘h’
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.c:633: ошибка: ‘const struct sk_buff’ has no member named ‘nh’
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.c:639: ошибка: ‘const struct sk_buff’ has no member named ‘h’
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only/userif.o] Ошибка 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmnet-only] Ошибка 2
make[1]: *** [modules] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-sabayon'
make: *** [vmnet.ko] Ошибка 2
 *
 * ERROR: app-emulation/vmware-modules-1.0.0.15-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1328:   Called linux-mod_src_compile
 *   linux-mod.eclass, line 516:   Called die
 *
 * Unable to make   auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.22-sabayon/build.
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/temp/build.log'.
 *

Quote:
uname -a
Linux chama 2.6.22-sabayon #1 SMP Tue Jul 17 15:40:20 YEKST 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ AuthenticAMD GNU/Linux

_________________
Иногда решительный шаг вперед - результат хорошего пинка сзади!
Back to top
View user's profile Send private message
nerff
n00b
n00b


Joined: 20 Feb 2005
Posts: 50
Location: Novosibirsk

PostPosted: Wed Jul 25, 2007 3:22 pm    Post subject: Reply with quote

на 2.6.22 и не соберется. надо искать патч - тут пролетала ссылка на репозиторий патчей к vmware. а самому хачить - дело нудное, я несколько дней потратил на портирование adp94xx, но это по работе надо было, иначе фиг бы взялся
Back to top
View user's profile Send private message
Mr_An
n00b
n00b


Joined: 28 May 2007
Posts: 2
Location: Seversk

PostPosted: Fri Jul 27, 2007 4:35 am    Post subject: Reply with quote

решение находится здесь - https://bugs.gentoo.org/show_bug.cgi?id=182595
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum