Wireshark mailing list archives

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


From: Guy Harris <guy () alum mit edu>
Date: Wed, 22 May 2013 01:22:30 -0700


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: