VMware3 under 5.0

Remington L. madriax at garlic.com
Fri May 9 22:39:06 PDT 2003


I am trying to get VMware3 working under 5.0 but its plagued with problems.
I downloaded the uncommitted kernel patch and ran patch <
linux.shm.patch-cvs-freebsd5-20030329 and did a make buildkernel but I got:
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstric
t-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fforma
t-extensions -ansi -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev
-I/us
r/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL
-include
opt_global.h -fno-common  -mno-align-long-strings
-mpreferred-stack-boundary=2 -
ffreestanding -Werror  /usr/src/sys/kern/sysv_shm.c
/usr/src/sys/kern/sysv_shm.c: In function `shm_find_segment_by_shmid':
/usr/src/sys/kern/sysv_shm.c:169: number of arguments doesn't match
prototype
/usr/src/sys/kern/sysv_shm.c:98: prototype declaration
/usr/src/sys/kern/sysv_shm.c: At top level:
/usr/src/sys/kern/sysv_shm.c:186: conflicting types for
`shm_find_segment_by_shm
idx'
/usr/src/sys/kern/sysv_shm.c:99: previous declaration of
`shm_find_segment_by_sh
midx'
/usr/src/sys/kern/sysv_shm.c: In function `shmat1':
/usr/src/sys/kern/sysv_shm.c:327: too many arguments to function
`shm_find_segme
nt_by_shmid'

I would greatly appreciate it if someone can give me an exact procedure on
how to get it running.

I attempted to do it without any patching, it installed fine, but on reboot
vmware.sh caused a problem where I lost my console




More information about the freebsd-questions mailing list