I have created two plugins and I need to share a value_string array between 
them.

In plug1.h I have defined

extern const value_string share_data_vals[];

In plug1.c there is the definition:

extern const value_string share-data_vals[] { etc....}

In plug2.h there is:

#include ../plug1/plug1.h

I have added in plug2/Makefile.nmake:

LINK_PLUGIN_WITH= (Standard Stuff) ../plug1/plug1.lib

When complied with VC2008EE, the result is a LNK2001 message - unresolved 
external symbol.

What am I missing?  This works great under Linux with the necessary changes to 
Makefile.am

I don't wish/need to link with libwireshark.

Thanks.
Alex Lindberg



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

Reply via email to