Ethereal-users: Re: [Ethereal-users] NMAKE: unresolved external symbol __alloca

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 5 Mar 2002 15:55:46 -0800
On Fri, Mar 01, 2002 at 05:58:10PM +0300, Corpse wrote:
> Compiler succeeds, but Linker fails with the following error:
> 
>         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.0.dll  /IMPLIB:wiretap-0.0.lib  ascend-grammar.obj  ascend-scanner.obj  ascend.obj buffer.obj  csids.obj  etherpeek.obj  file.obj  file_wrappers.obj  i4btrace.obj  iptrace.obj  lanaly zer.obj  libpcap.obj  netmon.obj  nettl.obj  netxray.obj  ngsniffer.obj  radcom.obj  pppdump.obj  snoop.obj  toshiba.obj  wtap.obj D:\Tools\src\glib\glib-1.3.lib  D:\Tools\src\zlib-1.1.3\zlib.lib
>    Creating library wiretap-0.0.lib and object wiretap-0.0.exp
> zlib.lib(gzio.o) : error LNK2001: unresolved external symbol __alloca

	...

> Did anyone confront with such difficulties?

I didn't, but then I've never tried building Ethereal with zlib on
Windows.

You may be the first one to do so, in which case you get the privilege
of debugging it. :-)