Ethereal-dev: [Ethereal-dev] Linking library libethereal.dll fails on Win32

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

From: Halahyja Juraj <Juraj.Halahyja@xxxxxxxxxxx>
Date: Wed, 23 Feb 2005 10:25:03 +0100
Hello,

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    /DEF:libethereal.def
/OUT:libethereal.dll  /IMPLIB:libethereal.lib addr_and_mask.obj
add
r_resolv.obj             adler32.obj             afn.obj
asn1.obj                atalk-utils.obj                 bas
e64.obj          bitswap.obj             charsets.obj            circuit.obj
column.obj      column-utils.obj                con
versation.obj            crc16.obj                       crc32.obj
crypt-des.obj           crypt-md4.obj           cry
pt-md5.obj               crypt-rc4.obj           epan.obj
except.obj          filesystem.obj              follow.obj
         frame_data.obj          h225-persistentdata.obj
in_cksum.obj            ipproto.obj             ipv4.obj
 osi-utils.obj           packet.obj              plugins.obj
prefs.obj                   proto.obj                   ptvcursor.o
bj               range.obj                       reassemble.obj
req_resp_hdrs.obj           sha1.obj                    sigcomp_sta
te_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
                 xmlstub.obj  D:\ethereal\lib\glib\lib\glib-2.0.lib
D:\ethereal\lib\glib\lib\gmodule-2.0.lib  D:\ethereal\lib\glib\lib\gobj
ect-2.0.lib        D:\ethereal\lib\pcre-4.4\lib\pcre.lib
D:\ethereal\lib\net-snmp-5.1.2\win32\lib\release\netsnmp.lib
ftypes\ftypes.li
b  dfilter\dfilter.lib  dissectors\dissectors.lib ..\image\libethereal.res
dissectors\register.obj  inet_aton.obj       inet_pton.obj   ine
t_ntop.obj       mkstemp.obj     strptime.obj
libethereal.def : error LNK2001: unresolved external symbol
get_plugins_global_dir
libethereal.def : error LNK2001: unresolved external symbol
get_plugins_pers_dir
libethereal.lib : fatal error LNK1120: 2 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'

Can anyone help?

Regards

Juraj Halahyja
Siemens Programm and System Engeneering s.r.o.
Dubravska cesta 4
84537 Bratislava
Slovakia
Tel.:   +421 2 5968 4669
Mob.: +421 903 56 4669
mailto: juraj.halahyja@xxxxxxxxxxx