Ethereal-dev: [Ethereal-dev] RES: HELP on Compiling Ethereal on WindowsXP

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

From: "Marcello Fernandes" <marferna@xxxxxxxxxxxx>
Date: Sun, 10 Jul 2005 20:49:45 -0300

Why nobody answer this email?????

I tried to find on wiki for the same Unresolved external “__imp__MessageBoxA@16”

problem and I could found only one question but it was never replayed so I think this problem is not very common and may be particular to my PC environment in WinXP

I hope this time someone can help

I’m compiling Ethereal on WindowsXP and the following error occurred when linking:

I’m stuck here. Tks

……..

snoop.c

toshiba.c

visual.c

vms.c

wtap.c

ascend-grammar.c

ascend-scanner.c

Generating Code...

        link /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO -entry:_Dl

lMainCRTStartup@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  ..\image\wiretap.res  5views.obj                 airopeek9.obj

 ascend.obj              atm.obj                         buffer.obj

 cosine.obj              csids.obj                       dbs-etherwatch.obj

 erf.obj                         etherpeek.obj              eyesdn.obj

 file_access.obj                 file_wrappers.obj               hcidump.obj

         i4btrace.obj            iptrace.obj             k12.obj

         lanalyzer.obj           libpcap.obj             netmon.obj

 nettl.obj                       network_instruments.obj         netxray.obj

         ngsniffer.obj           pppdump.obj             radcom.obj

 snoop.obj                       toshiba.obj             visual.obj

 vms.obj                         wtap.obj ascend-grammar.obj     ascend-scanner.

obj C:\ethereal-win32-libs\glib\lib\glib-2.0.lib  C:\ethereal-win32-libs\glib\li

b\gmodule-2.0.lib  C:\ethereal-win32-libs\glib\lib\gobject-2.0.lib       C:\ethe

real-win32-libs\zlib122-dll\lib\zdll.lib

LINK : warning LNK4068: /MACHINE not specified; defaulting to IX86

   Creating library wiretap-0.1.lib and object wiretap-0.1.exp

msvcrt.lib(bsku.obj) : error LNK2001: unresolved external symbol __imp__MessageB

oxA@16

wiretap-0.1.dll : fatal error LNK1120: 1 unresolved externals

NMAKE : fatal error U1077: 'link' : return code '0x460'

Stop.

NMAKE : fatal error U1077: 'C:\ARQUIV~1\MICROS~3\VC98\BIN\NMAKE.EXE' : return co

de '0x2'

Stop.