[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ethereal-dev
Subject:    RE: [Ethereal-dev] Problems with compiling 0.10.2 for win32 with vc6.0
From:       "Martijn Schipper" <mschipper () globespanvirata ! com>
Date:       2004-02-25 8:59:59
Message-ID: A153A27E10ECE4429DCD8FDD311B1C3D108AEB () nlmail ! globespan ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@ethereal.com
[mailto:ethereal-dev-bounces@ethereal.com] On Behalf Of Greg Morris
Sent: dinsdag 24 februari 2004 17:42
To: ethereal-dev@ethereal.com; 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@globespanvirata.com 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@globespanvirata.com, and delete the message. Thank you."
****************************************************************

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


[Attachment #5 (text/html)]

<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:navy;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

<style>
p.MsoNormal
	{margin-left:3.0pt;}
</style>
</head>

<body lang=EN-US link=blue vlink=blue style='margin-left:3.0pt;margin-top:3.0pt;
margin-right:3.0pt;margin-bottom:.75pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hello Greg,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I tried this (start nmake from a cmd
window) but that didn&#8217;t help. Is this what you meant? I see that nmake (and/or
the linker) still uses the same file names (e.g. </span></font><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>link @C:\DOCUME~1\MSCHIPPE\LOCALS~1\Temp\nmc01068). The environment
variable ComSpec is defined as c:\windows\system32\cmd.exe.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Extra information: I have also the SDK installed
on this machine. But I did run vcvars32.bat before I started nmake.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Any suggestion?</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Martijn.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
ethereal-dev-bounces@ethereal.com [mailto:ethereal-dev-bounces@ethereal.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Greg Morris<br>
<b><span style='font-weight:bold'>Sent:</span></b> dinsdag 24 februari 2004 \
</span></font><font size=2 face=Tahoma><span \
style='font-size:10.0pt;font-family:Tahoma'>17:42</span></font><font size=2 \
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br> <b><span \
style='font-weight:bold'>To:</span></b> ethereal-dev@ethereal.com; Martijn \
Schipper<br> <b><span style='font-weight:bold'>Subject:</span></b> Re: [Ethereal-dev]
Problems with compiling 0.10.2 for win32 with vc6.0</span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Are you using CMD or Command. It looks like all of the long
names are being reported with short names. You must use CMD.</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>&nbsp;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Greg<br>
<br>
&gt;&gt;&gt; mschipper@globespanvirata.com 2/24/2004 9:34:04 AM \
&gt;&gt;&gt;</span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=black face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;color:black'>Hello list,<br>
<br>
When I compile version 0.10.2 with MSVC 6.0 I get the following errors<br>
during linking of the smaller tools:<br>
<br>
Linking editcap.exe<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; link
@C:\DOCUME~1\MSCHIPPE\LOCALS~1\Temp\nmc01068.<br>
CVPACK : fatal error CK1022: cannot open program database<br>
c:\projects\ethereal-0.10.2\vc60.pdb<br>
LINK : warning LNK4027: CVPACK error<br>
NMAKE : fatal error U1077: 'link' : return code '0x1'<br>
Stop.<br>
<br>
The vc60.pdb file is available.<br>
When I restart nmake it stops at the next tool:<br>
<br>
Linking mergecap.exe<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; link
@C:\DOCUME~1\MSCHIPPE\LOCALS~1\Temp\nmb03760.<br>
CVPACK : fatal error CK1022: cannot open program database<br>
c:\projects\ethereal-0.10.2\vc60.pdb<br>
LINK : warning LNK4027: CVPACK error<br>
NMAKE : fatal error U1077: 'link' : return code '0x1'<br>
Stop. <br>
<br>
I found something on the Internet about concurrent starting of the<br>
compiler?! Does anybody know what I am doing wrong?<br>
<br>
By restarting nmake a couple of times I am able to compile and link the<br>
complete package. But I don't see any &lt;programfile&gt;.pdb files (only<br>
vc60.pdb and rdps.pdb). Is that correct?<br>
<br>
Another problem arises when I do first a nmake distclean and try to<br>
build after that.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sed -e s/@VERSION@/0.10.2/&nbsp; -e
&quot;s/@HAVE_GNU_ADNS@/#define<br>
HAVE_GNU_ADNS<br>
1/&quot;&nbsp; -e &quot;s/@HAVE_PCRE@/#define HAVE_LIBPCRE 1/&quot;&nbsp; -e<br>
&quot;s/@HAVE_LIBZ@/#define HAVE_<br>
LIBZ 1/&quot;&nbsp; -e &quot;s/@HAVE_LIBPCAP@/#define HAVE_LIBPCAP
1/&quot;&nbsp; -e<br>
&quot;s/@HAVE_PCAP_FINDAL<br>
LDEVS@/#define HAVE_PCAP_FINDALLDEVS 1/&quot;&nbsp; -e<br>
&quot;s/@WPCAP_CONSTIFIED@/#define WPCAP<br>
_CONSTIFIED 1/&quot;&nbsp; &lt; config.h.win32 &gt; config.h<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; perl make-version.pl<br>
Can't open perl script &quot;make-version.pl&quot;: No such file or directory<br>
NMAKE : fatal error U1077: 'perl' : return code '0x2'<br>
Stop.<br>
<br>
The file make-version.pl seems to be missing from the distribution.<br>
<br>
Best regards,<br>
<br>
Martijn Schipper<br>
<br>
<br>
<br>
******************Legal Disclaimer**************************<br>
&quot;This email may contain confidential and privileged material for the sole
use of the intended recipient.&nbsp; Any unauthorized review, use or
distribution by others is strictly prohibited.&nbsp; If you have received the
message in error, please advise the sender by reply email help@globespanvirata.com,
and delete the message. Thank you.&quot;<br>
****************************************************************<br>
<br>
_______________________________________________<br>
Ethereal-dev mailing list<br>
Ethereal-dev@ethereal.com<br>
<a href="http://www.ethereal.com/mailman/listinfo/ethereal-dev">http://www.ethereal.com/mailman/listinfo/ethereal-dev</a></span></font></p>


</div>

</div>

</div>

</body>

</html>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic