Home page logo
/

wireshark logo Wireshark mailing list archives

Re: 回复: how to use wires hark source code?
From: Peter Wu <lekensteyn () gmail com>
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"

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]