Hi,
which platform and compiler do you use?
Based on gcc usage it seems you use any non-Windows platform as gcc is
not supported for Wireshark build on Windows.
But from __attribute__((dllexport)) it seems you use Windows platform.
Tomas
> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Gisle Vanem
> Sent: Wednesday, December 12, 2007 1:30 PM
> To: wireshark-dev
> Subject: [Wireshark-dev] Build failure of easy_codec
>
> This plugin requires a C++ compiler because the ImTelephone folks
> built the libs using a C++ compiler. How stupid is that? But then
> "gcc -x c++" bails out with an error:
>
> plugins/easy_codec/easy_codec_plugin.c:38: error: external
> linkage required for
> symbol 'version' be cause of 'dllexport' attribute.
>
> Line 38 becomes (after the cpp stage):
>
> __attribute__((dllexport)) const gchar version[] = "0.0.1";
>
> I have no idea what the problem is. Anyone?
>
> --gv
> _______________________________________________
> Wireshark-dev mailing list
> Wireshark-dev@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>