From owner-freebsd-ports@FreeBSD.ORG Fri Feb 25 16:43:12 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EC1816A4CE for ; Fri, 25 Feb 2005 16:43:12 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDAB043D4C for ; Fri, 25 Feb 2005 16:43:11 +0000 (GMT) (envelope-from vladimir@math.uic.edu) Received: from cat.math.uic.edu (c-24-12-126-199.client.comcast.net[24.12.126.199]) by comcast.net (sccrmhc12) with SMTP id <2005022516430901200rrlgie>; Fri, 25 Feb 2005 16:43:10 +0000 Received: (qmail 4979 invoked by uid 31415); 25 Feb 2005 16:43:09 -0000 Message-ID: <20050225164309.4978.qmail@cat.math.uic.edu> From: vladimir@math.uic.edu Date: Fri, 25 Feb 2005 10:43:09 -0600 To: freebsd-ports@freebsd.org User-Agent: nail 11.20 1/13/05 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: compiling vmware3 on recent current X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 16:43:12 -0000 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