Ethereal-dev: [Ethereal-dev] Problems compliing ethereal on Windows NT wiretap, DLL not found

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

Date Next Thread Next
From: Eddie Luc <eddie@xxxxxxxxxxxxxxxxxx>
Date: Mon, 01 Jul 2002 16:22:55 +1000
Hi all,

    Hope somebody can help.

    I'm providing more details about the problem I'm having with
building ethereal 9.4  on Windows NT.

    I've downloaded the following:

zlib-114-dev.zip
gtk+-dev-20001226.zip
extralibs-dev-20000722.zip
WPdpack_2_3.zip

from http://www.ethereal.com/distribution/win32/development

I also installed cygwin.

>>>>
    The PROBLEM I'm getting is when I compile on Windows NT, when I run

nmake -f makefile.nmake

is that cl.exe issues a prompt saying

    "cl.exe - Unable to locate DLL"

but it doesn't give me any other details, ie te DLL that is missing.

This occurs in the  directory wiretap.

I've seen the following message.

    http://www.ethereal.com/lists/ethereal-dev/200206/msg00240.html

    so does that mean ethereal version 9.4 can not compile on Windows
NT.


Anyway I think my problem is a PATH setting or environment setting one.
But I've tried everything I could think of.

My config.nmake looks like this

>>> START
# To be compiled on DemoNT a\or any machine which contains
# nmake and cygwin.
#
VERSION=0.9.4
RC_VERSION=0.9.4
WTAP_VERSION=0.0

GTK_VERSION=1.3
GLIB_VERSION=1.3

# GLIB_DIR=C:\ethereal-win32-libs\glib
# GTK_DIR=C:\ethereal-win32-libs\gtk+
# ZLIB_DIR=C:\ethereal-win32-libs\zlib-1.1.3
# PCAP_DIR=C:\ethereal-win32-libs\WPdpack

GLIB_DIR=I:\dev\src\gtk\ethereal-lib-9.4\src\glib
GTK_DIR=I:\dev\src\gtk\ethereal-lib-9.4\src\gtk+
ZLIB_DIR=I:\dev\src\gtk\ethereal-lib-9.4\src\zlib-114
PCAP_DIR=I:\dev\src\gtk\ethereal-lib-9.4\WPdpack


LOCAL_CFLAGS=-Zi
LOCAL_LDFLAGS=/DEBUG

# Set PDB_FILE according to your VC++ version
PDB_FILE=vc*.pdb

# Set path if you need to find some binary
#PATH=c:\cygnus\cygwin-b20\H-i586-cygwin32\bin;c:\python22;c:\ethereal\wiretap;c:\program
#files\common files\gnu;$(PATH)
PATH="D:\Program Files"\cygwin"; \
   "D:\Program Files"\cygwin\bin"; \
   "D:\Program Files\python22"; \
   "I:\dev\src\ethereal\ethereal-0.9.4\wiretap"; \
   "C:\WINNT\SYSTEM32"; \
   "C:\Program Files\Microsoft Visual Studio\VC98\Bin"; \
   "C:\Program Files\Microsoft Visual Studio\VC98\Include"; \
   "C:\Program Files\Microsoft Visual Studio\VC98\Lib" \
   "D:\dev\src\tmpwindows\Include"; \
   "C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin" \
   $(GLIB_DIR) $(GTK_DIR)  $(ZLIB_DIR) $(PCAP_DIR) \
   "c:\program files\common files\gnu";$(PATH)

PERL=perl
POD2MAN=pod2man
POD2HTML=pod2html
PYTHON="D:\Program Files\python22\python.exe"
LEX=flex
YACC=bison

# Set YACC_OPTS if cygnus bison can't find template file.
#YACC_OPTS=-S t:\w32-ix86\cygnus\cygwin-b20\share\bison.simple

# To build the installer
MAKENSIS="C:/program files/nsis/makensis.exe"

>>>> END

What is makensis.exe anyway and where do I get it?


        Thanks in advance.

--
cheers
Eddie Luc