discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GNURadio build swig code fail on USB


From: David
Subject: Re: [Discuss-gnuradio] GNURadio build swig code fail on USB
Date: Sun, 17 Sep 2017 14:29:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Hi Cinaed,
Sorry no, USB build was first, after clean install of OS, then UHD.
Only "cmake .. " disabled component left was gr-comedi.
I think this may be a file-system thing, maybe how it is mounted?
Dave


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:

address@hidden:/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 <address@hidden
<mailto:address@hidden>> 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

     address@hidden:~/gnuradio/build$ find . -name _pmt_swig_doc_tag
     ./gnuradio-runtime/swig/_pmt_swig_doc_tag

     address@hidden:~/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
     address@hidden <mailto:address@hidden>
     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
     <https://lists.gnu.org/mailman/listinfo/discuss-gnuradio>




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


_______________________________________________
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]