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

Carsey, Jaben jaben.carsey at intel.com
Tue Aug 24 16:20:50 UTC 2021


Adding the new maintainers.

From: 김서진 <canonicus at naver.com>
Sent: Sunday, August 22, 2021 10:52 PM
To: edk2-lists at mc2research.org; Carsey, Jaben <jaben.carsey at intel.com>
Cc: 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 (#79773): https://edk2.groups.io/g/devel/message/79773
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/3a8bdfde/attachment.htm>


More information about the edk2-devel-archive mailing list