Hello,

 

I succeeded to link by adding:

 

-lust -lurcu-bp -lurcu-cds

 

If this solution is OK, I suggest adding it the info.

 

Thanks,

Zvika.










שולח: צהלול לא קיים
נושא: ust marker: liburcu-bp.so.1, needed by libust.so.0, not found


Hello,

 

I succeeded building urcu (from userspace-rcu-0.6.4) and ust (from ust-0.15).

 

All include files and lib files are now located in $HOME/GNU/ust/include and $HOME/GNU/ust/lib

 

Now I want to run a simple program that call to: ust_marker (myotherevent, MARK_NOARGS).

 

As explained in the info I added the following to the Makefile:

 

main.c was compiled OK and main.o was created.

 

LDFLAGS = -L$(HOME)/GNU/ust/lib -rpath=$(HOME)/GNU/ust/lib -lust

 

gcc $(LDFLAGS) -o MyProg.out main.o 

 

When I run the above link command I got:

 

ld: warning: liburcu-bp.so.1, needed by libust.so.0, not found (try using -rpath or -rapth-link).

 

undefined reference to 'rcu_bp_after_fork_child'

undefined reference to 'rcu_header_bp'

...

undefined reference to 'synchronize_rcu_bp'

 

liburcu-bp.so.1 is located in $HOME/GNU/ust/lib

 

Can you help ?

 

Thanks,

Zvika


 


Walla! Mail - Get your free unlimited mail today

Walla! Mail - Get your free unlimited mail today
_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to