Closed thuanpv closed 2 years ago
I have found the issue -- somehow the docker-cp.sh script did not work on my current setup. I have commented out this line in Makefile and copied the lib and lib32 from ubuntu2004 folder to the /root folder and successfully built the tool.
Hi,
I have tried to build the tool by running "make docker" and it failed in the last step (step 8). See the error message below:
Step 8/8 : RUN make -B ---> Running in c59b9282944f clang -std=c++17 -Wall compiler/Runtime.cpp compiler/Main.cpp compiler/Symbolizer.cpp compiler/Pass.cpp -Wall -fPIC -D_GNU_SOURCE -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wl,-z,nodelete -shared -o lib/libSymbolize.so /usr/bin/ld: cannot open output file lib/libSymbolize.so: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make: [Makefile:18: lib/libSymbolize.so] Error 1 The command '/bin/sh -c make -B' returned a non-zero code: 2 Makefile:30: recipe for target 'docker' failed make: [docker] Error 2
I am analyzing the error message and trying to fix it.
Thuan