[Nfd-dev] How to NFD on Raspberry Pi from Source

Eric Newberry enewberry at cs.ucla.edu
Sat Apr 11 13:18:57 PDT 2020


Gordon,

This issue should be resolved in the latest git head version of ndn-cxx.

Eric

On 4/10/2020 12:55 PM, Eric Newberry wrote:
>
> After some investigation, I've opened a Redmine issue for this: 
> https://redmine.named-data.net/issues/5100
>
> Eric
>
> On 4/10/2020 12:34 AM, Eric Newberry wrote:
>>
>> I am also encountering this issue with the latest git head version of 
>> ndn-cxx on a Raspberry Pi 4 Model B with a fresh install of Raspbian.
>>
>> Eric
>>
>> On 4/9/2020 10:33 PM, Gordon via Nfd-dev wrote:
>>> Hi Ashiq,
>>> Thank you for your reply, I followed the tutorial you gave me.But I 
>>> got an error when compiling ndncxx(In the ./waf step)
>>> My Raspberry Pi is Raspberry Pi 4B and the memory is 4GB, so I am 
>>> not using the clang compiler.
>>>
>>> Let me introduce my information:
>>> *gcc:version: 8.3.0*
>>> *ndncxx version: 0.7.0 
>>>  commit:52a803cb9d0021fc03b1a174915008994aa14adc *
>>> *OS version:** Raspbian Buster Lite 10*
>>> *openssl version: **1.1.1d-0+deb10u2+rpt1*
>>>
>>> I was trying to install ndn-cxx from the official sources and I'm getting this error:
>>> *[187/203] Compiling tools/ndnsec/list.cpp*
>>> *[188/203] Compiling tools/ndnsec/cert-dump.cpp*
>>> *[189/203] Compiling tools/ndnsec/import.cpp*
>>> *[190/203] Compiling tools/ndnsec/export.cpp*
>>> *[191/203] Compiling tools/ndnsec/unlock-tpm.cpp*
>>> *[192/203] Compiling tools/ndnsec/cert-install.cpp*
>>> *[193/203] Linking build/libndn-cxx.so*
>>> *[194/203] Compiling tools/ndnsec/key-gen.cpp*
>>> *[195/203] Compiling tools/ndnsec/util.cpp*
>>> *[196/203] Compiling tools/ndnsec/get-default.cpp*
>>> *[197/203] Compiling tools/ndnsec/delete.cpp*
>>> *[198/203] Compiling tools/ndnsec/cert-gen.cpp*
>>> *[199/203] Compiling tools/ndnsec/sign-req.cpp*
>>> *[200/203] Compiling tools/ndnsec/set-default.cpp*
>>> *[201/203] Compiling tools/ndnsec/main.cpp*
>>> *[202/203] Linking build/bin/ndnsec*
>>> *./libndn-cxx.so: error: undefined reference to '__atomic_fetch_add_8'*
>>> *collect2: error: ld returned 1 exit status*
>>>
>>> *Waf: Leaving directory `/home/pi/ndn-cxx/build'*
>>> *Build failed*
>>> * -> task in 'tool-ndnsec' failed with exit status 1 (run with -v to 
>>> display more information)*
>>>
>>> Please let me know how to solve this error.
>>> Thanks & Regards,
>>>
>>> Gordon
>>>
>>>
>>>
>>>
>>>
>>>
>>> At 2020-04-03 16:30:00, "Md Ashiqur Rahman" 
>>> <marahman at email.arizona.edu> wrote:
>>>
>>>     Hi Gordon,
>>>
>>>     You can follow this tutorial:
>>>     https://github.com/ashiqopu/ndn-arm-builds
>>>
>>>     Please note that if you have Rpi4 with 2GB/4GB memory then you
>>>     can try with default gcc instead of clang++.
>>>
>>>     Best-
>>>     Ashiq
>>>
>>>     On Fri, Apr 3, 2020 at 12:44 AM Gordon via Nfd-dev
>>>     <nfd-dev at lists.cs.ucla.edu <mailto:nfd-dev at lists.cs.ucla.edu>>
>>>     wrote:
>>>
>>>         *External Email*
>>>
>>>         Hello,
>>>
>>>         Hi,guys.I want to install nfd on the Raspberry Pi and
>>>         install it by source code.
>>>         I have previously installed nfd on the pc through source
>>>         code, so which operating system should I use on the
>>>         Raspberry Pi?
>>>         It would be better for me if there are more detailed steps.
>>>
>>>         Thanks & Regards,
>>>
>>>         Gordon
>>>
>>>
>>>
>>>         _______________________________________________
>>>         Nfd-dev mailing list
>>>         Nfd-dev at lists.cs.ucla.edu <mailto:Nfd-dev at lists.cs.ucla.edu>
>>>         http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>>>
>>>     -- 
>>>     Md Ashiqur Rahman
>>>     PhD Student, Computer Science
>>>     The University of Arizona
>>>     https://www.linkedin.com/in/ashiqopu117/
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Nfd-dev mailing list
>>> Nfd-dev at lists.cs.ucla.edu
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20200411/d8bad232/attachment.html>


More information about the Nfd-dev mailing list