Ethereal-dev: RE: [Ethereal-dev] Problems with compiling 0.10.2 for win32 with vc6.0

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

From: "Martijn Schipper" <mschipper@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Feb 2004 09:59:59 +0100

Hello Greg,

 

I tried this (start nmake from a cmd window) but that didn’t help. Is this what you meant? I see that nmake (and/or the linker) still uses the same file names (e.g. link @C:\DOCUME~1\MSCHIPPE\LOCALS~1\Temp\nmc01068). The environment variable ComSpec is defined as c:\windows\system32\cmd.exe.

Extra information: I have also the SDK installed on this machine. But I did run vcvars32.bat before I started nmake.

Any suggestion?

 

Martijn.

 

-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Greg Morris
Sent: dinsdag 24 februari 2004
17:42
To: ethereal-dev@xxxxxxxxxxxx; Martijn Schipper
Subject: Re: [Ethereal-dev] Problems with compiling 0.10.2 for win32 with vc6.0

 

Are you using CMD or Command. It looks like all of the long names are being reported with short names. You must use CMD.

 

Greg

>>> mschipper@xxxxxxxxxxxxxxxxxxx 2/24/2004 9:34:04 AM >>>

Hello list,

When I compile version 0.10.2 with MSVC 6.0 I get the following errors
during linking of the smaller tools:

Linking editcap.exe
        link @C:\DOCUME~1\MSCHIPPE\LOCALS~1\Temp\nmc01068.
CVPACK : fatal error CK1022: cannot open program database
c:\projects\ethereal-0.10.2\vc60.pdb
LINK : warning LNK4027: CVPACK error
NMAKE : fatal error U1077: 'link' : return code '0x1'
Stop.

The vc60.pdb file is available.
When I restart nmake it stops at the next tool:

Linking mergecap.exe
        link @C:\DOCUME~1\MSCHIPPE\LOCALS~1\Temp\nmb03760.
CVPACK : fatal error CK1022: cannot open program database
c:\projects\ethereal-0.10.2\vc60.pdb
LINK : warning LNK4027: CVPACK error
NMAKE : fatal error U1077: 'link' : return code '0x1'
Stop.

I found something on the Internet about concurrent starting of the
compiler?! Does anybody know what I am doing wrong?

By restarting nmake a couple of times I am able to compile and link the
complete package. But I don't see any <programfile>.pdb files (only
vc60.pdb and rdps.pdb). Is that correct?

Another problem arises when I do first a nmake distclean and try to
build after that.

        sed -e s/@VERSION@/0.10.2/  -e "s/@HAVE_GNU_ADNS@/#define
HAVE_GNU_ADNS
1/"  -e "s/@HAVE_PCRE@/#define HAVE_LIBPCRE 1/"  -e
"s/@HAVE_LIBZ@/#define HAVE_
LIBZ 1/"  -e "s/@HAVE_LIBPCAP@/#define HAVE_LIBPCAP 1/"  -e
"s/@HAVE_PCAP_FINDAL
LDEVS@/#define HAVE_PCAP_FINDALLDEVS 1/"  -e
"s/@WPCAP_CONSTIFIED@/#define WPCAP
_CONSTIFIED 1/"  < config.h.win32 > config.h
        perl make-version.pl
Can't open perl script "make-version.pl": No such file or directory
NMAKE : fatal error U1077: 'perl' : return code '0x2'
Stop.

The file make-version.pl seems to be missing from the distribution.

Best regards,

Martijn Schipper



******************Legal Disclaimer**************************
"This email may contain confidential and privileged material for the sole use of the intended recipient.  Any unauthorized review, use or distribution by others is strictly prohibited.  If you have received the message in error, please advise the sender by reply email help@xxxxxxxxxxxxxxxxxxx, and delete the message. Thank you."
****************************************************************

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev