Wireshark mailing list archives

Re: Keep getting "unresolved external symbol" error when trying to use "summary_fill_in"


From: Richard Turner <turner () yiran org>
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 <alexis.lagoutte () gmail com> 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).

___________________________________________________________________________
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


Current thread: