Ethereal-dev: [Ethereal-dev] Problems compiling 0.9.5 with VC++ 6

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

Date: Thu, 4 Jul 2002 17:05:33 +0200
Hi,

I can compile 0.9.3 on VC++, want to try 0.9.5. Copied 
the settings from one config.nmake to another, ran 
cleanbld.bat, ran vcvars32.bat, ran nmake -f Makefile.nmake 
and I get the following error:

        ..\..\tools\lemon\lemon.exe t=..\..\tools\lemon\lempar.c 
grammar.lemon
        cl -DWIN32 -DNULL=0 -D_MT -D_DLL -DHAVE_CONFIG_H /I. /I.. /I..\.. 
/I..\..\tools\lemon  /IC:\
d\ethereal\gtk+-dev\src\glib /IC:\d\ethereal\gtk+-dev\src\gtk+ 
/IC:\d\ethereal\gtk+-dev\src\glib\gmo
dule  /IC:\d\ethereal\gtk+-dev\src\gtk+\gdk 
/IC:\d\ethereal\gtk+-dev\src\gtk+\gdk\win32  /IC:\d\ethe
real\WPdpack\include -D_U_="" -Zi -Fd.\ -c dfilter.c dfvm.c drange.c 
gencode.c glib-util.c grammar.c
 scanner.c semcheck.c sttype-integer.c sttype-pointer.c sttype-range.c 
sttype-string.c sttype-test.c
 syntax-tree.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 
80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

dfilter.c
dfvm.c
drange.c
gencode.c
glib-util.c
grammar.c
scanner.c
scanner.c(1512) : error C4013: 'isatty' undefined; assuming extern 
returning int
semcheck.c
sttype-integer.c
sttype-pointer.c
sttype-range.c
sttype-string.c
sttype-test.c
syntax-tree.c
Generating Code...
grammar.c(1208) : warning C4761: integral size mismatch in argument; 
conversion supplied
grammar.c(1219) : warning C4761: integral size mismatch in argument; 
conversion supplied
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : 
return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' : 
return code '0x2'
Stop.

I tried a couple of times, error on scanner.c can also be 
"Can not find file 'unistd.h'"

Does anyone have success with VC++ (well, there is a win32 
binary on the site so....)

HELP! ;-)

-- 
Andreas Sikkema
andreas.sikkema@xxxxxxxxxxx
"While you're waiting, read the free novel we sent you. 
 It's a Spanish story about a guy named `Manual'" - Dilbert