[RTEMS Project] #4447: rtems-source-builder undefined reference to `BCryptGenRandom'

RTEMS trac trac at rtems.org
Tue Jun 1 13:47:37 UTC 2021


#4447: rtems-source-builder  undefined reference to `BCryptGenRandom'
-------------------------+---------------------
 Reporter:  Burak Deniz  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:
Component:  admin        |     Version:  6
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+---------------------

Comment (by Burak Deniz):

 Replying to [comment:1 Joel Sherrill]:
 > This looks like gdb on msys2 is not being linked against a random number
 library.
 >
 > https://docs.microsoft.com/en-us/windows/win32/api/bcrypt/nf-bcrypt-
 bcryptgenrandom
 >
 > Also looks like that may be deprecated.

 Hello Joel, thank you for your comment.
 I check the file on this path ;"/mingw64/x86_64-w64-mingw32/include" by
 grep and the file is exist bu not exist "/mingw64/include". I will try to
 copy or install.
 $find . | grep "bcrypt.h"
 ./bcrypt.h

--
Ticket URL: <http://devel.rtems.org/ticket/4447#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list