Ethereal-users: [Ethereal-users] Compiling with MingW

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

From: "Gisle Vanem" <giva@xxxxxxxxx>
Date: Tue, 12 Aug 2003 19:49:25 +0200
I have successfully built dftest, editcap and tethereal using
MingW and gcc 3.3.1, but got stuck at ethereal (v 0.9.12):

A GTK+ dialog comes up saying: 

"Gtk_ERROR **: Incompatible build - The code using GTK+ 
thinks GtkWindows is of different size than it actually is in this 
build of GTK+. On Windows, this probably means that you have 
compiled your code with gcc without the -fnative-struct switch.
aborting..."

As gcc 3.x doesn't have that switch I tried "-mms-bitfields",
but that gave the same result.

I think I have all required .dll and import libraries. Some of the vital
ones:

>filever "\MingW32\src\gtk+\gtk\gtk-1.3.dll"
--a-- W32i   DLL ENU        1.3.0.50 shp  1,439,618 12-16-2000 gtk-1.3.dll

>filever "\MingW32\src\gtk+\gdk\gdk-1.3.dll"
--a-- W32i   DLL ENU       1.3.0.118 shp    431,313 12-26-2000 gdk-1.3.dll

What am I missing?

--gv