Mailing List Archive

Visual Studio 2005 compilation errors on Win XP
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.objC:\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
RE: Visual Studio 2005 compilation errors on Win XP [ In reply to ]
Have you performed the "nmake -fMakefile.nmake distclean"?


________________________________

From: ethereal-dev-bounces@ethereal.com
[mailto:ethereal-dev-bounces@ethereal.com] On Behalf Of Ravi Kondamuru
Sent: Wednesday, May 24, 2006 4:28 PM
To: Ethereal development
Subject: [Ethereal-dev] Visual Studio 2005 compilation errors on
Win XP



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



________________________________________________________________________
_____
Scanned by IBM Email Security Management Services powered by
MessageLabs. For more information please visit http://www.ers.ibm.com

________________________________________________________________________
_____
Re: Visual Studio 2005 compilation errors on Win XP [ In reply to ]
I did follow all the steps.
I reverted back to using VC++ 6.0 and it works fine now.
Ravi.

On 6/13/06, Cook, Timothy < tcook@bristolbabcock.com> wrote:
>
> Have you performed the "nmake -fMakefile.nmake distclean"?
>
> ------------------------------
> *From:* ethereal-dev-bounces@ethereal.com [mailto:
> ethereal-dev-bounces@ethereal.com] *On Behalf Of *Ravi Kondamuru
> *Sent:* Wednesday, May 24, 2006 4:28 PM
> *To:* Ethereal development
> *Subject:* [Ethereal-dev] Visual Studio 2005 compilation errors on Win XP
>
>
> I am seeing the following linker errors. Anyone seen them before.
>
> I have done (1) vcvars.bat execution, (2) run nmake -f Makefile.nmakesetup 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.objC:\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
>
>
>
> _____________________________________________________________________________
> Scanned by IBM Email Security Management Services powered by MessageLabs.
> For more information please visit http://www.ers.ibm.com
>
> _____________________________________________________________________________
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@ethereal.com
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
>
>