discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] PROBLEM INSTALLING "GR-FBMC" WITH PyBOMBS


From: Ron Economos
Subject: Re: [Discuss-gnuradio] PROBLEM INSTALLING "GR-FBMC" WITH PyBOMBS
Date: Mon, 9 Apr 2018 18:04:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

It's a classic case of code "bit rot". gr-fbmc is including gnuradio/types.h to provide a typedef for "gr_uint16". But that typedef was removed last year with this commit.

https://github.com/gnuradio/gnuradio/commit/e2d611fabf29cde2c0b4a9b3305bcf56160e1155

You'll have to edit the file gr-fbmc/lib/fbmc_config.cc and change lines 277 and 278 from:

gr_uint16 start_state = 0xACE1u; /* Any nonzero start start will work. */
gr_uint16  lfsr = start_state;

to:

uint16_t start_state = 0xACE1u; /* Any nonzero start start will work. */
uint16_t  lfsr = start_state;

Ron

On 04/09/2018 05:32 PM, Elkin Ducuara wrote:
Hi everyone

I want to install gr-fbmc from pybombs. For this reason i executed the next command:

~$sudo pybombs install gr-fbmc

But i have gotten the next errors:

"PyBOMBS - INFO - PyBOMBS Version 2.3.3a0
PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing.
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gr-fbmc
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: gr-fbmc
PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing.
Clonar en «gr-fbmc»...
remote: Counting objects: 3770, done.
remote: Total 3770 (delta 0), reused 0 (delta 0), pack-reused 3770
Receiving objects: 100% (3770/3770), 2.77 MiB | 85.00 KiB/s, done.
Resolving deltas: 100% (2971/2971), done.
Comprobando la conectividad… hecho.
PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing.
Configuring: (100%) [=========================================================]
Building:    (100%) [=========================================================]
[  1%] Building CXX object lib/CMakeFiles/gnuradio-fbmc.dir/fbmc_config.cc.o
/usr/local/src/gr-fbmc/lib/fbmc_config.cc: In member function ‘void gr::fbmc::fbmc_config::gen_preamble_sym()’:
/usr/local/src/gr-fbmc/lib/fbmc_config.cc:277:7: error: ‘gr_uint16’ was not declared in this scope
       gr_uint16 start_state = 0xACE1u; /* Any nonzero start start will work. */
       ^
/usr/local/src/gr-fbmc/lib/fbmc_config.cc:278:18: error: expected ‘;’ before ‘lfsr’
       gr_uint16  lfsr = start_state;
                  ^
/usr/local/src/gr-fbmc/lib/fbmc_config.cc:285:17: error: ‘lfsr’ was not declared in this scope
         bit = ((lfsr >> 0) ^ (lfsr >> 2) ^ (lfsr >> 3) ^ (lfsr >> 5)) & 1;
                 ^
lib/CMakeFiles/gnuradio-fbmc.dir/build.make:62: fallo en las instrucciones para el objetivo 'lib/CMakeFiles/gnuradio-fbmc.dir/fbmc_config.cc.o'
make[2]: *** [lib/CMakeFiles/gnuradio-fbmc.dir/fbmc_config.cc.o] Error 1
CMakeFiles/Makefile2:137: fallo en las instrucciones para el objetivo 'lib/CMakeFiles/gnuradio-fbmc.dir/all'
make[1]: *** [lib/CMakeFiles/gnuradio-fbmc.dir/all] Error 2
Makefile:138: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
PyBOMBS.Packager.source - ERROR - Build failed. See output above for error messages.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package gr-fbmc:
Build failed.
PyBOMBS.install_manager - ERROR - Error installing package gr-fbmc. Aborting.
"

If anyone have had the same problem and/or know how solve it, please write me.

Thanks.


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]