Saturday, September 16, 2017

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

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.miller@gmail.com
>> <mailto:david.zod.miller@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

No comments:

Post a Comment