Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] ethereal 0.10.2 build failure on win32

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

From: "Jerry Vanholst" <vanholst@xxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Mar 2004 17:04:15 -0500
Hello,
I'm looking for some help building ethereal 0.10.2 on win2k using microsoft vc 5.0.
Currently it dies trying to build the wiretap dll.
Here's the error I get from the linker:

Generating Code...
link /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO -entry:_DllMainCRTStartup@12 -dll msvcrt.lib oldnames.lib kernel32.lib ws2_32.lib mswsock.lib advapi32.lib /DEBUG /DEF:wtap.def /OUT:wiretap-0.1.dll /IMPLIB:wiretap-0.1.lib airopeek9.obj ascend-grammar.obj ascend-scanner.obj ascend.obj atm.obj buffer.obj cosine.obj csids.obj dbs-etherwatch.obj erf.obj etherpeek.obj file_access.obj file_wrappers.obj hcidump.obj i4btrace.obj iptrace.obj lanalyzer.obj libpcap.obj netmon.obj nettl.obj network_instruments.obj netxray.obj ngsniffer.obj radcom.obj pppdump.obj snoop.obj toshiba.obj eyesdn.obj visual.obj vms.obj wtap.obj 5views.obj D:\proj\glib-2.2.3\lib\glib-2.0.lib D:\proj\glib-2.2.3\lib\gmodule-2.0.lib D:\proj\glib-2.2.3\lib\gobject-2.0.lib D:\proj\zlib-1.2.1\lib\zdll.lib

D:\proj\glib-2.2.3\lib\glib-2.0.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x400a4f48
NMAKE : fatal error U1077: 'link' : return code '0xc'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\DevStudio\VC\BIN\NMAKE.EXE"' : return code '0x2'
Stop.

Since my disk is not full,
I'm guessing there is something about the glib-2.0.lib file that the vc 5.0 linker does not like.
I also get an error if I try to list the library as follows:

lib/list D:\proj\glib-2.2.3\lib\glib-2.0.lib

I get an dialog error box: link.exe - illegal system dll relocation,
The system dll user32.dll was relocated in memory.......

I had the same problem building ethereal-0.9.16, but got around it by switching back to glib 1.3. (Looks like that is not supported anymore in 0.10.2, at least not in config.nmake).

Any ideas, help is much is appreicated.
jvh