[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::visual

Title:Microsoft Visual C++ bug reports and kits
Notice:Register in Topic 2. 5.Last for latest Kit
Moderator:DECWET::THOMASN
Created:Tue May 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:521
Total number of notes:2938

478.0. "rebuild of c runtime lib" by SAPEC3::BACHOFER () Wed Mar 12 1997 09:00

Hello,

I have a problem to build the C runtime lib with bldnt.cmd from the directory
\msdev\crt\src.
I am using VC4.2 on Alpha/NT.


The error is:

...

        cl -O2 -I. -Fobuild\alpha\st_obj\ alpha\ehunwind.c
ehunwind.c
alpha\ehunwind.c(16) : fatal error C1083: Cannot open include file: 
   'nt.h': No such file or directory

...

link -lib -nologo -out:build\alpha\st_obj\eh.lib @build\alpha\st_obj\eh.rsp

Microsoft (R) 32-Bit Library Manager Version 4.20.6191
Copyright (C) Microsoft Corp 1992-1996. All rights reserved.

build\alpha\st_obj\trnsctrl.obj
build\alpha\st_obj\bridge.obj
build\alpha\st_obj\ehunwind.obj
LINK : fatal error LNK1181: cannot open input file 
        "build\alpha\st_obj\ehunwind.obj"
NMAKE : fatal error U1073: don't know how to make 'alpha\st_lib\chandler.obj'
Stop.
NMAKE : fatal error U1073: don't know how to make 'build\alpha\st_obj\eh.lib'
Stop.


I searched for nt.h and ntrl.h which are both included in ehunwind.c, but
did not find anything.

(On VC4.2 Intel/NT everything works without any problems and without
nt.h/ntrtl.h)



What to do?



Thanks in advance and bye

HJ Bachofer
DEC/SAP Engineering
T.RTitleUserPersonal
Name
DateLines
478.1remove ehunwind.c !DECWET::PETERSONFri Mar 14 1997 16:374
    ehunwind.c and ehunwind.obj are both in the crt directory.
    deleting ehunwind.c should force the use of ehunwind.obj and remove the
    error.
    
478.2nt.h & ntrtl.hSAPEC3::BACHOFERMon Mar 17 1997 03:1528
    Hello,
    
    Re #478.1
    
    ehunwind.c includes nt.h and ntrtl.h which are nowhere,
    so I am not able to build ehunwind.obj.
    There is also no ehunwind.obj within the VC4.2 kit or 
    elsewhere.
    
    I searched for nt.h and ntrtl.h in several other SDKs, DDKs...
    but found nothing.
    
    Maybe there is a confusion in 478.0 the problem is:
    
    
            cl -O2 -I. -Fobuild\alpha\st_obj\ alpha\ehunwind.c
    ehunwind.c
    alpha\ehunwind.c(16) : fatal error C1083: Cannot open include file: 
       'nt.h': No such file or directory
    
    
    
    
    Thanks in advance and bye
    
    HJ Bachofer
    DEC/SAP Engineering
    
478.3missing .obj in the VC 4.2b kitDECWET::PETERSONMon Mar 17 1997 10:1515
    There is an error in the VC 4.2B kit.
    It should have contained the ehunwind.obj files in the
    crt\src\alpha\*_lib directories.
    
    Instead, it contained the ehunwind.c file, that relies on the
    non-ditributed nt.h file.
    
    ehunwind.obj hasn't changed between vc 4.0A and vc 4.2b
    so the simplest thing is to just take the ehunwind.obj files that you
    need from the VC4.0A kit
    
    If that is not possible, you can get the objects from the beta3 or rc12
    kits of VC++ V5.0.  In this case, the debug information format has
    changed, so just use the objects from dll_lib, mt_lib, and st_lib