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

RTEMS trac trac at rtems.org
Tue Jun 1 12:55:05 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       |   Keywords:
Blocked By:               |   Blocking:
--------------------------+--------------------
 When trying to build RTEMS by RSB with below instruction I get following
 error;

 "../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 6
 /rtems-sparc"

 Error; "
 C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 ../gnulib/import/libgnu.a(getrandom.o): in function `getrandom':

 C:\msys64\home\w7\quick-
 start\src\rsb\rtems\build\srg7xwm1\build\gnulib\import
 /../../../sourceware-mirror-binutils-gdb-
 7ab567f/gnulib/import/getrandom.c:129: undefined reference to
 `BCryptGenRandom'

 collect2.exe: error: ld returned 1 exit status

 make[2]: *** [Makefile:1866: gdb.exe] Error 1

 make[2]: Leaving directory '/c/msys64/home/w7/quick-
 start/src/rsb/rtems/build/srg7xwm1/build/gdb'

 make[1]: *** [Makefile:9410: all-gdb] Error 2

 make[1]: Leaving directory '/c/msys64/home/w7/quick-
 start/src/rsb/rtems/build/srg7xwm1/build'

 make: *** [Makefile:866: all] Error 2

 shell cmd failed: sh -ex  /c/msys64/home/w7/quick-
 start/src/rsb/rtems/build/srg7xwm1/do-build

 error: building srg7xwm1
 "

 OS: Windows 7 64 bit,
 Rtems Version: 6
 using MSYS2

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


More information about the bugs mailing list