Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2005 10:43:09 -0600
From:      vladimir@math.uic.edu
To:        freebsd-ports@freebsd.org
Subject:   compiling vmware3 on recent current
Message-ID:  <20050225164309.4978.qmail@cat.math.uic.edu>

next in thread | raw e-mail | index | archive | help
I am trying to install vmware3 on a recently built
-CURRENT, but compilation fails with the following error
(please see below), apparently due to -Werror compiler
flag.   Does anyone know where is this flag coming from?
It is not present in any of the files in vmware3 directory
tree.  I don't have it in /etc/make.conf.
Thanks!

cc -O2 -fno-strict-aliasing -pipe -pipe  -pipe
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include
-I/sys
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/
-DCDEV_MAJOR_=200 -DDDB -DVMX86_DEBUG -DSMP -DAPIC_IO -Werror
-D_KERNEL -DKLD_MODULE -nostdinc -I-
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/include
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/common
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/export/include
-I/sys
-I/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/
-I. -I@ -I@/contrib/altq -I@/../include -I/usr/include
-finline-limit=8000 -fno-common  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions
-std=c99 -c
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/hostif.c
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/hostif.c:
In function `HostIF_InitFP':
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/hostif.c:322:
warning: comparison is always true due to limited range of
data type
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/hostif.c:322:
warning: comparison is always true due to limited range of
data type
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/hostif.c:946:2:
#warning XXX SMP support is BROKEN and module will not load.
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/hostif.c:980:2:
#warning XXX SMP support is BROKEN and module will not load.
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/hostif.c:
In function `KernelAddr_Get':
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/hostif.c:1078:
warning: return makes integer from pointer without a cast ***
Error code 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050225164309.4978.qmail>