Closed sebpop closed 7 years ago
When compiling with "make -j8" the build used to fail with two errors:
g++ -Wl,-z,defs -shared -o /root/etm/decoder/decoder/lib/linux/dbg/libcstraced_c_api.so -Wl,-soname,libcstraced_c_api.so ./linux/dbg/ocsd_c_api.o ./linux/dbg/ocsd_c_api_deprc_fn.o -L/root/etm/decoder/decoder/lib/linux/dbg -lcstraced /usr/bin/ld: cannot find -lcstraced
[...]
g++ -Wl,-z,defs "-m64" -shared -o decoder/lib/linux64/dbg/libcstraced_c_api.so -Wl,-soname,libcstraced_c_api.so ./linux64/dbg/ocsd_c_api.o ./linux64/dbg/ocsd_c_api_deprc_fn.o -Ldecoder/lib/linux64/dbg -lcstraced decoder/lib/linux64/dbg/libcstraced.so: file not recognized: File truncated
This patch fixes the missing dependences for both static and shared libcstraced_c_api.
Thanks. I'll add this to the next patch release.
Mike
When compiling with "make -j8" the build used to fail with two errors:
g++ -Wl,-z,defs -shared -o /root/etm/decoder/decoder/lib/linux/dbg/libcstraced_c_api.so -Wl,-soname,libcstraced_c_api.so ./linux/dbg/ocsd_c_api.o ./linux/dbg/ocsd_c_api_deprc_fn.o -L/root/etm/decoder/decoder/lib/linux/dbg -lcstraced /usr/bin/ld: cannot find -lcstraced
[...]
g++ -Wl,-z,defs "-m64" -shared -o decoder/lib/linux64/dbg/libcstraced_c_api.so -Wl,-soname,libcstraced_c_api.so ./linux64/dbg/ocsd_c_api.o ./linux64/dbg/ocsd_c_api_deprc_fn.o -Ldecoder/lib/linux64/dbg -lcstraced decoder/lib/linux64/dbg/libcstraced.so: file not recognized: File truncated
This patch fixes the missing dependences for both static and shared libcstraced_c_api.