Ethereal-dev: Re: [Ethereal-dev] Win32: Linker problems

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

From: Andy Schweitzer <a_schweitzer@xxxxxxxxx>
Date: Sun, 24 Apr 2005 11:20:32 -0700 (PDT)
Klaus Woersdoerfer wrote that was having linker
problems of the flavor:

"libpcap.obj : error LNK2001: unresolved external
symbol __imp___errno" 
...etc...

These were fixed for me by modifying config.nmake as
specified by this  awesome web site:
http://wiki.ethereal.com/Development_2fMSVC7

It says: "You may also encounter linking problems
caused by "bad" parameters in config.nmake.

I replaced:

    * LOCAL_CFLAGS=/Zi /W3 with LOCAL_CFLAGS= /Zi
/DWIN32 /W3
    * LOCAL_LDFLAGS=/DEBUG with LOCAL_LDFLAGS=/DEBUG
/DEFAULTLIB:msvcrt /NODEFAULTLIB:libc"

My errors went away after I did that. 

Sorry, silly me, I'm not sure I'm replying correctly
to  Klaus... I don't see how to use the list other
than e-mailing with appropriate subject. 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com