It works for me - but my setup is slightly different. I have a odroid-xu4 using emmc for the internal drive and it's running Debian 8.8.
Ubuntu is a fork of Debian so typically (system wise) what works on Debian should work on Ubuntu. I started building gnuradio on a 64 GByte USB2 thumb drive plugged into one of USB3 ports. I killed the build after it reached 50%. First, make sure the USB drive is mounted. Then look at the partitions on your USB drive - they should look similar to the following - I'm using the entire USB drive as a single partition: root@poynting:/home/cinaed# fdisk -l /dev/sda Disk /dev/sda: 59.2 GiB, 63518539776 bytes, 124059648 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type dev/sda1 32 124059647 124059616 59.2G 83 Linux Make sure mounting of the USB drive is what you expect: root@poynting:/home/cinaed# mount | grep mnt /dev/sda1 on /mnt type ext4 (rw,relatime,data=ordered) A make on SDCARD shouldn't impact a make on the USB drive. -- Cinaed On 09/18/2017 09:18 AM, David wrote: > oops, > > USB mount should be > > # mount /dev/sda1 /mnt > > > On 18/09/17 17:09, David wrote: >> Hi Cinaed, >> >> OS is installed on SD card (no emmc). >> >> I built UHD, as odroid user, on the USB drive, cmake, make, sudo make >> install. Works fine. >> >> Then try to build GNURadio, as odroid user, on USB drive, cmake, >> make... then the permission denied. >> Tried building as root (after blowing away the build dir contents), >> cmake, make, then the permission denied. >> >> Then build GNURadio, as odroid user, on SD card, cmake, make, sudo >> make install. Works fine. >> >> Weird thing is, then I can then do make OK on the USB drive. >> Is there some persistent info stored in odroid home dir, or elsewhere? >> Because if I do make uninstall on the SD card, I can't then do a make >> on the USB drive for same reason (after blowing the build dir away). >> >> I want to build on the USB drive so that I have all the build-able >> source on the USB, in case I have to re-instate the OS, flexibility, >> and reduced download time (as I have had to do several times due to >> power issues causing corruptions on the SD card. This is probably >> sorted now I have a good PSU, but also to reduce wear on the SD card. >> >> fstab mount: >> UUID=eb5f2117-4e3c-459d-9f58-ef87e6428a25 /home/odroid ext4 >> defaults,noatime,user 0 2 >> >> yet mounting as >> # mount /dev/sdd1 /mnt >> make no difference. >> >> Thank you, >> Dave >> >> >> On 18/09/17 07:02, Cinaed Simson wrote: >>> On 09/17/2017 06:29 AM, David wrote: >>>> Hi Cinaed, >>>> Sorry no, USB build was first, after clean install of OS, then UHD. >>> Just to be clear, you re-installed the os on the odroid and not the usb >>> drive? >>> >>> Have you built the UHD software on the usb drive? >>> >>> Blow away the build directory and try it again. >>> >>> If it fails, try it as root. >>> >>> Look at the log files >>> >>> dmesg >>> /var/log/messages >>> /var/log/syslog >>> >>>> Only "cmake .. " disabled component left was gr-comedi. >>> Type >>> >>> apt-get install libcomedi-dev >>> >>>> I think this may be a file-system thing, maybe how it is mounted? >>>> Dave >>> How did you mount it? >>> >>> Type >>> >>> mount >>> >>> Are you using usb drive, sdcard and emmc card simultaneously on the >>> droid? >>> >>> If you are, try removing the sdcard and build it as root on the usb >>> drive. >>> >>> If worse comes to worse, tar the gnuradio installation on the sdcard and >>> transfer it the usb drive. Then setup a link to so it matches the path >>> to the gnuradio root. >>> >>> -- Cinaed >>> >>>> >>>> On 16/09/17 21:44, Cinaed Simson wrote: >>>>> My guess is the sdcard version is installed and when your try to build >>>>> the USB version, the paths are getting confused. >>>>> >>>>> I'd recommend doing a >>>>> >>>>> make uninstall >>>>> >>>>> for the sdcard version, build the USB version, remove the USB stick >>>>> then >>>>> re-install the sdcard version >>>>> >>>>> make install >>>>> >>>>> To uninstall gnuradio you have to have a complete build directory. >>>>> >>>>> -- Cinaed >>>>> >>>>> >>>>> >>>>> On 09/16/2017 07:48 AM, David wrote: >>>>>> Hello Kyeong, >>>>>> >>>>>> Thanks for the reply, It's ext4, the OS is Ubuntu, >>>>>> >>>>>> Doing lsattr, for example: >>>>>> >>>>>> root@odroid:/mnt# lsattr >>>>>> -------------e-- ./uhd >>>>>> -------------e-- ./lost+found >>>>>> -------------e-- ./gnuradio >>>>>> -------------e-- ./gnuradio.broken >>>>>> >>>>>> Don't know if that is relevant, includes the permission denied files, >>>>>> and mounted: >>>>>> >>>>>> UUID=eb5f2117-4e3c-459d-9f58-ef87e6428a25 /home/odroid ext4 >>>>>> defaults,noatime,user 0 2 >>>>>> >>>>>> Maybe a clue, >>>>>> >>>>>> Regards, >>>>>> >>>>>> Dave >>>>>> >>>>>> >>>>>> On 16/09/17 15:31, Kyeong Su Shin wrote: >>>>>>> Hello David: >>>>>>> >>>>>>> How is your USB drive formatted? Is it using ext3/4, or something >>>>>>> equivalent (POSIX-style)? >>>>>>> >>>>>>> Regards, >>>>>>> Kyeong Su Shin >>>>>>> >>>>>>> On Sat, Sep 16, 2017 at 4:50 AM, David <david.zod.mil...@gmail.com >>>>>>> <mailto:david.zod.mil...@gmail.com>> wrote: >>>>>>> >>>>>>> Hi All, >>>>>>> >>>>>>> Building GNURadio on a mounted USB drive (on an Odroid ARM >>>>>>> device), fails here: >>>>>>> >>>>>>> Scanning dependencies of target _pmt_swig_doc_tag >>>>>>> [ 9%] Building CXX object >>>>>>> gnuradio-runtime/swig/CMakeFiles/_pmt_swig_doc_tag.dir/_pmt_swig_doc_tag.cpp.o >>>>>>> >>>>>>> >>>>>>> [ 9%] Linking CXX executable _pmt_swig_doc_tag >>>>>>> [ 9%] Built target _pmt_swig_doc_tag >>>>>>> Scanning dependencies of target pmt_swig_swig_doc >>>>>>> [ 9%] Generating doxygen xml for pmt_swig_doc docs >>>>>>> /bin/sh: 1: *./_pmt_swig_doc_tag: Permission denied* >>>>>>> gnuradio-runtime/swig/CMakeFiles/pmt_swig_swig_doc.dir/build.make:72: >>>>>>> >>>>>>> recipe for target >>>>>>> 'gnuradio-runtime/swig/pmt_swig_doc_swig_docs/xml/index.xml' >>>>>>> failed >>>>>>> make[2]: *** >>>>>>> [gnuradio-runtime/swig/pmt_swig_doc_swig_docs/xml/index.xml] >>>>>>> Error 126 >>>>>>> CMakeFiles/Makefile2:1287: recipe for target >>>>>>> 'gnuradio-runtime/swig/CMakeFiles/pmt_swig_swig_doc.dir/all' >>>>>>> failed >>>>>>> make[1]: *** >>>>>>> [gnuradio-runtime/swig/CMakeFiles/pmt_swig_swig_doc.dir/all] >>>>>>> Error 2 >>>>>>> Makefile:160: recipe for target 'all' failed >>>>>>> make: *** [all] Error 2 >>>>>>> >>>>>>> odroid@odroid:~/gnuradio/build$ find . -name _pmt_swig_doc_tag >>>>>>> ./gnuradio-runtime/swig/_pmt_swig_doc_tag >>>>>>> >>>>>>> odroid@odroid:~/gnuradio/build$ *ls -l >>>>>>> ./gnuradio-runtime/swig/_pmt_swig_doc_tag** >>>>>>> -rwxrwxr-x 1 odroid odroid 8164 Sep 16 11:01 >>>>>>> ./gnuradio-runtime/swig/_pmt_swig_doc_tag* >>>>>>> >>>>>>> * >>>>>>> * >>>>>>> >>>>>>> *Whereas, building on the local SD card works!* >>>>>>> >>>>>>> >>>>>>> Scanning dependencies of target runtime_swig_swig_doc >>>>>>> [ 11%] Built target runtime_swig_swig_doc >>>>>>> Scanning dependencies of target pmt_swig_swig_doc >>>>>>> [ 11%] Built target pmt_swig_swig_doc >>>>>>> Scanning dependencies of target _pmt_swig_swig_tag >>>>>>> [ 11%] Building CXX object >>>>>>> gnuradio-runtime/swig/CMakeFiles/_pmt_swig_swig_tag.dir/_pmt_swig_swig_tag.cpp.o >>>>>>> >>>>>>> >>>>>>> [ 11%] Linking CXX executable _pmt_swig_swig_tag >>>>>>> [ 11%] Built target _pmt_swig_swig_tag >>>>>>> >>>>>>> Anyone encountered this, or knows why building swig on >>>>>>> mounted USB >>>>>>> drive fails please? >>>>>>> >>>>>>> Thanks, >>>>>>> Dave >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Discuss-gnuradio mailing list >>>>>>> Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org> >>>>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>>>>>> <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio> >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Discuss-gnuradio mailing list >>>>>> Discuss-gnuradio@gnu.org >>>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>>>>> >>>>> _______________________________________________ >>>>> Discuss-gnuradio mailing list >>>>> Discuss-gnuradio@gnu.org >>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>>> >>> >> > > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio