<div dir="ltr"><div><div><div>Hi,<br><br></div>I am using latest version of userspace. Cloned from userspace.git<br><br></div>While Cross Compiling for Mips Architecture I get the following error.<br><br>make all-recursive<br>
make[1]: Entering directory `/home/kumar/userspace/userspace-rcu'<br>Making all in .<br>make[2]: Entering directory `/home/kumar/userspace/userspace-rcu'<br>make[2]: Leaving directory `/home/kumar/userspace/userspace-rcu'<br>
Making all in doc<br>make[2]: Entering directory `/home/kumar/userspace/userspace-rcu/doc'<br>Making all in examples<br>make[3]: Entering directory `/home/kumar/userspace/userspace-rcu/doc/examples'<br>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<br>
make[4]: Entering directory `/home/kumar/userspace/userspace-rcu/doc/examples'<br>make -C hlist<br>make[5]: Entering directory `/home/kumar/userspace/userspace-rcu/doc/examples/hlist'<br>make -f Makefile.cds_hlist_add_head_rcu<br>
make[6]: Entering directory `/home/kumar/userspace/userspace-rcu/doc/examples/hlist'<br>cc -g -O2 -Wall -g -O2 -L../../../.libs/ -Wl,-rpath="/home/kumar/userspace/userspace-rcu/doc/examples/../../.libs/" \<br>
-o cds_hlist_add_head_rcu cds_hlist_add_head_rcu.o -lurcu<br>/usr/bin/ld: skipping incompatible ../../../.libs//liburcu.so when searching for -lurcu<br>/usr/bin/ld: skipping incompatible ../../../.libs//liburcu.a when searching for -lurcu<br>
/usr/bin/ld: cannot find -lurcu<br>collect2: ld returned 1 exit status<br>make[6]: *** [cds_hlist_add_head_rcu] Error 1<br>make[6]: Leaving directory `/home/kumar/userspace/userspace-rcu/doc/examples/hlist'<br>make[5]: *** [all] Error 2<br>
make[5]: Leaving directory `/home/kumar/userspace/userspace-rcu/doc/examples/hlist'<br>make[4]: *** [all] Error 2<br>make[4]: Leaving directory `/home/kumar/userspace/userspace-rcu/doc/examples'<br>make[3]: *** [all-local] Error 2<br>
make[3]: Leaving directory `/home/kumar/userspace/userspace-rcu/doc/examples'<br>make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/home/kumar/userspace/userspace-rcu/doc'<br>make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/kumar/userspace/userspace-rcu'<br>make: *** [all] Error 2<br><div><br><br></div><div>How can i fix this?<br></div><br></div><div>Thank you<br></div><div>SKumar<br></div><div><div><br>
</div></div></div>