Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: skumar.m226@gmail.com (kumar s)
Subject: [lttng-dev] liburcu error: Cannot find -lurcu
Date: Fri, 22 Nov 2013 10:51:01 +0530	[thread overview]
Message-ID: <CAO_ArvoKDYwE_AwicFH8ebOvxF5-ubK4hZi4QdDDGQns0GXWiQ@mail.gmail.com> (raw)

Hi,

I am using latest version of userspace. Cloned from userspace.git

While Cross Compiling for Mips Architecture I get the following error.

make  all-recursive
make[1]: Entering directory `/home/kumar/userspace/userspace-rcu'
Making all in .
make[2]: Entering directory `/home/kumar/userspace/userspace-rcu'
make[2]: Leaving directory `/home/kumar/userspace/userspace-rcu'
Making all in doc
make[2]: Entering directory `/home/kumar/userspace/userspace-rcu/doc'
Making all in examples
make[3]: Entering directory
`/home/kumar/userspace/userspace-rcu/doc/examples'
make -f dist-files/Makefile AM_CPPFLAGS=" -I../../../urcu/ -I../../../"
AM_CFLAGS='-g -O2' AM_LDFLAGS=' -L../../../.libs/
-Wl,-rpath="/home/kumar/userspace/userspace-rcu/doc/examples/../../.libs/"'
all
make[4]: Entering directory
`/home/kumar/userspace/userspace-rcu/doc/examples'
make -C hlist
make[5]: Entering directory
`/home/kumar/userspace/userspace-rcu/doc/examples/hlist'
make -f Makefile.cds_hlist_add_head_rcu
make[6]: Entering directory
`/home/kumar/userspace/userspace-rcu/doc/examples/hlist'
cc -g -O2 -Wall  -g -O2 -L../../../.libs/
-Wl,-rpath="/home/kumar/userspace/userspace-rcu/doc/examples/../../.libs/" \
        -o cds_hlist_add_head_rcu cds_hlist_add_head_rcu.o -lurcu
/usr/bin/ld: skipping incompatible ../../../.libs//liburcu.so when
searching for -lurcu
/usr/bin/ld: skipping incompatible ../../../.libs//liburcu.a when searching
for -lurcu
/usr/bin/ld: cannot find -lurcu
collect2: ld returned 1 exit status
make[6]: *** [cds_hlist_add_head_rcu] Error 1
make[6]: Leaving directory
`/home/kumar/userspace/userspace-rcu/doc/examples/hlist'
make[5]: *** [all] Error 2
make[5]: Leaving directory
`/home/kumar/userspace/userspace-rcu/doc/examples/hlist'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/kumar/userspace/userspace-rcu/doc/examples'
make[3]: *** [all-local] Error 2
make[3]: Leaving directory
`/home/kumar/userspace/userspace-rcu/doc/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kumar/userspace/userspace-rcu/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kumar/userspace/userspace-rcu'
make: *** [all] Error 2


How can i fix this?

Thank you
SKumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20131122/4f672661/attachment-0001.html>


             reply	other threads:[~2013-11-22  5:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22  5:21 kumar s [this message]
2013-11-22 13:57 Thibault, Daniel
2013-11-22 14:59 ` kumar s
2013-11-22 15:46 Thibault, Daniel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAO_ArvoKDYwE_AwicFH8ebOvxF5-ubK4hZi4QdDDGQns0GXWiQ@mail.gmail.com \
    --to=skumar.m226@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox