Ethereal-dev: RE: [Ethereal-dev] probelms building ethereal-0.10.8 on win XP native

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

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Thu, 23 Dec 2004 21:51:19 -0500

I ran into the same problem when I upgraded to the latest version of the cygwin coreutils.  Apparently it contains a “link.exe”.  When you try to build Ethereal and get to the wiretap link stage, it fails, because it invokes the wrong link.exe.  To fix this, I modified the config.nmake file and changed the line that used to read:

 

PATH=c:\cygwin\bin;$(PATH)

to:

            PATH=$(PATH);c:\cygwin\bin

 

You might want to check your path environment variable to ensure that cygwin\bin does not come before the visual studio bin directory.

 

If this is a good resolution to this problem, perhaps it should be changed in the svn archive?

 

- Chris

(P.S. Here’s a reference to the problem reported on cygwin’s mailing list: http://cygwin.com/ml/cygwin/2004-12/msg00809.html)

 

 

-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx [mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Pavan Rudravaram
Sent: Thursday, December 23, 2004 5:40 PM
To: ethereal-dev@xxxxxxxxxxxx
Subject: [Ethereal-dev] probelms building ethereal-0.10.8 on win XP native

 

Hi,

 

I think i have taken all required precautions for installing the pre Reqs but still i have the following error while building the source. Please advice me if i am missing out something or if i am building it wrong. Please find below the error.

 

 

Thanks a million in advance,

Pavan

 

 

 

*****************************************************************************************************************************************

al.c vms.c wtap.c ascend-grammar.c ascend-scanner.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

 

5views.c
airopeek9.c
ascend.c
atm.c
buffer.c
cosine.c
csids.c
dbs-etherwatch.c
erf.c
etherpeek.c
eyesdn.c
file_access.c
file_wrappers.c
hcidump.c
i4btrace.c
iptrace.c
lanalyzer.c
libpcap.c
netmon.c
nettl.c
Generating Code...
Compiling...
network_instruments.c
netxray.c
ngsniffer.c
pppdump.c
radcom.c
snoop.c
toshiba.c
visual.c
vms.c
wtap.c
ascend-grammar.c
ascend-scanner.c
Generating Code...
        link /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO -entry:_Dl
lMainCRTStartup@12 -dll msvcrt.lib oldnames.lib kernel32.lib  ws2_32.lib mswsock
..lib advapi32.lib  /DEBUG  /DEF:wtap.def /OUT:wiretap-0.1.dll  /IMPLIB:wiretap-0
..1.lib  ..\image\wiretap.res  5views.obj                 airopeek9.obj
 ascend.obj              atm.obj                         buffer.obj
 cosine.obj              csids.obj                       dbs-etherwatch.obj
 erf.obj                         etherpeek.obj              eyesdn.obj
 file_access.obj                 file_wrappers.obj               hcidump.obj
         i4btrace.obj            iptrace.obj             lanalyzer.obj
 libpcap.obj             netmon.obj              nettl.obj
 network_instruments.obj         netxray.obj             ngsniffer.obj
 pppdump.obj             radcom.obj              snoop.obj
 toshiba.obj             visual.obj              vms.obj
 wtap.obj ascend-grammar.obj     ascend-scanner.obj C:\ethereal-win32-libs\glib\
lib\glib-2.0.lib  C:\ethereal-win32-libs\glib\lib\gmodule-2.0.lib  C:\ethereal-w
in32-libs\glib\lib\gobject-2.0.lib       C:\ethereal-win32-libs\zlib122-dll\lib\
zdll.lib
link: too many arguments
Try `link --help' for more information.
NMAKE : fatal error U1077: 'link' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.

 

*******************************************************************************************************************************************

 

 


This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof.