bbaranoff / openlte

GNU Affero General Public License v3.0
17 stars 17 forks source link

" make -j* " #3

Open SpongeBobaa opened 2 years ago

SpongeBobaa commented 2 years ago

[ 83%] Building CXX object LTE_fdd_dl_file_scan/CMakeFiles/_LTE_fdd_dl_fs.dir/src/LTE_fdd_dl_fsPYTHON_wrap.cxx.o LTE_fdd_enb_radio.cc: In member function ‘LTE_FDD_ENB_ERROR_ENUM LTE_fdd_enb_radio_bladerf::setup(uint32, double, int16, int16, uint8, uint32, uint32)’: LTE_fdd_enb_radio.cc:830:52: error: invalid conversion from ‘int’ to ‘bladerf_channel_layout’ [-fpermissive] In file included from /home/enha/apps/lteAttack/LTE_fdd_enodeb/hdr/LTE_fdd_enb_radio.h:56:0, from LTE_fdd_enb_radio.cc:63: /usr/local/include/libbladeRF.h:2577:15: note: initializing argument 2 of ‘int bladerf_sync_config(bladerf, bladerf_channel_layout, bladerf_format, unsigned int, unsigned int, unsigned int, unsigned int)’ int CALL_CONV bladerf_sync_config(struct bladerf dev, ^ LTE_fdd_enb_radio.cc:850:52: error: invalid conversion from ‘int’ to ‘bladerf_channel_layout’ [-fpermissive] In file included from /home/enha/apps/lteAttack/LTE_fdd_enodeb/hdr/LTE_fdd_enb_radio.h:56:0, from LTE_fdd_enb_radio.cc:63: /usr/local/include/libbladeRF.h:2577:15: note: initializing argument 2 of ‘int bladerf_sync_config(bladerf, bladerf_channel_layout, bladerf_format, unsigned int, unsigned int, unsigned int, unsigned int)’ int CALL_CONV bladerf_sync_config(struct bladerf dev, ^ LTE_fdd_enb_radio.cc: In member function ‘void LTE_fdd_enb_radio_bladerf::receive(LTE_FDD_ENB_RADIO_PARAMS_STRUCT)’: LTE_fdd_enb_radio.cc:977:76: error: invalid conversion from ‘int’ to ‘bladerf_direction’ [-fpermissive] In file included from /home/enha/apps/lteAttack/LTE_fdd_enodeb/hdr/LTE_fdd_enb_radio.h:56:0, from LTE_fdd_enb_radio.cc:63: /usr/local/include/libbladeRF.h:2503:15: note: initializing argument 2 of ‘int bladerf_get_timestamp(bladerf, bladerf_direction, bladerf_timestamp)’ int CALL_CONV bladerf_get_timestamp(struct bladerf dev, ^ LTE_fdd_enodeb/CMakeFiles/LTE_fdd_enodeb.dir/build.make:302: recipe for target 'LTE_fdd_enodeb/CMakeFiles/LTE_fdd_enodeb.dir/src/LTE_fdd_enb_radio.cc.o' failed make[2]: [LTE_fdd_enodeb/CMakeFiles/LTE_fdd_enodeb.dir/src/LTE_fdd_enb_radio.cc.o] Error 1 make[2]: 正在等待未完成的任务.... CMakeFiles/Makefile2:961: recipe for target 'LTE_fdd_enodeb/CMakeFiles/LTE_fdd_enodeb.dir/all' failed make[1]: [LTE_fdd_enodeb/CMakeFiles/LTE_fdd_enodeb.dir/all] Error 2 make[1]: 正在等待未完成的任务.... [ 85%] Linking CXX shared module _LTE_fdd_dl_fg.so [ 86%] Linking CXX shared module _LTE_fdd_dl_fs.so [ 88%] Built target _LTE_fdd_dl_fg [ 91%] Built target _LTE_fdd_dl_fs Makefile:138: recipe for target 'all' failed make: *** [all] Error 2

SpongeBobaa commented 2 years ago

Would you please teach me how to fix it ?