Ethereal-dev: Re: [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.

Date: Mon, 11 Jul 2005 16:23:04 -0300
Charlie,

Thanks,
Can I add it on the makefile.nmake file?
or you see another way to do it

Marcelo


Charlie Lenahan escreveu:

The "MessageBoxA" function  is the ansi version of the win32 function
MessageBox. Which comes from user32.lib.

Try adding that your link command.


On Jul 10, 2005, at 7:49 PM, Marcello Fernandes wrote:

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.

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


airTight Security and Management

Charlie Lenahan Software Engineer | clenahan@xxxxxxxxxxxxxxxx | P.  813
288 7388 x121  | F. 813 288 7389
 Fortress Technologies   |  4025 Tampa Road, Suite 1111  | Oldsmar,  FL
34677