[edk2-devel] Question Using edk2-UDK2018 and VS2017

Michael D Kinney michael.d.kinney at intel.com
Tue Aug 24 16:24:41 UTC 2021


Seojin Kim,

Last week I made commits to the edk2-libc repo that resolved these issues so the edk2-libc repo can build with the latest edk2/master and support the VS2017 and VS2019 compilers.

Can you please try that latest code from edk2/master and edk2-libc/master and verify that all your issues are resolved?

Thanks,

Mike


From: Carsey, Jaben <jaben.carsey at intel.com>
Sent: Tuesday, August 24, 2021 9:21 AM
To: 김서진 <canonicus at naver.com>; edk2-lists at mc2research.org; devel at edk2.groups.io; Kinney, Michael D <michael.d.kinney at intel.com>; Rebecca Cran <rebecca at nuviainc.com>
Subject: RE: Question Using edk2-UDK2018 and VS2017

Adding the new maintainers.

From: 김서진 <canonicus at naver.com<mailto:canonicus at naver.com>>
Sent: Sunday, August 22, 2021 10:52 PM
To: edk2-lists at mc2research.org<mailto:edk2-lists at mc2research.org>; Carsey, Jaben <jaben.carsey at intel.com<mailto:jaben.carsey at intel.com>>
Cc: canonicus at naver.com<mailto:canonicus at naver.com>
Subject: Question Using edk2-UDK2018 and VS2017


Dear Daryl McDaniel and Jaben Carsey,

This is Seojin Kim from South Korea.

Currently, I am building a program using edk2-UDK2018<tel:2018> and Visual Studio 2017<tel:2017>.

But it is impossible to use the program as it is without modifying it because of a few errors, so some parts were modified.

Below is a description of the parts I have modified.

1. Error : c:\edk2\StdLib\Include\sys/EfiCdefs.h(342): warning C4117<tel:4117>

> I deleted the declaration of "__STDC_HOSTED__".



2. Error : warning C4459<tel:4459>, warning C4456<tel:4456>

> Warnings occurred because the local variables and the global variables had the same name, so I changed names of local variables.

(c:\edk2\StdLib\EfiSocketLib\Socket.c(2980<tel:2980>): warning C4459<tel:4459>: 'errno'

c:\edk2\StdLib\BsdSocketLib\getnetbyht.c(158): warning C4459<tel:4459>: 'net'

c:\edk2\StdLib\BsdSocketLib\ns_print.c(214): warning C4456<tel:4456>: 't')



3.  Error : unresolved external symbol "__fpclassifyd"

> I added "fpclassify.c" file to define __fpclassifyd referring to https://blog.csdn.net/humanof/article/details/118708586 (thanks to google translation).

> Also I modified LibC.inf file to add Main/fpclassify.c in [Source].



(Above description may contain some typos.. I apologize in advance.)



After these modifications, I succeeded to build my package.

However, I believe that your code is impeccable, so there must be something that I did wrong.

I would be very grateful if you could suggest a way to solve thr above problems.



Thank you,



Seojin Kim












-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79774): https://edk2.groups.io/g/devel/message/79774
Mute This Topic: https://groups.io/mt/85114580/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210824/fc0620ba/attachment.htm>


More information about the edk2-devel-archive mailing list