Hi Jorge,

hope you don't mind me replying on the list itself - as this is really just the same email as before :)

So, yes, you'll need one of gmp or mpir. But these should be there, since you already seem to have built GNU Radio for the ARM target, right?

That's what's confusing me.

Best regards,
Marcus

On 25.10.22 19:20, JORGE GONZALEZ ORELLANA wrote:
sure, here is the text of the screenshot:

{{{
uno@uno-laptop:~$  . ~/rfnoc/src/e3xx_e310_sdk_default-v4.2.0.1/OE_SDK/environment-setup-cortexa9t2hf-neon-oe-linux-gnueabi
Your environment is misconfigured, you probably need to 'unset LD_LIBRARY_PATH'
but please check why this was set in the first place and that it's safe to 
unset.
The SDK will not operate correctly in most cases when LD_LIBRARY_PATH is set.
For more references see:
http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80
http://xahlee.info/UnixResource_dir/_/ldpath.html
uno@uno-laptop:~$ ^C
uno@uno-laptop:~$ unset LD_LIBRARY_PATH
uno@uno-laptop:~$  . ~/rfnoc/src/e3xx_e310_sdk_default-v4.2.0.1/OE_SDK/environment-setup-cortexa9t2hf-neon-oe-linux-gnueabi
uno@uno-laptop:~$ which cmake
/home/uno/rfnoc/src/e3xx_e310_sdk_default-v4.2.0.1/OE_SDK/sysroots/x86_64-oesdk-linux/usr/bin/cmake
uno@uno-laptop:~$ echo $CC
arm-oe-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/home/uno/rfnoc/src/e3xx_e310_sdk_default-v4.2.0.1/OE_SDK/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi
uno@uno-laptop:~$ gnuradio --version
bash: gnuradio: orden no encontrada
uno@uno-laptop:~$ gnuradio-config-info --version
3.8.5.0
uno@uno-laptop:~$ cd ~/rfnoc/src/gr-ettus/build-arm
uno@uno-laptop:~/rfnoc/src/gr-ettus/build-arm$ cmake -DCMAKE_TOOLCHAIN_FILE=~/rfnoc/src/gnuradio/cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- Build type not specified: defaulting to release.
-- Checking for module 'gmp'
--   No package 'gmp' found
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- User set python executable /__w/83/build/tmp-glibc/work/cortexa9t2hf-neon-oe-linux-gnueabi/gnuradio/3.8.3.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3 CMake Error at /home/uno/rfnoc/src/e3xx_e310_sdk_default-v4.2.0.1/OE_SDK/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/cmake/gnuradio/GrPython.cmake:40 (if):
  if given arguments:

    "VERSION_EQUAL" "3"

  Unknown arguments specified
Call Stack (most recent call first):
/home/uno/rfnoc/src/e3xx_e310_sdk_default-v4.2.0.1/OE_SDK/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/cmake/gnuradio/GnuradioConfig.cmake:51 (include)
  CMakeLists.txt:59 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/uno/rfnoc/src/gr-ettus/build-arm/CMakeFiles/CMakeOutput.log".
See also "/home/uno/rfnoc/src/gr-ettus/build-arm/CMakeFiles/CMakeError.log".
uno@uno-laptop:~/rfnoc/src/gr-ettus/build-arm$
}}}

El mar, 25 oct 2022 a las 14:14, Marcus Müller (<marcus.muel...@ettus.com>) 
escribió:

    Hi Jorge,

    I sadly can't read your screenshot. Would you mind Copy and Pasting the 
text?
    GMP and MPIR are the same thing. You only need one of them, not both!

    Best regards,
    Marcus


    On 25.10.22 18:57, Marcus D. Leech wrote:
    > On 2022-10-25 12:17, JORGE GONZALEZ ORELLANA via GNU Radio, the Free & 
Open-Source
    Toolkit
    > for Software Radio wrote:
    >> hi, i'm trying to install a usrp E312 using the follow guide:
    >>
    >> {{{
    >>
    
https://kb.ettus.com/Software_Development_on_the_E3xx_USRP_-_Building_RFNoC_UHD_/_GNU_Radio_/_gr-ettus_from_Source#Cross-Compiling_gr-ettus
    >> }}}
    >>
    >> when i get to the cross-compiling gr-ettus step i get this error:
    >>
    >> image.png
    >>
    >> I make sure to set the environment correctly to use the SDK, and as far 
as i
    know, the
    >> gmp and mpir package are installed, so if someone can help me, i will 
appreciate
    it a lot.
    >>
    >> thanks for your time
    >>
    >> JGO
    > Are those two packages installed into your *HOST* environment or your 
*CROSS DEV*
    > environment?
    >
    >
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to