Actions
Bug #1194
closedhello: undefined reference to `_urcu_bp_read_unlock'
Status:
Invalid
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/07/2019
Due date:
% Done:
0%
Estimated time:
Description
I have urcu 0.11.0 installed (up to date Arch Linux package). When trying to build lttng-ust, I get this error in the examples:
make[3]: Entering directory '/home/simark/src/lttng-ust/tests/hello' /bin/sh ../../libtool --tag=CC --mode=link gcc -Werror=old-style-definition -Wall -g -O2 -o hello hello-hello.o hello-tp.o ../../liblttng-ust/liblttng-ust.la -ldl -lnuma -lurcu-bp -lurcu-bp -lurcu-cds -lpthread libtool: link: gcc -Werror=old-style-definition -Wall -g -O2 -o .libs/hello hello-hello.o hello-tp.o ../../liblttng-ust/.libs/liblttng-ust.so /home/simark/src/lttng-ust/liblttng-ust/.libs/liblttng-ust-tracepoint.so -lrt -ldl -lnuma -lurcu-bp -lurcu-cds -lpthread /usr/bin/ld: ../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `_urcu_bp_read_unlock' /usr/bin/ld: ../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `_urcu_bp_read_lock' collect2: error: ld returned 1 exit status
Updated by Simon Marchi over 4 years ago
I had some leftover files in /usr/local/include that interfered with the headers from the package. Removing them solved the issue, please mark as invalid.
Updated by Mathieu Desnoyers over 4 years ago
- Status changed from New to Invalid
Actions