EXTERNAL Rabe Thomas (Praktikant ; PA-ATMO1/EES21) wrote:
> Hello everybody,
> While compiling the unmodified ethereal.0.10.10 on win 2000
> professional I get the following message.
>
> wtap.c
> ascend-grammar.c
> ascend-scanner.c
> Generieren von 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: invalid option -- e
> Try `link --help' for more
> information.
> NMAKE : fatal error U1077: 'link' : Rueckgabe-Code '0x1'
> Stop.
> NMAKE : fatal error U1077: 'C:\Programme\MVS\VC98\bin\NMAKE.EXE' :
> Rueckgabe-Cod
> e '0x2'
> Stop.
>
> D:\Ethernet\ethereal-0.10.10>
>
That's almost certainly a problem with the link.exe from cygwin. Recent
cygwin versions include a link.exe, which conflicts with the link.exe
from MSVC.
I've tried to change my PATH to get round this problem, but failed.
As a consequence, I've simply renamed the link.exe in cygwin and all is
well.
Regards, ULFL