Ethereal-users: RE: [Ethereal-users] I cannot compile ethereal ethereal-0.9.14 onWin32

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

From: "Pierre Pacchioni" <pierre.pacchioni@xxxxxxxxxx>
Date: Fri, 15 Aug 2003 14:14:19 +0200
Thanks.
I still have undefined symbols.
Linking ethereal.exe
        link @C:\DOCUME~1\pacchion\LOCALS~1\Temp\nma00532.
capture-wpcap.obj : error LNK2001: unresolved external symbol
_g_module_symbol
xmlstub.obj : error LNK2001: unresolved external symbol _g_module_symbol
ethereal.lib(plugins.obj) : error LNK2001: unresolved external symbol
_g_module_symbol
capture-wpcap.obj : error LNK2001: unresolved external symbol _g_module_open
xmlstub.obj : error LNK2001: unresolved external symbol _g_module_open
ethereal.lib(plugins.obj) : error LNK2001: unresolved external symbol
_g_module_open
xmlstub.obj : error LNK2001: unresolved external symbol _g_module_close
ethereal.lib(plugins.obj) : error LNK2001: unresolved external symbol
_g_module_close
xmlstub.obj : error LNK2001: unresolved external symbol _g_module_supported
ethereal.lib(plugins.obj) : error LNK2001: unresolved external symbol
_g_module_error
ethereal.exe : fatal error LNK1120: 5 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

I installed GLIB 2.0 and GTK 1.3 since I cannot find a binary version of
GLIB 1.2.x
I guess that the pb comes from that. At the moment also I removed SNMP since
with net-snmp or ucd-snmp I got some errors.
So I will continue a bit on that next week ...
Cheers,
Pierre.

-----Original Message-----
From: ethereal-users-bounces@xxxxxxxxxxxx
[mailto:ethereal-users-bounces@xxxxxxxxxxxx]On Behalf Of Loïc Minier
Sent: jeudi 14 août 2003 19:13
To: ethereal-users@xxxxxxxxxxxx
Subject: Re: [Ethereal-users] I cannot compile ethereal ethereal-0.9.14
onWin32


Pierre Pacchioni <pierre.pacchioni@xxxxxxxxxx> - Thu, Aug 14, 2003:

> Any hint?

 Since these are mostly GLIB functions, I guess your glib is not set
 correctly. You have to unzip glib-dev and gtk-dev to a directory, and
 define it in the config.nmake.

 Extract of my config.nmake:

    GTK_VERSION=2.0
    GLIB_VERSION=2.0
    GLIB_DIR=C:\ethereal-win32-libs\glib
    GTK_DIR=C:\ethereal-win32-libs\gtk2

 You need to unzip the gtk and glib (non -dev) DLL to the directory you
 want to put ethereal.exe, tethereal.exe, etc. or in your PATH (I change
 my PATH to add C:\DLL\GTK-GLIB and put them in there).


 I did not manage to build the GTK parts (they are crashing at runtime)
 with GTK2, and I could not build at all with GTK1.3, but I didn't
 care. If you do, I'd be interested in your findings.



> I used the Win32 binary version of ethereal and it works very well but I'm
a
> bit surprised on how it's difficult to generate this exe.

 Life is too hard.   ;)


--
Loïc Minier <lool@xxxxxxxx>

_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users