Saadia Fatima wrote: > Hi > > I have been using dtrace script to monitor WiFi frames. For some reason, when > I run the script I get the following error: > > dtrace: failed on compile script....line 56: operator -> can not be applied > to a forward declaration: no struct ieee80211_frame definition is avaiable. > > And this is happening in all the scripts that use this structure. They were > running fine previously. I had a few system freeze-reboot cycles in between > though. > > How can I resolve this issue and run them again.
That structure isn't normally a packaged part of the system. It's in $SRC/uts/common/sys/net80211_proto.h, which I suppose you could copy from the source tree to any place you want. Or you could try contacting the folks who maintain that file (laptop-disc...@opensolaris.org would be a good choice) and see why it's not normally delivered and whether you could get it to be included. Most likely, your D script depends on an implementation artifact, and this is an early warning that the underlying code you're trying to use may change incompatibly without warning. -- James Carlson 42.703N 71.076W <carls...@workingcode.com> _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org