Wireshark-dev: Re: [Wireshark-dev] 回复: how to use wireshark source code?
From: Peter Wu <lekensteyn@xxxxxxxxx>
Date: Thu, 27 Mar 2014 10:40:14 +0100
(re-adding list in reply)

Please do not top-post.

On Thursday 27 March 2014 17:34:38 我想不无聊 wrote:
> it still occurs to me this error:
> 
> 
> packet-ieee80211.c:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
> 
> what is going on?

You really need to show more details, like source code and the context
of that error (i.e. some lines before and after this error).

Kind regards,
Peter

> 
> ------------------ 原始邮件 ------------------
> [..]
> > packet-ieee80211.c:94:30: error: ../../peformance.h: No such file or directory
> 
> This is a clear hint.
> 
> > packet-ieee80211.c:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pef_test'
> > packet-ieee80211.c:150: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> > packet-ieee80211.c:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
> 
> The top-level directory is already in the headers search path. Just drop the
> ../..:
> 
>    #include "performance.h"