Hi Matej, I've had success with the following command compiling gnuradio on another raspberry pi like ARM based board, I believe it will get you past the NEON / ASM errors. This command was taken from the gnuradio embedded page [1]
cmake -DCMAKE_C_FLAGS="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9" -DCMAKE_ASM_FLAGS="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon" ../ You will need to add an external swap as others have suggested in this thread, or it will most likely fail part way though the compile. The RBPI Model B (v1) is going to take quite a while to compile Gnuradio. You might want to check out these other Raspberry pi type boards, the Odroid XU4 or C1+ [2,3,4]. Both have gigabit and are considerably more powerful than the Rbpi v1 (and v2). Another option might be to use an Intel NUC which is available with various processor configurations. I have an Odroid C1 I can test with a N series and will report back my findings to this thread. [1] https://gnuradio.org/redmine/projects/gnuradio/wiki/Embedded [2] http://www.hardkernel.com/main/main.php [3] http://ameridroid.com/products/odroid-c1 [4] http://ameridroid.com/products/odroid-xu4 - Nate > On Jan 14, 2016, at 2:46 AM, Matej Kovacic <[email protected]> wrote: > > Hi, > >> You could just watch a movie or something and build natively on the PI. >> Just be careful of memory constraints. Maybe a -j 1 or a USB drive >> mounted as swap would be a good idea. > > In fact that would be probably the best solution for my level of > knowkedge. However, compiling GNURadio on RPi also doesn't work. > > Here is the problem: > > I say: > cmake .. > > and then make, and got this error: > > [ 2%] Building ASM object > volk/lib/CMakeFiles/volk_obj.dir/__/kernels/volk/asm/neon/volk_32f_x2_dot_prod_32f_neonasm_opts.s.o > /home/pi/gnuradio/gnuradio-3.7.9/volk/kernels/volk/asm/neon/volk_32f_x2_dot_prod_32f_neonasm_opts.s: > Assembler messages: > /home/pi/gnuradio/gnuradio-3.7.9/volk/kernels/volk/asm/neon/volk_32f_x2_dot_prod_32f_neonasm_opts.s:46: > Error: selected processor does not support ARM mode `sbfx r11,r1,#2,#1' > volk/lib/CMakeFiles/volk_obj.dir/build.make:1479: recipe for target > 'volk/lib/CMakeFiles/volk_obj.dir/__/kernels/volk/asm/neon/volk_32f_x2_dot_prod_32f_neonasm_opts.s.o' > failed > make[2]: *** > [volk/lib/CMakeFiles/volk_obj.dir/__/kernels/volk/asm/neon/volk_32f_x2_dot_prod_32f_neonasm_opts.s.o] > Error 1 > CMakeFiles/Makefile2:233: recipe for target > 'volk/lib/CMakeFiles/volk_obj.dir/all' failed > make[1]: *** [volk/lib/CMakeFiles/volk_obj.dir/all] Error 2 > Makefile:147: recipe for target 'all' failed > make: *** [all] Error 2 > > > Please note: this is compiling ON RPi. > > Regards, > > Matej > -- > PGP Fingerprint: 3B74 637D 8409 53F9 A704 F27C BEA5 286D A9CF 4A88 > PGP Key: > https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xBEA5286DA9CF4A88 > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
