<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>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.<br>
</p>
<p>Eric<br>
</p>
<div class="moz-cite-prefix">On 4/9/2020 10:33 PM, Gordon via
Nfd-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:55d8e9f3.3edb.17162943974.Coremail.gordon_master@163.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div style="margin: 0;">Hi Ashiq,</div>
<div style="margin: 0;">Thank you for your reply, I followed the
tutorial you gave me.But I got an error when compiling
ndncxx(In the ./waf step)</div>
<div style="margin: 0;">My Raspberry Pi is Raspberry Pi 4B and
the memory is 4GB, so I am not using the clang compiler.</div>
<div style="margin: 0;"><br>
</div>
<div style="margin: 0;">Let me introduce my information:</div>
<div style="margin: 0;"><b>gcc:version: 8.3.0</b></div>
<div style="margin: 0;"><b>ndncxx version: 0.7.0
commit:52a803cb9d0021fc03b1a174915008994aa14adc </b></div>
<div style="margin: 0;"><b>OS version:</b><span style="color:
rgb(36, 41, 46); font-family: -apple-system,
BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
sans-serif, "Apple Color Emoji", "Segoe UI
Emoji"; font-size: 16px;"><b> Raspbian Buster Lite 10</b></span></div>
<div style="margin: 0;"><span style="color: rgb(36, 41, 46);
font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Helvetica, Arial, sans-serif, "Apple Color
Emoji", "Segoe UI Emoji"; font-size: 16px;"><b>openssl
version: </b></span><b>1.1.1d-0+deb10u2+rpt1</b></div>
<div style="margin: 0;"><br>
</div>
<div style="margin: 0;">
<pre>I was trying to install ndn-cxx from the official sources and I'm getting this error:
</pre>
</div>
<div style="margin: 0;">
<div style="margin: 0;"><b>[187/203] Compiling
tools/ndnsec/list.cpp</b></div>
<div style="margin: 0;"><b>[188/203] Compiling
tools/ndnsec/cert-dump.cpp</b></div>
<div style="margin: 0;"><b>[189/203] Compiling
tools/ndnsec/import.cpp</b></div>
<div style="margin: 0;"><b>[190/203] Compiling
tools/ndnsec/export.cpp</b></div>
<div style="margin: 0;"><b>[191/203] Compiling
tools/ndnsec/unlock-tpm.cpp</b></div>
<div style="margin: 0;"><b>[192/203] Compiling
tools/ndnsec/cert-install.cpp</b></div>
<div style="margin: 0;"><b>[193/203] Linking
build/libndn-cxx.so</b></div>
<div style="margin: 0;"><b>[194/203] Compiling
tools/ndnsec/key-gen.cpp</b></div>
<div style="margin: 0;"><b>[195/203] Compiling
tools/ndnsec/util.cpp</b></div>
<div style="margin: 0;"><b>[196/203] Compiling
tools/ndnsec/get-default.cpp</b></div>
<div style="margin: 0;"><b>[197/203] Compiling
tools/ndnsec/delete.cpp</b></div>
<div style="margin: 0;"><b>[198/203] Compiling
tools/ndnsec/cert-gen.cpp</b></div>
<div style="margin: 0;"><b>[199/203] Compiling
tools/ndnsec/sign-req.cpp</b></div>
<div style="margin: 0;"><b>[200/203] Compiling
tools/ndnsec/set-default.cpp</b></div>
<div style="margin: 0;"><b>[201/203] Compiling
tools/ndnsec/main.cpp</b></div>
<div style="margin: 0;"><b>[202/203] Linking build/bin/ndnsec</b></div>
<div style="margin: 0;"><span style="background-color:
rgb(221, 64, 50);"><b>./libndn-cxx.so: error: undefined
reference to '__atomic_fetch_add_8'</b></span></div>
<div style="margin: 0;"><span style="background-color:
rgb(221, 64, 50);"><b>collect2: error: ld returned 1 exit
status</b></span></div>
<div style="margin: 0;"><br>
</div>
<div style="margin: 0;"><span style="background-color:
rgb(221, 64, 50);"><b>Waf: Leaving directory
`/home/pi/ndn-cxx/build'</b></span></div>
<div style="margin: 0;"><span style="background-color:
rgb(221, 64, 50);"><b>Build failed</b></span></div>
<div style="margin: 0;"><span style="background-color:
rgb(221, 64, 50);"><b> -> task in 'tool-ndnsec' failed
with exit status 1 (run with -v to display more
information)</b></span></div>
<div><br>
</div>
</div>
<div>
<pre>Please let me know how to solve this error.</pre>
<pre><div style="white-space: normal; font-family: "lucida Grande", Verdana, "Microsoft YaHei";">Thanks & Regards,</div><div style="white-space: normal; font-family: "lucida Grande", Verdana, "Microsoft YaHei";"><p style="line-height: 23.8px;">Gordon</p></div></pre>
</div>
<div style="margin: 0;"><br>
</div>
<p style="margin: 0;"><br>
</p>
<p style="margin: 0;"><br>
</p>
<p style="margin: 0;"><br>
</p>
<p style="margin: 0;"><br>
</p>
<p>At 2020-04-03 16:30:00, "Md Ashiqur Rahman"
<a class="moz-txt-link-rfc2396E" href="mailto:marahman@email.arizona.edu"><marahman@email.arizona.edu></a> wrote:</p>
<blockquote id="isReplyContent" style="PADDING-LEFT: 1ex;
MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir="auto">Hi Gordon,</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">You can follow this tutorial:</div>
<div dir="auto">
<div><a href="https://github.com/ashiqopu/ndn-arm-builds"
moz-do-not-send="true">https://github.com/ashiqopu/ndn-arm-builds</a></div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Please note that if you have Rpi4 with 2GB/4GB
memory then you can try with default gcc instead of clang++.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Best-</div>
<div dir="auto">Ashiq</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Apr 3, 2020 at
12:44 AM Gordon via Nfd-dev <<a
href="mailto:nfd-dev@lists.cs.ucla.edu"
moz-do-not-send="true">nfd-dev@lists.cs.ucla.edu</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p style="text-align:center"><font color="red"><strong>External
Email</strong><br>
</font></p>
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div style="font-family:"lucida
Grande",Verdana,"Microsoft YaHei"">Hello,</div>
<div style="font-family:"lucida
Grande",Verdana,"Microsoft YaHei""><br>
</div>
<div style="font-family:"lucida
Grande",Verdana,"Microsoft YaHei"">Hi,guys.I
want to install nfd on the Raspberry Pi and install
it by source code.</div>
<div><font face="lucida Grande, Verdana, Microsoft
YaHei">I have previously installed nfd on the pc
through source code, so which operating system
should I use on the Raspberry Pi?</font></div>
<div><font face="lucida Grande, Verdana, Microsoft
YaHei">It would be better for me if there are more
detailed steps.</font></div>
<div style="font-family:"lucida
Grande",Verdana,"Microsoft YaHei""><br>
</div>
<div style="font-family:"lucida
Grande",Verdana,"Microsoft YaHei"">Thanks
& Regards,</div>
<div style="font-family:"lucida
Grande",Verdana,"Microsoft YaHei"">
<p style="line-height:23.8px">Gordon</p>
</div>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span>_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu"
target="_blank" moz-do-not-send="true">Nfd-dev@lists.cs.ucla.edu</a><br>
<a
href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
</blockquote>
</div>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">Md Ashiqur Rahman<br>
PhD Student, Computer Science<br>
The University of Arizona<br>
<a href="https://www.linkedin.com/in/ashiqopu117/"
moz-do-not-send="true">https://www.linkedin.com/in/ashiqopu117/</a></div>
</blockquote>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Nfd-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a>
</pre>
</blockquote>
</body>
</html>