#1 build on win32 fails

open
nobody
5
2006-06-19
2006-06-19
Bala
No

Hi,

followed the instructions in INSTALL.w32 but nmake
fails as below:-

C:\ssldump-0.9b3>nmake /f win32\vcwin32.mak all CFG="debug"

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

OpenSSL support defaulting to "no".
if not exist ".\out32/" mkdir ".\out32"
cl.exe /nologo /W3 -I.\base -I.\common\include
-I.\common\lib -I.\null -I.\ssl -I.\win32
-I.\win32\WPdpack\include -I.\win32\WPdpack\include\net
-I.\win32\winpcap\wpcap\libpcap\win32\include /D STDC
/D WIN32 /D _CONSOLE /D STDC_HEADERS /D
SIZEOF_UNSIGNED_SHORT=2 /D SIZEOF_UNSIGNED_LONG=4 /D
RETSIGTYPE=void /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D
SIZEOF_INT=4 /Fp".\out32\ssldump.pch" /YX
/Fd".\out32\\" /FD /c /MTd /ZI /Od /GZ /D _DEBUG
/Fo.\out32\debug.obj .\common\lib\debug.c
debug.c
c:\ssldump-0.9b3\common\include\r_macros.h(57) :
warning C4117: macro name '__FUNCTION__' is reserved,
'#define' ignored
cl.exe /nologo /W3 -I.\base -I.\common\include
-I.\common\lib -I.\null -I.\ssl -I.\win32
-I.\win32\WPdpack\include -I.\win32\WPdpack\include\net
-I.\win32\winpcap\wpcap\libpcap\win32\include /D STDC
/D WIN32 /D _CONSOLE /D STDC_HEADERS /D
SIZEOF_UNSIGNED_SHORT=2 /D SIZEOF_UNSIGNED_LONG=4 /D
RETSIGTYPE=void /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D
SIZEOF_INT=4 /Fp".\out32\ssldump.pch" /YX
/Fd".\out32\\" /FD /c /MTd /ZI /Od /GZ /D _DEBUG
/Fo.\out32\r_assoc.obj .\common\lib\r_assoc.c
r_assoc.c
c:\ssldump-0.9b3\common\include\r_macros.h(57) :
warning C4117: macro name '__FUNCTION__' is reserved,
'#define' ignored
c:\ssldump-0.9b3\common\lib\r_assoc.c(185) : warning
C4013: 'memcpy' undefined; assuming extern returning int
c:\ssldump-0.9b3\common\lib\r_assoc.c(210) : warning
C4013: 'memcmp' undefined; assuming extern returning int
c:\ssldump-0.9b3\common\lib\r_assoc.c(301) : warning
C4700: local variable 'r' used without having been
initialized
cl.exe /nologo /W3 -I.\base -I.\common\include
-I.\common\lib -I.\null -I.\ssl -I.\win32
-I.\win32\WPdpack\include -I.\win32\WPdpack\include\net
-I.\win32\winpcap\wpcap\libpcap\win32\include /D STDC
/D WIN32 /D _CONSOLE /D STDC_HEADERS /D
SIZEOF_UNSIGNED_SHORT=2 /D SIZEOF_UNSIGNED_LONG=4 /D
RETSIGTYPE=void /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D
SIZEOF_INT=4 /Fp".\out32\ssldump.pch" /YX
/Fd".\out32\\" /FD /c /MTd /ZI /Od /GZ /D _DEBUG
/Fo.\out32\r_data.obj .\common\lib\r_data.c
r_data.c
c:\ssldump-0.9b3\common\include\r_macros.h(57) :
warning C4117: macro name '__FUNCTION__' is reserved,
'#define' ignored
c:\ssldump-0.9b3\common\lib\r_data.c(65) : warning
C4013: 'memcpy' undefined; assuming extern returning int
c:\ssldump-0.9b3\common\lib\r_data.c(147) : warning
C4013: 'memset' undefined; assuming extern returning int
c:\ssldump-0.9b3\common\lib\r_data.c(160) : warning
C4013: 'memcmp' undefined; assuming extern returning int
cl.exe /nologo /W3 -I.\base -I.\common\include
-I.\common\lib -I.\null -I.\ssl -I.\win32
-I.\win32\WPdpack\include -I.\win32\WPdpack\include\net
-I.\win32\winpcap\wpcap\libpcap\win32\include /D STDC
/D WIN32 /D _CONSOLE /D STDC_HEADERS /D
SIZEOF_UNSIGNED_SHORT=2 /D SIZEOF_UNSIGNED_LONG=4 /D
RETSIGTYPE=void /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D
SIZEOF_INT=4 /Fp".\out32\ssldump.pch" /YX
/Fd".\out32\\" /FD /c /MTd /ZI /Od /GZ /D _DEBUG
/Fo.\out32\r_errors.obj .\common\lib\r_errors.c
r_errors.c
c:\ssldump-0.9b3\common\include\r_macros.h(57) :
warning C4117: macro name '__FUNCTION__' is reserved,
'#define' ignored
cl.exe /nologo /W3 -I.\base -I.\common\include
-I.\common\lib -I.\null -I.\ssl -I.\win32
-I.\win32\WPdpack\include -I.\win32\WPdpack\include\net
-I.\win32\winpcap\wpcap\libpcap\win32\include /D STDC
/D WIN32 /D _CONSOLE /D STDC_HEADERS /D
SIZEOF_UNSIGNED_SHORT=2 /D SIZEOF_UNSIGNED_LONG=4 /D
RETSIGTYPE=void /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D
SIZEOF_INT=4 /Fp".\out32\ssldump.pch" /YX
/Fd".\out32\\" /FD /c /MTd /ZI /Od /GZ /D _DEBUG
/Fo.\out32\r_list.obj .\common\lib\r_list.c
r_list.c
c:\ssldump-0.9b3\common\include\r_macros.h(57) :
warning C4117: macro name '__FUNCTION__' is reserved,
'#define' ignored
cl.exe /nologo /W3 -I.\base -I.\common\include
-I.\common\lib -I.\null -I.\ssl -I.\win32
-I.\win32\WPdpack\include -I.\win32\WPdpack\include\net
-I.\win32\winpcap\wpcap\libpcap\win32\include /D STDC
/D WIN32 /D _CONSOLE /D STDC_HEADERS /D
SIZEOF_UNSIGNED_SHORT=2 /D SIZEOF_UNSIGNED_LONG=4 /D
RETSIGTYPE=void /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D
SIZEOF_INT=4 /Fp".\out32\ssldump.pch" /YX
/Fd".\out32\\" /FD /c /MTd /ZI /Od /GZ /D _DEBUG
/Fo.\out32\r_replace.obj .\common\lib\r_replace.c
r_replace.c
c:\ssldump-0.9b3\common\include\r_macros.h(57) :
warning C4117: macro name '__FUNCTION__' is reserved,
'#define' ignored
c:\ssldump-0.9b3\common\lib\r_replace.c(56) : warning
C4013: 'strlen' undefined; assuming extern returning int
c:\ssldump-0.9b3\common\lib\r_replace.c(62) : warning
C4013: 'memcpy' undefined; assuming extern returning int
cl.exe /nologo /W3 -I.\base -I.\common\include
-I.\common\lib -I.\null -I.\ssl -I.\win32
-I.\win32\WPdpack\include -I.\win32\WPdpack\include\net
-I.\win32\winpcap\wpcap\libpcap\win32\include /D STDC
/D WIN32 /D _CONSOLE /D STDC_HEADERS /D
SIZEOF_UNSIGNED_SHORT=2 /D SIZEOF_UNSIGNED_LONG=4 /D
RETSIGTYPE=void /D SIZEOF_CHAR=1 /D SIZEOF_SHORT=2 /D
SIZEOF_INT=4 /Fp".\out32\ssldump.pch" /YX
/Fd".\out32\\" /FD /c /MTd /ZI /Od /GZ /D _DEBUG
/Fo.\out32\r_time.obj .\common\lib\r_time.c
r_time.c
c:\ssldump-0.9b3\common\include\r_macros.h(57) :
warning C4117: macro name '__FUNCTION__' is reserved,
'#define' ignored
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\BaseTsd.h(34) : error
C2371: 'UINT8' : redefinition; different basic types
c:\ssldump-0.9b3\common\include\r_types.h(79) :
see declaration of 'UINT8'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\string.h(154) : warning C4028: formal
parameter 1 different from declaration
c:\ssldump-0.9b3\common\lib\r_time.c(82) : warning
C4244: '=' : conversion from 'ULONGLONG' to 'long',
possible loss of data
c:\ssldump-0.9b3\common\lib\r_time.c(83) : warning
C4244: '=' : conversion from 'ULONGLONG' to 'long',
possible loss of data
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.

my directory structure in out32 looks like

C:\ssldump-0.9b3\out32>dir
debug.obj r_assoc.obj r_data.obj
r_errors.obj r_list.obj r_replace.obj
ssldump.pch vc70.idb vc70.pdb

my win32 directory looks like

C:\ssldump-0.9b3\win32>ls -l
total 16
-rw-r--r-- 1 544 everyone 20319 Sep 14 2001
Ssldump.html
drwxr-xr-x 7 544 everyone 0 Jun 19 16:27
WpdPack
-rw-r--r-- 1 544 everyone 10383 Aug 21 2002
vcwin32.mak
drwxr-xr-x 9 544 everyone 0 Jun 19 16:28
winpcap

winpcap version 3.1, windcap version 3.1

Pl. help. Thanks.

-Bala

Discussion