![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am trying to link a very old console program written in 1992 as I've got to fix a bug (I haven't made any changes to it yet, just trying to build the original source). I'm using Visual C++ 6.0 on Windows XP. I'm getting the following unresolved externals: --------------------Configuration: make1 - Win32 Debug-------------------- Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. link /RELEASE /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO -subsystem:console,4.0 lpr.obj lp.obj -out:lpr.exe libc.lib oldnames.lib kernel32.lib wst.lib wsock32.lib advapi32.lib lpr.obj : error LNK2001: unresolved external symbol __ctime64 lpr.obj : error LNK2001: unresolved external symbol __time64 lpr.obj : error LNK2001: unresolved external symbol ___security_cookie lpr.obj : error LNK2001: unresolved external symbol @__security_check_cookie@4 lpr.obj : error LNK2001: unresolved external symbol ___iob_func lpr.obj : error LNK2001: unresolved external symbol __findnext64i32 lpr.obj : error LNK2001: unresolved external symbol __findfirst64i32 |
#3
| |||
| |||
|
|
Hi, I am trying to link a very old console program written in 1992 as I've got to fix a bug (I haven't made any changes to it yet, just trying to build the original source). I'm using Visual C++ 6.0 on Windows XP. I'm getting the following unresolved externals: --------------------Configuration: make1 - Win32 Debug-------------------- Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. link /RELEASE /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO -subsystem:console,4.0 lpr.obj lp.obj -out:lpr.exe libc.lib oldnames.lib kernel32.lib wst.lib wsock32.lib advapi32.lib lpr.obj : error LNK2001: unresolved external symbol __ctime64 lpr.obj : error LNK2001: unresolved external symbol __time64 lpr.obj : error LNK2001: unresolved external symbol ___security_cookie lpr.obj : error LNK2001: unresolved external symbol @__security_check_cookie@4 lpr.obj : error LNK2001: unresolved external symbol ___iob_func lpr.obj : error LNK2001: unresolved external symbol __findnext64i32 lpr.obj : error LNK2001: unresolved external symbol __findfirst64i32 Michael, From the presence of those "64" symbols it would appear that something in your project has perhaps been built with a more recent version of VS - I don't remember VC6 having the "64" variants of those library functions. Dave . |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |