Wireshark-dev: Re: [Wireshark-dev] Keep getting "unresolved external symbol" error when trying
From: Richard Turner <[email protected]>
Date: Wed, 22 May 2013 20:28:22 +0800
Thanks all of you! Problem resolved. (By updating summary.h to latest SVN version)
Regards,
Richard Turner

On 2013/5/22 16:22, Guy Harris wrote:
On May 22, 2013, at 1:16 AM, Alexis La Goutte <[email protected]> wrote:

it is problem of linking a C Library with C++
You need to use this fix :

+/* linking C functions */
+extern "C"
+{
+#include "../summary.h"
+}
Or pick up the current top-of-trunk SVN version, wherein summary.h has the extern "C" stuff in it (it belongs there, not in code that includes summary.h).