ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] problem building Ethereal on Win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Blair Cooper <blair@xxxxxxxxxx>
Date: Mon, 11 Aug 2003 16:10:40 -0700 (PDT)
I have checked out Ethereal from CVS and am having a problem building the 
plugins folder. I getting the following error, followed by a pile of errors 
because glib.h wasn't found.

        gcc -aux-info xyzzy -DHAVE_CONFIG_H -IC:\ethereal-win32-libs\glib 
-I.. -c plugin_api_list.c
In file included from ../epan/packet.h:28,
                 from plugin_api_list.c:29:
../wiretap/wtap.h:34:18: glib.h: No such file or directory
In file included from ../epan/packet.h:28,
                 from plugin_api_list.c:29:
 

I have worked around the problem for now by changing the gcc command in the 
makefile.nmake file to read:

	gcc -aux-info xyzzy -DHAVE_CONFIG_H 
-I$(GLIB_DIR)\include\glib-$(GLIB_VERSION) 
-I$(GLIB_DIR)\lib\glib-$(GLIB_VERSION)\include -I.. -c 

instead of:

	gcc -aux-info xyzzy -DHAVE_CONFIG_H -I$(GLIB_DIR) -I.. -c 
plugin_api_list.c


However, this does not take into account the various GLIB/GTK+ versions.

Blair Cooper