I am trying to update a custom plugin from Ethereal 0.10.14 to Wireshark 1.4.9. I am following the README.plugins file to do the update. This is for a Win32 application, and I am using MSVC2008 as recommended. I get the following error when compiling my plugin source:
I had used the following command sequences:
Is glib obselete? If not, why is it not found or created? How do I resolve this issue? asked 14 Oct '11, 08:52 lanb edited 14 Oct '11, 13:50 helloworld |
2 Answers:
Check your Makefile.nmake for your plugin. Sets up the search path for the glib include file, through GLIB_FLAGS imported from config.nmake answered 15 Oct '11, 02:35 Jaap ♦ |
Does a "nmake -f Makefile.nmake setup" do the trick? ("clean_setup" deletes the old setup, but you need to explicitly recreate the setup stuff.) answered 14 Oct '11, 10:59 JeffMorriss ♦ |
It did not format well and I see I forgot the setup on the post, but I did the following:
nmake -f Makefile.nmake clean_setup
nmake -f Makefile.nmake setup
nmake -f Makefile.nmake all
So yes I did to an nmake ... setup after the clean_setup but do not see the glib directory being created in the libs directory.
For current Wireshark gtk/glib Win2 libraries, glib.h is in the following directory
[...]\win32-libs\gtk2\include\glib-2.0
There will not be a glib directory directly in the libs directory. (ISTR that the whole gtk2/glib directory structure changed at some point).
When you do the 'nmake all' do the Wireshark source files compile OK ? If yes then the library setup is not the problem.
Perhaps we might be able to help if you post the make output of the compile command for your plugin
E.G.,
cl /D_NEED_VAR_IMPORT_ -WX -DHAVE_CONFIG_H -D_U_="" /Zi /W3 /MD ....