Category Archives: How to Fix

Record the pits you stepped on – NSS error – 5938 (PR_ END_ OF_ FILE_ ERROR), curl: (35) Encountered end of file

PHP passes curl POST data to HTTPS, the same code, with no problems on the first server. It has been unsuccessful on the second server.
Turn on debug Mode and you find the following log.
code:
————————————————————-
Try {
# 1. The init curl
$ch = curl_init ();

# 2. Set the option
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $postFields);

if ($headerFields! = NULL){
curl_setopt($ch, CURLOPT_HTTPHEADER, $headerFields);
}

curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt ($ch, CURLOPT_SSLCERT, self: : CLIENT_CRT);
Curl_setopt ($ch, CURLOPT_SSLKEY, self: : CLIENT_KEY);
Curl_setopt ($ch, CURLOPT_VERBOSE, 1); #debug mode
Curl_setopt ($ch, CURLOPT_STDERR, fopen (“/TMP/curl_ssl. Log “, “w +”)); #debug mode, print log to:/TMP/curl_SSL.log

# 3.execute curl and get response
$result = curl_exec($ch);
Log::info(” info: HttpMethod:: http_post-get Result:”.$Result);

$rlt_array = json_decode($result, true);
$rsp_array = curl_getinfo ($ch);
Log: : info ($rsp_array);

# 4. Release the curl
curl_close ($ch);
} catch (\Exception $e) {
Log: : info ($e);
}
— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — –

/tmp/curl_ssl.log:
————————————————————-

