-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined references to `sys_rand32_get' #15565
Comments
Try to set these in prj.conf file
|
Thanks @jukkar. 1- This indeed fixes the qemu_cortex_m3 ninja. How did you figure out about those config options? Where can I get more info on how to identify which config=y I need? 2- qemu_x86 is still failing. I think that the problem is the toolchain that I'm using.
|
You can't compile qemu_x86 with a gcc-arm-none-eabi-7-2018-q2-update compiler. |
I just looked existing networking samples for clues, and these two options were used in many places when compiling for qemu. |
I see. I hoped there was a simpler way. |
FYI: I get this error on current master when building google mqtt demo for Solved by adding following into
|
Describe the bug
I get
undefined references to
sys_rand32_get'` after building a zephyr app with qemu_cortex_m3 or qemu_x86, while the same setup seems working for nrf52840_pca10056.To Reproduce
Steps to reproduce the behavior:
Expected behavior
ninja completing the build
Screenshots or console output
Environment (please complete the following information):
-GNUARMEMB_TOOLCHAIN_PATH="~/opt/gcc-arm-none-eabi-7-2018-q2-update/"
Additional context
It works with
cmake -GNinja -DBOARD= nrf52840_pca10056 -DBUILD_XCOMPILE=1 ../
while it doesn't work for
cmake -GNinja -DBOARD= qemu_x86 -DBUILD_XCOMPILE=1 ../
The text was updated successfully, but these errors were encountered: