[ndnSIM] ndnSIM compile/link error with libprotobuf.a.

saran nath sarannath39 at gmail.com
Sat Oct 8 02:18:08 PDT 2016


/usr/lib/x86_64-linux-gnu/libprotobuf.a was a stale entry and after
cleaning it up, I am able to successfully compile/link. Thanks. Saran.

On Sat, Oct 8, 2016 at 1:22 AM, saran nath <sarannath39 at gmail.com> wrote:

> Hello,
>
> I am new to this project. I have almost compiled everything but failing in
> linking I think.
>
> Linking build/libns3-dev-ndnSIM-debug.so
>
> /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libprotobuf.a(common.o):
> relocation R_X86_64_32S against `_ZTVN6google8protobuf7ClosureE' can not
> be used when making a shared object; recompile with -fPIC
>
> /usr/lib/x86_64-linux-gnu/libprotobuf.a: error adding symbols: Bad value
>
> collect2: error: ld returned 1 exit status
>
> Your suggestion to remove this error will help me.
>
> Saran.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161008/e728fbfd/attachment.html>


More information about the ndnSIM mailing list