From owner-freebsd-current@FreeBSD.ORG Thu Jun 19 03:29:51 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 830C410656AC for ; Thu, 19 Jun 2008 03:29:50 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 1610D8FC15 for ; Thu, 19 Jun 2008 03:29:49 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so329929fgb.35 for ; Wed, 18 Jun 2008 20:29:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=quMP8rargScy1AeQAZO3bAHHzSoTDWiuk9Nhq3qeCEM=; b=k9gHRvkjhCg4w6fW2AxblTwXMUfARDwYnp3Vmt8fxEUfXOkK5B9Ljh7ETCtJVxkQrQ HEKcok8dxMUOuLtvpc+Zq/Dp6pBLiiNyhl+BaaGvbtNnKIp9qzROIYu8OttSudQVRBw3 eDt1cQSYL2F2xinqoQqt7JS6BNJ7NrNcjE26A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XVAKUcc5Rs4vp5sLXRJswAXPtqVo+S7MKJLTTHBgT1dW7C9JEBnbSuhwP58hSTabCR EW9+FSQD4LKffPKdka3/0MQIszLP5Oa2sD1JPH60yGCso6rcVq9Rdn1ldAOs59w3A4RU 8XR5biQz6FspZb9mb6n0M997i+0zHkmWTTCBc= Received: by 10.86.59.18 with SMTP id h18mr1526743fga.30.1213846188634; Wed, 18 Jun 2008 20:29:48 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Wed, 18 Jun 2008 20:29:48 -0700 (PDT) Message-ID: <7d6fde3d0806182029h1a64d1f1o8689b26d7b050628@mail.gmail.com> Date: Wed, 18 Jun 2008 20:29:48 -0700 From: "Garrett Cooper" To: "Chuck Robey" , current@freebsd.org In-Reply-To: <4859CD29.9040200@telenix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4859CD29.9040200@telenix.org> Cc: Subject: Re: dtrace failure in xorg 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: Thu, 19 Jun 2008 03:29:52 -0000 On Wed, Jun 18, 2008 at 8:06 PM, Chuck Robey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I'm trying to build some software that's making use of dtrace. Actually, for my > own purposes, I'm trying to build the HEAD version of xorg. There's a error > that looks like: > > make all-am > /usr/sbin/dtrace -G -C -o dtrace-dix.o -s ../dix/Xserver.d .libs/*.o > dtrace: failed to compile script ../dix/Xserver.d: "/usr/lib/dtrace/psinfo.d", > line 37: syntax error near "uid_t" > *** Error code 1 > > Now, if this were a regular C file, this would be simplicity itself, either > looking some a define that was covering the definition of the type. or adding an > include to bring that def in, however, I haven't any experience with these .d > files. Could anybody give me either a pointer to a description of this, or > maybe give me a short description here to how they should be treated as opposed > to .c files? Chuck, Have you read this thread yet: http://www.nabble.com/X-ports-trying-to-use-dtrace-td17729926.html ? Cheers, -Garrett