ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: RE: [Ethereal-dev] Problem in Building Ethereal using msvc- DetailedDescription

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

From: "Bill Florac" <bill.florac@xxxxxxxxxxxxxx>
Date: Tue, 23 May 2006 21:45:34 -0500
Title: Message
Raman,
 
I it looks like you have a path problem however, I'm not sure where to tell you to fix it. 
 
If installed "normally" you should have the following
 
Cygwin installed in c:\cygwin
Libs get installed in c:\ethereal-win32-libs
VB6 installed in C:\Program Files\Microsoft Visual Studio\VC98 (I have the same version of nmake you have)
The missing include file in your error is located in C:\Program Files\Microsoft Visual Studio\VC98\Include\
I don't think it matters where the source is but you should shell out and start nmake from the folder that contains the nmake.makefile you want to use.
 
 
I use SlickEdit for my editor and compile with the following batch file (for compiling the plug-in DLL.
 
@echo off
call VCVARS32.BAT
echo Make...
nmake -f Makefile.nmake
echo.
if not errorlevel 1 goto pass1
echo ********************************************************************************
goto done
:pass1
echo Make OK
echo Copy...
copy /y mydll.dll ..\1.1.0\mydll.dll > nul
if not errorlevel 1 goto pass2
echo ********************************************************************************
goto done
:pass2
echo Copy OK
:done
rem pause
 
I use VCVARS32.BAT should look like this
 
@echo off
rem Root of Visual Developer Studio Common files.
set VSCommonDir=C:\PROGRA~1\MICROS~3\Common
rem Root of Visual Developer Studio installed files.
set MSDevDir=C:\PROGRA~1\MICROS~3\Common\msdev98
rem Root of Visual C++ installed files.
set MSVCDir=C:\PROGRA~1\MICROS~3\VC98
rem VcOsDir is used to help create either a Windows 95 or Windows NT specific path.
set VcOsDir=WIN95
if "%OS%" == "Windows_NT" set VcOsDir=WINNT
echo Setting environment for using Microsoft Visual C++ tools.
if "%OS%" == "Windows_NT" set PATH=%MSDevDir%\BIN;%MSVCDir%\BIN;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH%
if "%OS%" == "" set PATH="%MSDevDir%\BIN";"%MSVCDir%\BIN";"%VSCommonDir%\TOOLS\%VcOsDir%";"%VSCommonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%"
set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLUDE%
set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB%
set VcOsDir=
set VSCommonDir=
 
I hope this helps...
Bill
 
 
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Raman Singla
Sent: Tuesday, May 23, 2006 6:11 AM
To: Ethereal development
Subject: [Ethereal-dev] Problem in Building Ethereal using msvc- DetailedDescription

Hi all,
 
I am trying to build Ethereal using VC++ SP6.
 
I have installed cygwin., vc++, environment variables are set.
 
nmake -f makefile.nmake distclean --------> successfully done
nmake -f make.nmake verify_tools ----------> successfully done
 
nmake -f make.nmake setup
 
Here there was problem with My proxy setting so i downloaded all the required library into specified directories by make.nmake & config.nmake.
so in a way this step is also successfully done.
 
Problem :
 
nmake -f makefile.nmake
 
when i do this there is a error
 
C:\ETHERE~1.14>nmake -f Makefile.nmake all
 
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 
        cd tools
        NMAKE /                   -f Makefile.nmake
 
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 
        cd lemon
        NMAKE /                   -f Makefile.nmake
 
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
 
        cl -D_U_="" /Zi /W3 lemon.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
 
lemon.c
lemon.c(30) : fatal error C1083: Cannot open include file: 'stdio.h': No such fi
le or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Apps_32\Microsoft Visual Studio\VC98\bin\NMAKE.E
XE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Apps_32\Microsoft Visual Studio\VC98\bin\NMAKE.E
XE"' : return code '0x2'
Stop.
 
C:\ETHERE~1.14>
 
 
Kindly, let me know if u know the solution.
 
regards,
Raman
Ext - 1667
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev