Skip to content

Commit

Permalink
libibnetdisc: Depend on libibumad for testleaks app
Browse files Browse the repository at this point in the history
➜  rdma-core git:(fix-cmake) ./buildlib/cbuild pkg leap
FAILED: bin/testleaks
: && /usr/bin/cc -O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wformat-nonliteral -Wdate-time -Wnested-externs -Wshadow -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -O2 -g -DNDEBUG  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now -Wl,--as-needed -Wl,--no-undefined libibnetdisc/CMakeFiles/testleaks.dir/tests/testleaks.c.o  -o bin/testleaks  ccan/libccan.a util/librdma_util.a lib/libibmad.so.5.3.45.0 lib/libibnetdisc.so.5.0.45.0 && :
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: warning: libibumad.so.3, needed by lib/libibmad.so.5.3.45.0, not found (try using -rpath or -rpath-link)

Signed-off-by: Leon Romanovsky <[email protected]>
  • Loading branch information
rleon committed Jan 26, 2023
1 parent d5f7656 commit 1413b7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libibnetdisc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ rdma_pkg_config("ibnetdisc" "libibumad libibmad" "")
rdma_test_executable(testleaks tests/testleaks.c)
target_link_libraries(testleaks LINK_PRIVATE
ibmad
ibumad
ibnetdisc
)

0 comments on commit 1413b7c

Please sign in to comment.