* About to connect() to 180.101.147.89 Port8743 (#1)
* Trying 180.101.147.89…
* Connected to 180.101.147.89(180.101.147.89) Port 8743 (#1)
* NSS error -5938(PR_END_OF_FILE_ERROR)
* Encountered end of file
* Closing connection 1
————————————————————-
Found an error calling HTTPS with the curl command:
————————————————————-

[root@localhost ~]# curl https://*.*.*.*
curl: (35) Encountered end of file
————————————————————-
Reason: You need to force the SSL version. Such as:
-2, –sslv2 Use sslv2 (SSL)
-3, Sslv3 Use sslv3 (SSL)
–ssl-allow-beast allow security arrest to improve interop (SSL)
–stderr FILE Where to redirect stderr.-means stdout
–tcp-nodelay Use the ctod TCP_NODELAY option
-t, –telnet-option OPT=VAL Set Telnet option
–tftp-blksize VALUE Set TFTP blksize option (must be > 512)
-z, –time-cond time Transfer based on a time condition
-1, –tlsv1 Use => TLSv1 (SSL)
– tlsv1.0 Use tlsv1.0 (SSL)
– tlsv1.1 Use tlsv1.1 (SSL)
– tlsv1.2 Use tlsv1.2 (SSL)

Add parameters — TLSV1 solves the problem:
[root@localhost conf.d]# curl –tlsv1 https://*.*.*.*
curl: (60) Peer’s certificate issuer hasbeen marked as not trusted by the user.
More details here: http://curl.haxx.se/docs/sslcerts.html


Reference: http://php.net/manual/en/function.curl-setopt.php
Select the SSL version you want:

CURLOPT_SSLVERSION One Of CURL_SSLVERSION_DEFAULT (0), curl_ssl1 (1), curl_sslv2 (2), curl_sslv3 (3), CURL_SSLVERSION_TLSv1_0 (4), CURL_SSLVERSION_TLSv1_1 or (5) CURL_SSLVERSION_TLSv1_2 (6).
Since tlSV1 is used here, the following sentence is added to code to solve the problem:
curl_setopt($ch, CURLOPT_SSLVERSION, 1);

What is cs0120 error

The original address: https://support.unity3d.com/hc/en-us/articles/206496883-What-is-CS0120-
symptoms
I got the following error on the Console:

Error CS0120: An object reference is required to access non-static member ‘__’

why
There are two situations that can cause this error, listed below:
This error occurs when ol> attempts to directly reference a non-static variable in a static method.


The error message given in this example is:

Error CS0120: An object reference is required to access non-static member ‘myscript.name’

This error occurs when ol> calls another non-static method in a static method.


The error message given in this example is:

Error CS0120: An object reference is required to access non-static member ‘myscript.methodb ()’

The solution

    CS0120 can be resolved by creating an instance that references this non-static variable:

    CS0120 can be resolved by creating an instance that references this non-static method:


For more information
https://msdn.microsoft.com/en-us/library/s35hcfh7.aspx

Solution to display CPU over voltage error when Windows system starts

Solutions:
Directly according to the prompt to enter the BIOS setting interface to find the boot if there is an error on the prompt to press F to enter the BIOS function, will cancel it save exit will be able to enter the system normally
Yes, the input is in, but will the CPU burn off because the voltage keeps getting too high?Unknown sleep and complete

docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled

sudo docker run hello-world
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See ‘docker run –help’.
Modify docker image source:
The default source of Docker is foreign official source, the download speed is slow, can be changed to domestic, speed up
Plan a
Modify or add /etc/docker/daemon.json
# vi /etc/docker/daemon.json
{
“registry-mirrors”: [“http://hub-mirror.c.163.com”]
}
systemctl restart docker.service
Scheme 2
Modified or new/etc/sysconfig/docker, additional parameters after the OPTIONS variable – registry-mirror=https://docker.mirrors.ustc.edu.cn
# vi /etc/sysconfig/docker
OPTIONS=’–selinux-enabled –log-driver=journald –registry-mirror=https://docker.mirrors.ustc.edu.cn’
Domestic source description of Docker:
Docker official China
https://registry.docker-cn.com
netease
http://hub-mirror.c.163.com
University of Science and Technology of China
https://docker.mirrors.ustc.edu.cn
Ali cloud
https://pee6w651.mirror.aliyuncs.com
Finally, I solved the problem with the following solution:
Into the/etc/docker
Check for daemon.JSON. This is the default configuration file for Docker.
If it is not new, if it is, change it.
Json
[root@zengmg docker]# vi daemon. Json
{
“registry-mirrors”: [“https://registry.docker-cn.com”,”http://hub-mirror.c.163.com”]
}
Save exit.

restart the docker service
service docker restart
Success!
 

Provider: SQL network interfaces, error: 25 http://www.itsvse.com/thre


SQL 2008 R2 prompts for error (Provider: SQL Network Interfaces, Error: 25 – Connection string is invalid)

This is my first link string, so it doesn’t seem wrong

string strConn = “server=ip:1433; database=db; uid=sa; pwd=123456;”

Finally, I found that the port after IP is not separated by:, but separated by:, so the correct way to write it is:

string strConn = “server=ip,1433; database=db; uid=sa; pwd=123456;”

– this article from the architect, the original address: http://www.itsvse.com/thread-1732-1-1.html

A new virtual machine cannot be connected to the network (error fetching interface information device not found),

After virtual machine cloning, it was found that the network could not be connected. The network was connected by bridge mode.

network card validates service network restart
Report error Interface information device not found

check the MAC address of two virtual machines is different, this is ok.

Google last error interface information device not found
detected a place in the file vim /etc/udev/rules.d/70-persistent net-net

has two lines. The first line is the network card Settings of the original virtual machine and the second is the network card Settings of the cloned machine. Remove the first line and change it to eth0.
After modification and preservation,
reboot,
B: Ping www.baidu.com will do.
Because of eth0 network configuration elsewhere.


About how to solve the 8050800c error when Windows Update updates the definition of Windows Defender

Description:
Under Windows 7 X64, when using Windows Update to Update the system, the relevant Update defined by Windows Defender malware could not be installed, and 8050800C error was always returned. At this point, when Windows Defender updates the definition, he will also report that the definition cannot be updated.
Solutions:
The following solution source: https://social.technet.microsoft.com/Forums/en-US/7b44be83-8a2e-4e3e-a851-cbc3076e4817/error-8050800c?forum=w7itprosecurity
1. Save the following as a batch file and run it in administrator mode:

@echo off

net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc

Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
Ren %systemroot%\system32\catroot2 catroot2.bak
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
cd /d %windir%\system32
regsvr32.exe atl.dll /s
regsvr32.exe urlmon.dll /s
regsvr32.exe mshtml.dll /s
regsvr32.exe shdocvw.dll /s
regsvr32.exe browseui.dll /s
regsvr32.exe jscript.dll /s
regsvr32.exe vbscript.dll /s
regsvr32.exe scrrun.dll /s
regsvr32.exe msxml.dll /s
regsvr32.exe msxml3.dll /s
regsvr32.exe msxml6.dll /s
regsvr32.exe actxprxy.dll /s
regsvr32.exe softpub.dll /s
regsvr32.exe wintrust.dll /s
regsvr32.exe dssenh.dll /s
regsvr32.exe rsaenh.dll /s
regsvr32.exe gpkcsp.dll /s
regsvr32.exe sccbase.dll /s
regsvr32.exe slbcsp.dll /s
regsvr32.exe cryptdlg.dll /s
regsvr32.exe oleaut32.dll /s
regsvr32.exe ole32.dll /s
regsvr32.exe shell32.dll /s
regsvr32.exe initpki.dll /s
regsvr32.exe wuapi.dll /s
regsvr32.exe wuaueng.dll /s
regsvr32.exe wuaueng1.dll /s
regsvr32.exe wucltui.dll /s
regsvr32.exe wups.dll /s
regsvr32.exe wups2.dll /s
regsvr32.exe wuweb.dll /s
regsvr32.exe qmgr.dll /s
regsvr32.exe qmgrprxy.dll /s
regsvr32.exe wucltux.dll /s
regsvr32.exe muweb.dll /s
regsvr32.exe wuwebv.dll /s


netsh winsock reset

netsh winhttp reset proxy

net start bits
net start wuauserv
net start appidsvc
net start cryptsvc



wuauclt /Updatenow

2. Manually download from here the latest definition library for the corresponding native system version of Windows Defender to install. Note: it is normal for downloaded files to run without any prompt.
3. Manually download the corresponding local system version of KB3177467 patch from here for installation.
4. Manually download the Windows Update troubleshooter from here and run it until it runs out.
5. After running all the above steps, restart the computer.
6. Open Windows Update in the control panel and repeatedly check for updates until no updates are available

Error checking for updates: unable to start update checking (error code is 4:0x80070005 – system level)

Update check cannot be started (error code: 4: 0x80070005 — System level). It is likely that the Chrome update service has been disabled, so I need to adjust to manual boot.
The

run

Win + R

open

services. MSC

Google Update Service (Gupdatem), Google Update Service (GupDate)
Go to Google Update Service (Gupdatem), Google Update Service (GupDate), change to manual, and then go to update Chrome.
Transfer: http://xiedexu.cn/chrome-update-error-code-4-0x80070005-system-level%EF%BC%89.htm

Reproduced in: https://www.cnblogs.com/itxdm/p/check_update_error_unable_to_start_the_update_inspection_error_code_40_x80070005__system_level.html

Could not find appears when JDK is configured java.dll Could not find Java se runtime environment problems

Error: could not find java.dll
Error: could not find Java Runtime Environment after installing the JDK before and after installing the new version.
There are two ways to do it

    rename C:\Program Files (x86)\Common Files\Oracle\Java\javapath java.exe put the system variable in the Path of %JAVA_HOME%\bin; Put in front of C:\Program Files (x86)\Common Files\Oracle\Java\javapath

I saw some bloggers who said that 1 didn’t work and 2 worked, but I used 1 and 2 didn’t work, so I could try both

Keil :error: identifier “int8_ T “is undefined

I spent the whole evening looking for mistakes:
Here is the error message:

*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'F:\Keil\ARM\ARMCC\Bin'
Rebuild target 'Target 1'
assembling startup_stm32f10x_hd.s...
compiling system_stm32f10x.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\CMSIS\system_stm32f10x.c: 0 warnings, 6 errors
compiling core_cm3.c...
compiling misc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\misc.c: 0 warnings, 6 errors
compiling stm32f10x_adc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c: 0 warnings, 6 errors
compiling stm32f10x_bkp.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c: 0 warnings, 6 errors
compiling stm32f10x_crc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c: 0 warnings, 6 errors
compiling stm32f10x_cec.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.c: 0 warnings, 6 errors
compiling stm32f10x_can.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c: 0 warnings, 6 errors
compiling stm32f10x_dbgmcu.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.c: 0 warnings, 6 errors
compiling stm32f10x_dac.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.c: 0 warnings, 6 errors
compiling stm32f10x_exti.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.c: 0 warnings, 6 errors
compiling stm32f10x_dma.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.c: 0 warnings, 6 errors
compiling stm32f10x_gpio.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.c: 0 warnings, 6 errors
compiling stm32f10x_i2c.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.c: 0 warnings, 6 errors
compiling stm32f10x_flash.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.c: 0 warnings, 6 errors
compiling stm32f10x_fsmc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.c: 0 warnings, 6 errors
compiling stm32f10x_pwr.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.c: 0 warnings, 6 errors
compiling stm32f10x_iwdg.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.c: 0 warnings, 6 errors
compiling stm32f10x_rcc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.c: 0 warnings, 6 errors
compiling stm32f10x_rtc.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.c: 0 warnings, 6 errors
compiling stm32f10x_spi.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.c: 0 warnings, 6 errors
compiling stm32f10x_sdio.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.c: 0 warnings, 6 errors
compiling stm32f10x_tim.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c: 0 warnings, 6 errors
compiling stm32f10x_usart.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c: 0 warnings, 6 errors
compiling main.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\User\main.c: 0 warnings, 6 errors
compiling stm32f10x_wwdg.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c: 0 warnings, 6 errors
compiling stm32f10x_it.c...
..\Libraries\CMSIS\stm32f10x.h(474): error:  #7: unrecognized token
    * @}
..\Libraries\CMSIS\stm32f10x.h(474): error:  #40: expected an identifier
    * @}
..\Libraries\CMSIS\stm32f10x.h(488): error:  #20: identifier "int8_t" is undefined
  typedef int8_t  s8;
..\Libraries\CMSIS\stm32f10x.h(492): error:  #20: identifier "int8_t" is undefined
  typedef const int8_t sc8;   /*!< Read Only */
..\Libraries\CMSIS\stm32f10x.h(496): error:  #20: identifier "int8_t" is undefined
  typedef 
_IO int8_t   vs8;
..\Libraries\CMSIS\stm32f10x.h(500): error:  #20: identifier "int8_t" is undefined
  typedef 
_I int8_t vsc8;   /*!< Read Only */
..\User\stm32f10x_it.c: 0 warnings, 6 errors
".\Objects\BH-F103.axf" - 156 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:10

I’ve been focusing on the identifier “int8_t” is undefined,
should actually start with the error check on the first line.
is
… H (474): error: #7: unrecognized token
* @}
will be fine once this problem is solved.

PS open prompt AMT subsystem failure solution

Ims Failure when using green version PS open, prompt AMT ims Failure
I do not know why, only after checking can I know that a Service does not turn on
but starts “FLEXnet Licensing Service” Service.
The first step
Right – click [Computer/my computer] to open and enter [Administration].

The second step
Expand services and applications into service management.

The third step
Go to FLEXnet Licensing Service in the Service and click [Start].

The other path
You can open the service by typing the command Services.msc in the run box.
open the control panel and find the administration tool.
open [service] in the admin tool