From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.5038.1602653729828862793 for ; Tue, 13 Oct 2020 22:35:30 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 14 Oct 2020 13:35:25 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , References: <908e41f8a6b24ad5b676964b5b6021ec@zhaoxin.com> <000b01d6a148$18c306c0$4a491440$@byosoft.com.cn> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gT3BlbnNzbExpYiBjb21waWxpbmcgZXJyb3IgOiBjYW5ub3Qgb3BlbiBpbmNsdWRlIGZpbGUgOiBvcGVuc3NsL2Flcy5o?= Date: Wed, 14 Oct 2020 13:35:27 +0800 Message-ID: <003801d6a1eb$d2d15910$78740b30$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJK+tqujCT1vWqF6juB+714637cWwKeKiGoAo/uIxiohHCYwA== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn cc_resp.txt includes the compiler flag and include path. It will be used by= the compiler. Then, the compile command line length can be reduced. It can= avoid nmake limitation of the command line length 4096.=20 Thanks Liming > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: bounce+27952+66197+4905953+8761045@groups.i= o > =E4=BB=A3=E8=A1=A8 Tiger > Liu(BJ-RD) > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2020=E5=B9=B410=E6=9C=8814=E6=97= =A5 9:45 > =E6=94=B6=E4=BB=B6=E4=BA=BA: gaoliming ; devel= @edk2.groups.io > =E4=B8=BB=E9=A2=98: =E7=AD=94=E5=A4=8D: [edk2-devel] OpensslLib compilin= g error : cannot open include > file : openssl/aes.h >=20 > Hi, Liming: > From Build.log, it seems include path is ok: > ...... > cl.exe" > /Foy:\Build\ZxxPlatformPkg\DEBUG_VS2015x86\X64\CryptoPkg\Library\Base > CryptLib\RuntimeCryptLib\OUTPUT\Hash\ /showIncludes /nologo /c /GS- > /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF > /Z7 /Gw /wd4090 - > ...... > /Iy:\CryptoPkg /Iy:\CryptoPkg\Include /Iy:\CryptoPkg\Private > /Iy:\CryptoPkg\Library\Include > /Iy:\CryptoPkg\Library\OpensslLib\openssl\include > y:\CryptoPkg\Library\BaseCryptLib\Hash\CryptSm3.c > y:\CryptoPkg\Library\BaseCryptLib\Hash\CryptMd5.c > y:\CryptoPkg\Library\BaseCryptLib\Hash\CryptSha256.c > y:\CryptoPkg\Library\BaseCryptLib\Hash\CryptSha512Null.c > y:\CryptoPkg\Library\BaseCryptLib\Hash\CryptSha1.c >=20 > And BaseCryptLib / IntrinsicLib compiled successfully. >=20 > And I found a cc_resp.txt file in > Build\...\DEBUG_VS2015x86\X64\CryptoPkg\Library\OpensslLib\OpensslLib\ > OUTPUT > Why produce a cc_resp.txt? >=20 > Thanks > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: gaoliming > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2020=E5=B9=B410=E6=9C=8813=E6=97= =A5 18:03 > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io; Tiger Liu(BJ-RD) > =E4=B8=BB=E9=A2=98: =E5=9B=9E=E5=A4=8D: [edk2-devel] OpensslLib compilin= g error : cannot open include > file : openssl/aes.h >=20 > Can you print the full build log and check the compiler include path? >=20 > Is this a clean build issue or incremental build issue? >=20 > Thanks > Liming > > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > > =E5=8F=91=E4=BB=B6=E4=BA=BA: bounce+27952+66166+4905953+8761045@groups= .io > > =E4=BB=A3=E8=A1=A8 Tige= r > > Liu(BJ-RD) > > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2020=E5=B9=B410=E6=9C=8813=E6=97= = =A5 16:38 > > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io > > =E4=B8=BB=E9=A2=98: [edk2-devel] OpensslLib compiling error : cannot o= pen include file : > > openssl/aes.h > > > > Hi, experts: > > When I compiled OpensslLib, I met a problem: > > ...... > > \CryptoPkg\Library\OpensslLib\openssl\crypto\aes\aes_core.c(42): fatal > > error C1083: Cannot open include file: 'openssl/crypto.h': No such > > file or directory > > \CryptoPkg\Library\OpensslLib\openssl\crypto\aes\aes_misc.c(10): fatal > > error C1083: Cannot open include file: 'openssl/opensslv.h': No such > > file or directory ...... > > > > But these files exist in > > CryptoPkg\Library\OpensslLib\openssl\include\openssl . > > > > Does anybody meet same problems? > > > > Note: > > CryptoPkg.dec has also declared this include path: > > ...... > > [Includes.Common.Private] > > Private > > Library/Include > > Library/OpensslLib/openssl/include > > ...... > > > > Thanks > > > > > > =E4=BF=9D=E5=AF=86=E5=A3=B0=E6=98=8E=EF=BC=9A > > =E6=9C=AC=E9=82=AE=E4=BB=B6=E5=90=AB=E6=9C=89=E4=BF=9D=E5=AF=86=E6=88= =96=E4=B8=93=E6=9C=89=E4=BF=A1=E6=81=AF=EF=BC=8C=E4=BB=85=E4=BE=9B=E6=8C= =87=E5=AE=9A=E6=94=B6=E4=BB=B6=E4=BA=BA=E4=BD=BF=E7=94=A8=E3=80=82=E4=B8= =A5=E7=A6=81=E5=AF=B9=E6=9C=AC=E9=82=AE=E4=BB=B6=E6=88=96 > =E5=85=B6 > > =E5=86=85=E5=AE=B9=E5=81=9A=E4=BB=BB=E4=BD=95=E6=9C=AA=E7=BB=8F=E6=8E= =88=E6=9D=83=E7=9A=84=E6=9F=A5=E9=98=85=E3=80=81=E4=BD=BF=E7=94=A8=E3=80= =81=E5=A4=8D=E5=88=B6=E6=88=96=E8=BD=AC=E5=8F=91=E3=80=82 > > CONFIDENTIAL NOTE: > > This email contains confidential or legally privileged information and > > is for the sole use of its intended recipient. Any unauthorized > > review, use, copying or forwarding of this email or the content of thi= s email is > strictly prohibited. > > > > > > > > >=20 >=20 >=20 >=20 >=20 > =E4=BF=9D=E5=AF=86=E5=A3=B0=E6=98=8E=EF=BC=9A > =E6=9C=AC=E9=82=AE=E4=BB=B6=E5=90=AB=E6=9C=89=E4=BF=9D=E5=AF=86=E6=88=96= = =E4=B8=93=E6=9C=89=E4=BF=A1=E6=81=AF=EF=BC=8C=E4=BB=85=E4=BE=9B=E6=8C=87= =E5=AE=9A=E6=94=B6=E4=BB=B6=E4=BA=BA=E4=BD=BF=E7=94=A8=E3=80=82=E4=B8=A5= =E7=A6=81=E5=AF=B9=E6=9C=AC=E9=82=AE=E4=BB=B6=E6=88=96=E5=85=B6 > =E5=86=85=E5=AE=B9=E5=81=9A=E4=BB=BB=E4=BD=95=E6=9C=AA=E7=BB=8F=E6=8E=88= = =E6=9D=83=E7=9A=84=E6=9F=A5=E9=98=85=E3=80=81=E4=BD=BF=E7=94=A8=E3=80=81= =E5=A4=8D=E5=88=B6=E6=88=96=E8=BD=AC=E5=8F=91=E3=80=82 > CONFIDENTIAL NOTE: > This email contains confidential or legally privileged information and i= s for the > sole use of its intended recipient. Any unauthorized review, use, copyin= g or > forwarding of this email or the content of this email is strictly prohib= ited. >=20 >=20 >=20 >=20