Ethereal-dev: RE: [Ethereal-dev] Problem in Building Ethereal usingmsvc-DetailedDescription

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

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 23 May 2006 13:10:31 +0100
There appears to something broken with your MSVC installation as the paths look OK, but it can't find the most basic include files.  As a final check try CDing to tools\lemon and issuing the following command:
 
cl -D_U_"" /Zi /W3 lemon.c
 
This should run the compiler directly.
 
GB
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Raman Singla
Sent: 23 May 2006 12:39
To: Ethereal development
Subject: Re: [Ethereal-dev] Problem in Building Ethereal usingmsvc-DetailedDescription

My VC++ is in following path & i m using MSVC SP6.
C:\Apps_32\Microsoft Visual Studio\VC98
 
 
SET :
C:\ethereal-0.10.14>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\ing04196\Application Data
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=INGBTCPIC6DT164
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\ing04196
INCLUDE=C:\Apps_32\MICROS~2\VC98\ATL\INCLUDE;C:\Apps_32\MICROS~2\VC98\INCLUDE;C:
\Apps_32\MICROS~2\VC98\MFC\INCLUDE;
LIB=C:\Apps_32\MICROS~2\VC98\LIB;C:\Apps_32\MICROS~2\VC98\MFC\LIB;
LOGONSERVER=\\INGBTCPIC1DC001
MSDevDir=C:\Apps_32\MICROS~2\Common\msdev98
MSVCDir=C:\Apps_32\MICROS~2\VC98
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\Apps_32\MICROS~2\Common\msdev98\BIN;C:\Apps_32\MICROS~2\VC98\BIN;C:\Apps
_32\MICROS~2\Common\TOOLS\WINNT;C:\Apps_32\MICROS~2\Common\TOOLS;C:\Apps_32\Micr
osoft Visual Studio\Common\Tools\WinNT;C:\Apps_32\Microsoft Visual Studio\Common
\MSDev98\Bin;C:\Apps_32\Microsoft Visual Studio\Common\Tools;C:\Apps_32\Microsof
t Visual Studio\VC98\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
;C:\Apps_32\Microsoft Visual Studio\VC98\include;"c:\Apps_32\Microsoft Visual St
udio\VC98\Lib"
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0304
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ing04196\LOCALS~1\Temp
TMP=C:\DOCUME~1\ing04196\LOCALS~1\Temp
USERDNSDOMAIN=CODE1.EMI.PHILIPS.COM
USERDOMAIN=CODE1
USERNAME=ing04196
USERPROFILE=C:\Documents and Settings\ing04196
windir=C:\WINDOWS
 
 
regards,
raman
----- Original Message -----
Sent: 2006 May 23 4:57 PM
Subject: RE: [Ethereal-dev] Problem in Building Ethereal using msvc-DetailedDescription

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>
 
This is almost certainly an environment problem on your machine.  Are you sure you have run vcvars32.bat in the cmd window BEFORE running nmake?
 
What is your OS?  Can you post the output of "set" after your nmake has failed?
 
Regards,
 
Graham Bloice 
 
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev