From owner-freebsd-current@FreeBSD.ORG Wed Aug 3 22:21:49 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDCD5106564A for ; Wed, 3 Aug 2011 22:21:48 +0000 (UTC) (envelope-from aorchid@mac.com) Received: from out-66.smtp.ucla.edu (smtp-13.smtp.ucla.edu [IPv6:2607:f010:3fe:102:101c:23ff:fed0:918c]) by mx1.freebsd.org (Postfix) with ESMTP id D20518FC1C for ; Wed, 3 Aug 2011 22:21:48 +0000 (UTC) Received: from smtp-13.smtp.ucla.edu (smtp-13.smtp.ucla.edu [169.232.46.240]) by out-66.smtp.ucla.edu with ESMTP id p73MLPxD005995; Wed, 03 Aug 2011 15:21:25 -0700 Received: from mail.ucla.edu (mail.ucla.edu [169.232.48.151]) by smtp-13.smtp.ucla.edu (8.14.3/8.14.3) with ESMTP id p73MLPxD005995 for ; Wed, 3 Aug 2011 15:21:25 -0700 Received: from freeenv.localnet ([149.142.103.17]) (authenticated bits=0) by mail.ucla.edu (8.14.4/8.14.4) with ESMTP id p73MLO4V007267 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 3 Aug 2011 15:21:25 -0700 From: Aric Gregson Organization: Slow Children at Play Productions To: freebsd-current@freebsd.org Date: Wed, 3 Aug 2011 15:21:24 -0700 User-Agent: KMail/1.13.7 (FreeBSD/9.0-CURRENT; KDE/4.6.3; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201108031521.24663.aorchid@mac.com> X-Probable-Spam: no X-Spam-Hits: 0.654 X-Spam-Score: * X-Spam-Report: SPF_SOFTFAIL X-Scanned-By: smtp.ucla.edu on 169.232.46.240 Subject: Compile Question with _cpumask_t Error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2011 22:21:49 -0000 Hello, I am running 9.0-CURRENT FreeBSD amd64 from Tue Jul 18 16:18:20 PDT 2011. I am trying to compile an R-project package that is using g++45 to compile and it fails due (apparently) to an error with _cpumask_t as noted below. I have seen some discussions about this that I do not completely understand (http://lists.freebsd.org/pipermail/freebsd-current/2011-June/025092.html). Essentially, I am wondering what the work-around is for this. Thanks in advance, Aric ---------------------------- freeenv# R CMD INSTALL ./RBGL_1.29.0.tar * installing to library '/usr/local/lib/R/library' * installing source package 'RBGL' ... untarring boost include tree... ** libs g++45 -I/usr/local/lib/R/include -IboostIncl -fpic -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc45 -fno-strict-aliasing -c bbc.cpp -o bbc.o In file included from /usr/local/lib/gcc45/include/c++/backward/hash_set:60:0, from boostIncl/boost/graph/adjacency_list.hpp:25, from RBGL.hpp:26, from bbc.cpp:1: /usr/local/lib/gcc45/include/c++/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from /usr/local/lib/gcc45/gcc/x86_64-portbld-freebsd9.0/4.5.4/include- fixed/unistd.h:46:0, from /usr/local/lib/gcc45/include/c+ +//x86_64-portbld-freebsd9.0/bits/gthr-default.h:42, from /usr/local/lib/gcc45/include/c+ +//x86_64-portbld-freebsd9.0/bits/gthr.h:162, from /usr/local/lib/gcc45/include/c++/ext/atomicity.h:34, from /usr/local/lib/gcc45/include/c++/bits/ios_base.h:41, from /usr/local/lib/gcc45/include/c++/ios:43, from /usr/local/lib/gcc45/include/c++/ostream:40, from /usr/local/lib/gcc45/include/c++/iostream:40, from RBGL.hpp:7, from bbc.cpp:1: /usr/local/lib/gcc45/gcc/x86_64-portbld-freebsd9.0/4.5.4/include- fixed/sys/types.h:111:9: error: '__cpumask_t' does not name a type *** Error code 1 Stop in /tmp/Rtmpd52RCc/R.INSTALL7fb40f0b/RBGL/src. ERROR: compilation failed for package 'RBGL' * removing '/usr/local/lib/R/library/RBGL' freeenv# pkg_info | grep boost boost-jam-1.45.0 Build tool from the boost.org boost-libs-1.45.0_1 Free portable C++ libraries (without Boost.Python) boost-python-libs-1.45.0_1 Framework for interfacing Python and C++