Ethereal-dev: Re: [Ethereal-dev] MSVC build broken (cannot find adler32.obj)

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

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Tue, 27 Jul 2004 22:50:00 +0200
And if I manually add "..\" as prefix to the objects in the root
directory, I then get the following errors when issuing the linkage
command from epan:

<quote>

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 atalk-utils.obj bitswap.obj circuit.obj
column-utils.obj conversation.obj epan.obj except.obj filesystem.obj
frame_data.obj inet_aton.obj inet_pton.obj inet_ntop.obj ipv4.obj
int-64bit.obj osi-utils.obj  packet.obj plugins.obj     proto.obj
resolv.obj     sna-utils.obj  strutil.obj     timestamp.obj to_str.obj
tvbuff.obj        value_string.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-03\adns_win32\lib\adns_dll.lib
C:\ethereal-win32-libs\pcre-4.4\lib\pcre.lib
C:\ethereal-win32-libs\zlib121-dll\lib\zdll.lib
C:\ethereal-win32-libs\net-snmp-5.1\win32\lib\netsnmp.lib
ftypes\ftypes.lib  dfilter\dfilter.lib  dissectors\dissectors.lib
..\image\libethereal.res  dissectors\register.obj ..\adler32.obj
..\afn.obj ..\asn1.obj ..\column.obj ..\crc16.obj ..\crc32.obj
..\crypt-des.obj ..\crypt-md4.obj ..\crypt-md5.obj ..\crypt-rc4.obj
..\follow.obj ..\h225-persistentdata.obj ..\in_cksum.obj
..\ipproto.obj ..\prefs.obj ..\print.obj ..\ps.obj ..\ptvcursor.obj
..\reassemble.obj ..\req_resp_hdrs.obj ..\t35.obj ..\tap.obj
..\util.obj ..\xdlc.obj ..\xmlstub.obj ../mkstemp.obj ../strptime.obj

libethereal.def : error LNK2001: unresolved external symbol
destroy_print_stream
libethereal.def : error LNK2001: unresolved external symbol new_page
libethereal.def : error LNK2001: unresolved external symbol
print_bookmark
libethereal.def : error LNK2001: unresolved external symbol
print_stream_ps_new
libethereal.def : error LNK2001: unresolved external symbol
print_stream_ps_stdio_new
libethereal.def : error LNK2001: unresolved external symbol
print_stream_text_new
libethereal.def : error LNK2001: unresolved external symbol
print_stream_text_stdio_new
libethereal.lib : fatal error LNK1120: 7 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file

</quote>

Unfortunately MSVC is not my best friend :) Anyone a clue?

Best regards,

Olivier

----- Original Message ----- 
From: Olivier Biot

| Hi list,
|
| The current CVS snapshot has trouble finding the top-level objects
| like adler32.obj etc. Could someone have a look at this?