Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2010 14:22:09 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        Nikolay Denev <ndenev@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: dtrace problem?
Message-ID:  <20100521142209.0000179b@unknown>
In-Reply-To: <20100521085150.GA42504@icarus.home.lan>
References:  <20100521060306.GA37722@blazingdot.com> <C221534F-31B7-4D07-B937-D2A13754D25A@gmail.com> <20100521085150.GA42504@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 May 2010 01:51:51 -0700 Jeremy Chadwick
<freebsd@jdc.parodius.com> wrote:

> On Fri, May 21, 2010 at 09:22:17AM +0300, Nikolay Denev wrote:
> > On May 21, 2010, at 9:03 AM, Marcus Reid wrote:
> > 
> > > Hi,
> > > 
> > > Running a recent RELENG_8 (FreeBSD 8.1-PRERELEASE #0: Tue May 18
> > > 23:37:37 PDT 2010), I'm having a problem using dtrace.  For
> > > every .d file I attempt to compile, I get:
> > > 
> > >  dtrace: failed to compile script test.d:
> > > "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t"
> > > 
> > > This is my first attempt to use dtrace, so I can't be sure if it
> > > worked before.  It happens with some scripts that can be assumed
> > > to be valid, so it's not just me.  Is it broken for anyone else?
> > > 
> > > Thanks,
> > > 
> > > Marcus
> > 
> > Hi,
> > 
> > Have you rebuilt your kernel as described here :
> > http://wiki.freebsd.org/DTrace
> > 
> > I was once getting "uid_t" errors when my kernel was not compiled
> > with "WITH_CTF" option.
> 
> Also be aware that building with WITH_CTF can/will break buildworld:

For buildworld: yes
For building just the kernel: no

Bye,
Alexander.



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