instaling rtems on windows 10
alibanejad1376 at gmail.com
Thu Mar 18 14:25:05 UTC 2021
Thanks for the reply
I checked out rtems 7 and it seems to pass building gdb
It seems that the issue I mentioned is just for rtems 6
Also thanks for the ldflag tip. Yet I don't exactly know where to add this
flag. Is there some sort of file I need to edit and add the linker flag or
should I just pass it through the command line when building the rsb?
On Wed, Mar 17, 2021, 21:28 Gedare Bloom <gedare at rtems.org> wrote:
> On Wed, Mar 17, 2021 at 5:07 AM Alireza Banejad
> <alibanejad1376 at gmail.com> wrote:
> > hello every one
> > I'm trying to install rtems 6 arm toolchain on windows 10 but when the
> source builder tries to build the rtems-gdb-10 it results in an error
> > reading the report gives me the following:
> ../gnulib/import/libgnu.a(getrandom.o): in function `getrandom':
> undefined reference to `BCryptGenRandom'
> This looks relevant:
> It seems that the configure probe for getrandom picks up libbcrypt
> exists on your Windows, but then it does not get linked properly. This
> seems to be a gdb build system problem. Possibly a newer gdb has fixed
> it? You might be able to figure out how to add -lbcrypt to your linker
> flags (export LDFLAGS=-lbcrypt might just work) locally while
> compiling GDB.
> > collect2.exe: error: ld returned 1 exit status
> > make: *** [Makefile:1866: gdb.exe] Error 1
> > make: Leaving directory
> > make: *** [Makefile:9744: all-gdb] Error 2
> > make: Leaving directory '/c/opt/rtems/rsb/rtems/build/argfxwm1/build'
> > make: *** [Makefile:866: all] Error 2
> > shell cmd failed: sh -ex /c/opt/rtems/rsb/rtems/build/argfxwm1/do-build
> > error: building argfxwm1
> > Any thoughts?
> > _______________________________________________
> > users mailing list
> > users at rtems.org
> > http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users