Ethereal-dev: [Ethereal-dev] Visual Studio 2005 compilation errors on Win XP

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

From: "Ravi Kondamuru" <ravikondamuru@xxxxxxxxx>
Date: Wed, 24 May 2006 13:27:55 -0700

I am seeing the following linker errors. Anyone seen them before.

I have done (1) vcvars.bat execution, (2) run nmake -f Makefile.nmake setup successfully (3) run nmake -f Makefile.nmake give the errors. I have not shown all warning and errors.

        cd wiretap
        "C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" /
          -f Makefile.nmake

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

        link  /INCREMENTAL:NO /NOLOGO -entry:_DllMainCRTStartup@12 -dll kernel32
.lib  ws2_32.lib mswsock.lib advapi32.lib bufferoverflowu.lib  /DEBUG  /DEF:wtap
.def /OUT:wiretap-0.3.dll  /IMPLIB:wiretap-0.3.lib   ..\image\wiretap.res  5views
.obj             airopeek9.obj           ascend.obj              atm.obj
                 ber.obj                         buffer.obj              catapul
t_dct2000.obj    cosine.obj               csids.obj                       dbs-eth
erwatch.obj      erf.obj                         etherpeek.obj              eyes
dn.obj           file_access.obj                 file_wrappers.obj
 hcidump.obj              i4btrace.obj            iptrace.obj             iseries
.obj             k12.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.ob
j 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-win32-lib
s\glib\lib\gobject-2.0.lib       C:\ethereal-win32-libs\zlib123-dll\lib\zdll.lib

LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
   Creating library wiretap-0.3.lib and object wiretap-0.3.exp
wtap.obj : warning LNK4049: locally defined symbol __errno imported
pppdump.obj : warning LNK4049: locally defined symbol __errno imported
radcom.obj : warning LNK4217: locally defined symbol __errno imported in functio
n _radcom_open
snoop.obj : warning LNK4049: locally defined symbol __errno imported
visual.obj : warning LNK4049: locally defined symbol __errno imported
nettl.obj : warning LNK4049: locally defined symbol __errno imported
network_instruments.obj : warning LNK4217: locally defined symbol __errno import
ed in function _observer_read
netxray.obj : warning LNK4049: locally defined symbol __errno imported
ngsniffer.obj : warning LNK4217: locally defined symbol __errno imported in func
tion _process_rec_header2_v145
.
.
.
netxray.obj : error LNK2001: unresolved external symbol __imp__fseek
visual.obj : error LNK2001: unresolved external symbol __imp__fseek
5views.obj : error LNK2001: unresolved external symbol __imp__fseek
k12.obj : error LNK2001: unresolved external symbol __imp__fseek
lanalyzer.obj : error LNK2001: unresolved external symbol __imp__fseek
netmon.obj : error LNK2001: unresolved external symbol __imp__fseek
ngsniffer.obj : error LNK2019: unresolved external symbol __imp__ferror referenced in function _ng_file_seek_seq
snoop.obj : error LNK2001: unresolved external symbol __imp__ferror
visual.obj : error LNK2001: unresolved external symbol __imp__ferror
netmon.obj : error LNK2001: unresolved external symbol __imp__ferror
nettl.obj : error LNK2001: unresolved external symbol __imp__ferror
network_instruments.obj : error LNK2001: unresolved external symbol __imp__ferror

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev