Ethereal-dev: [Ethereal-dev] linking error

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

From: Nina Pham <nina@xxxxxxxxxxx>
Date: Mon, 21 Mar 2005 15:47:33 -0800
I used to be able to create a new plugin for ethereal sometimes in January. Now, I'm trying to create another plugin. But when I did nmake -f makefile.nmake, I got a link error ( I attach the log of nmake with this email). I wasn't able to figure out why I got that error, I took out the new plugin I just created and retried nmake. I had same problem. Anybody knows what happen?

Thanks
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

	cd tools
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

	cd lemon
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

	cd ..
	cd ..
	cd image
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

	cd ..
	cd wiretap
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

	cd ..
	cd epan
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

	cd ftypes
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

'ftypes.lib' is up-to-date
	cd ..
	cd dfilter
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

'dfilter.lib' is up-to-date
	cd ..
	cd dissectors
	NMAKE /                   -f Makefile.nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

'dissectors.lib' is up-to-date
	cd ..
Linking libethereal.dll
	link /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO -entry:_DllMainCRTStartup@12 -dll msvcrt.lib oldnames.lib kernel32.lib  ws2_32.lib mswsock.lib advapi32.lib  /DEBUG  /DEF:libethereal.def /OUT:libethereal.dll  /IMPLIB:libethereal.lib addr_and_mask.obj		 addr_resolv.obj		 adler32.obj		 afn.obj			 atalk-utils.obj		 base64.obj		 bitswap.obj		 charsets.obj		 circuit.obj		 column.obj		 column-utils.obj		 conversation.obj		 crc16.obj			 crc32.obj			 crypt-des.obj		 crypt-md4.obj		 crypt-md5.obj		 crypt-rc4.obj		 epan.obj			 except.obj		 filesystem.obj		 frame_data.obj		 in_cksum.obj		 ipproto.obj		 ipv4.obj			 osi-utils.obj		 packet.obj		 plugins.obj		 prefs.obj			 proto.obj			 range.obj			 req_resp_hdrs.obj		 sha1.obj			 sigcomp_state_hdlr.obj	 sigcomp-udvm.obj	 sminmpec.obj		 sna-utils.obj		 strutil.obj		 t35.obj			 tap.obj			 timestamp.obj		 to_str.obj		 tvbuff.obj		 value_string.obj		 xdlc.obj  C:\ethereal-win32-libs\glib\lib\glib-2.0.lib  C:\ethereal-win32-libs\glib\lib\gmodule-2.0.lib  C:\ethereal-win32-libs\glib\lib\gobject-2.0.lib	 C:\ethereal-win32-libs\adns-1.0-win32-04\adns_win32\lib\adns_dll.lib  C:\ethereal-win32-libs\pcre-4.4\lib\pcre.lib    C:\ethereal-win32-libs\zlib122-dll\lib\zdll.lib  C:\ethereal-win32-libs\net-snmp-5.1.2\win32\lib\release\netsnmp.lib  ftypes\ftypes.lib  dfilter\dfilter.lib  dissectors\dissectors.lib ..\image\libethereal.res  dissectors\register.obj ../asn1.obj	 ../follow.obj	 ../h225-persistentdata.obj	 ../ptvcursor.obj	 ../reassemble.obj	 ../xmlstub.obj  inet_aton.obj	 inet_pton.obj	 inet_ntop.obj	 ../mkstemp.obj	 ../strptime.obj
link: invalid option -- e
Try `link --help' for more information.
NMAKE : fatal error U1077: 'link' : return code '0x100'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~4\VC98\BIN\NMAKE.EXE' : return code '0x2'
Stop.