Wireshark-bugs: [Wireshark-bugs] [Bug 2075] Force adns rebuild for msvcrt compatibility

Date: Sun, 13 Apr 2008 14:42:47 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2075


Ulf Lamping <ulf.lamping@xxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ulf.lamping@xxxxxx
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #7 from Ulf Lamping <ulf.lamping@xxxxxx>  2008-04-13 14:42:40 GMT ---
I've checked in a similar solution in SVN 25000.

There were some problems:
a) dll not easily recompilable on msvc6, as it needs iphlpapi.h (which is not
available on default installations) - the zlib solution to replace dlls "in
place" doesn't work here well
Solution: use compiler specific dirs, e.g. 
"C:\wireshark-win32-libs\MSVC2005EE\adns" and build into that dirs (simple copy
operation for MSVC6)

b) dependency file adns_dll.rep contains garbage paths "...programfiler...".
This file is rebuild with the same garbage if it's not there (don't know how to
prevent this)
Solution: I've checked in a patched version of this file, that doesn't contain
the problematic paths, it's copied into temp dir right before the build

c) rc file adns_dll.rc contains afxres.h and other problematic stuff 
Solution: I've checked in a patched version of this file, that doesn't contain
the problematic stuff, it's copied into temp dir right before the build


I'll close this report. If there are further problems, reopen this report.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.