From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 08:10:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 46F4F61E for ; Tue, 11 Jun 2013 08:10:04 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id C412012AE for ; Tue, 11 Jun 2013 08:10:03 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 0AA33FEBD1 for ; Tue, 11 Jun 2013 15:00:59 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= subject:subject:from:from:message-id:date:date:received:received :received; s=selector1; t=1370937658; x=1372752059; bh=LWLHotvi1 NRJKa7dAsKzzDNI/v4M46hzIXece5E2dX8=; b=Img/iLTcTf0+2EAoPPOboEZCN TCedtXxIUV2yf8a46+SxYEpRlzjEAtweqP3ScXubyg8RaMAK01vB2MVNtFjzS8HD kaJ2+CcX3IKD/hlwvnV0hattywnt0zm7secC0E/2D+FGx682YKsn9DrPTi3wNBV4 sB/4LMAtNORjuINkSk= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id DkME23ID-MdS for ; Tue, 11 Jun 2013 15:00:58 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id BFFCBFEBCF for ; Tue, 11 Jun 2013 15:00:58 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.6/8.14.6/Submit) id r5B80wsG018613; Tue, 11 Jun 2013 15:00:58 +0700 (ICT) (envelope-from on) Date: Tue, 11 Jun 2013 15:00:58 +0700 (ICT) Message-Id: <201306110800.r5B80wsG018613@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: Cannot make open-vm-tools on 9.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 08:10:04 -0000 Hi, I have a strange thin happening to me. I upgraded two machines from 8.3 to 9.1: FreeBSD sysl2.cs.ait.ac.th 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #3: Fri May 31 14:59:20 ICT 2013 root@fbsd63:/usr/obj/usr/src/sys/GENERIC i386 I did both upgrade in parallel. On the first machine, I managed to intall open-vm-tools-nox11: open-vm-tools-nox11-425873_3,1 Open VMware tools for FreeBSD VMware guests but when I try to install it on the second machine, I have a compile error (see below). Now I try to rebuild open-vm-tools on the first machine and I get the same compile error. I am at lost at what is happening and what I should try. On a side note, I noticed that /usr/include/sys/types.h and /usr/src/sys/sys/include/types.h are different; the first one appearing to be quite older (older version number). I did the system upgrade in a very standard way (cvsup, make buildworld, make kernel, make installworld, mergemaster, etc.). Why the discrepancies? Help is needed... TIA, Olivier ---- The failling compile of open-vm-tools Making all in modules make VM_UNAME=9.1-RELEASE-p3 MV=mv RM=rm OVT_SOURCE_DIR=/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873 MODULEBUILDDIR=/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/modules/freebsd -C "/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmmemctl" cc1: warnings being treated as errors In file included from @/sys/types.h:44, from @/sys/param.h:86, from /usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/lib/include/vm_basic_types.h:225, from os.c:36: ./machine/endian.h: In function '__bswap64': ./machine/endian.h:123: warning: right shift count >= width of type ./machine/endian.h:123: warning: right shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type In file included from @/sys/param.h:86, from /usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/lib/include/vm_basic_types.h:225, from os.c:36: @/sys/types.h: At top level: @/sys/types.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_rights_t' In file included from @/sys/param.h:114, from /usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/lib/include/vm_basic_types.h:225, from os.c:36: @/sys/time.h: In function 'bintime2timespec': @/sys/time.h:112: warning: right shift count >= width of type @/sys/time.h:112: warning: right shift count >= width of type @/sys/time.h: In function 'bintime2timeval': @/sys/time.h:129: warning: right shift count >= width of type @/sys/time.h:129: warning: right shift count >= width of type In file included from @/sys/systm.h:42, from os.c:38: ./machine/cpufunc.h: In function 'rdmsr': ./machine/cpufunc.h:311: warning: left shift count >= width of type ./machine/cpufunc.h: In function 'rdpmc': ./machine/cpufunc.h:320: warning: left shift count >= width of type ./machine/cpufunc.h: In function 'rdtsc': ./machine/cpufunc.h:329: warning: left shift count >= width of type ./machine/cpufunc.h: In function 'wrmsr': ./machine/cpufunc.h:350: warning: right shift count >= width of type In file included from @/sys/mutex.h:41, from @/sys/eventhandler.h:34, from @/sys/conf.h:44, from os.c:42: @/sys/pcpu.h: At top level: @/sys/pcpu.h:156: error: expected specifier-qualifier-list before 'cpumask_t' In file included from @/vm/pmap.h:89, from os.c:48: ./machine/pmap.h:247: error: expected specifier-qualifier-list before 'cpumask_t' os.c: In function 'os_balloonobject_create': os.c:416: warning: left shift count >= width of type os.c:416: warning: left shift count >= width of type os.c:416: warning: left shift count >= width of type os.c:416: warning: left shift count >= width of type *** [os.o] Error code 1 Stop in /usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmmemctl. *** [vmmemctl] Error code 1