Putty compilation problems

Source: Internet
Author: User

Compile putty and so onProgram, Encountered a problem:

C: \ Program Files \ Microsoft Visual Studio \ vc98 \ include \ sspi. H (65): Fatal error c1189: # error: You must define one of security_win32, security_win16, security_kernel
Error executing cl.exe. 

 

 

Solution:

 

I added the red statement in winstuff. h.

 

# Ifndef putty_winstuff_h # define putty_winstuff_h # ifndef auto_winsock # include <winsock2.h> # endif # include <windows. h> # include <stdio. h> /* For filename_max */# include "tree234.h" # include "winhelp. H" # Define security_win32

 

 

Win7 an vc2008 compilation report link: Fatal error lnk1000: Internal error during IncrBuildImage2010-09-17 install vs2008 + SP1 after the Link error:> copyright (c) Microsoft Corporation. all rights reserved. 1> link: Fatal error lnk1000: Internal error during incrbuildimage 1> Version timeout 1> exceptioncode = c0000005 1> exceptionflags = 00000000 1> exceptionaddress = 0111fcf7 (010a0000) "C: \ Program Files \ Microsoft Visual Studio 9.0 \ Vc \ bin \ link.exe "1> numberparameters = 00000002 1> predictioninformation [0] = 00000000 1> predictioninformation [1] = 00ebd670 1> context: 1> eax = 401 cacdc ESP = 001bf294 1> EBX = 40008160 EBP = 001bf2bc 1> ECx = ESI = 401cab58 1> edX = 001bf2ac EDI = 010ad6c0 1> EIP = paieflags = 00010246 1> segcs = 0000001b segds = 00000023 1> segss = 00000023 seges = 00000023 1> segfs = 2017003b seggs = 00000000 1> dr0 = 00000000 dr3 = 00000000 1> DR1 = 00000000 dr6 = 00000000 1> DR2 = 00000000 dr7 = 00000000 ========= rebuild all: 0 succeeded, 1 failed, 0 skipped ========== 1. Microsoft patches: kb948127, http://code.msdn.microsoft.com/kb948.pdf. It seems that the installation does not work. 2. If the downloaded Patch Is Not Installed successfully or fails to be downloaded, You can manually change the project-> Property) -> linker-> enable incremental linking under general, and change "Yes (/Incremental)" to "no (/Incremental: no )". However, this introduces another warning: formatcom. OBJ: Warning lnk4075: Ignore "/editandcontinue" (due to the "/Incremental: No" Specification) Select a project, property pages-> Configuration Properties) -> C/C ++: Change "debug information format" to "program database (/Zi.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.