Hi Sundar, Can you tell us the set of commands that led to this? I.e. what was your command-line for `configure` and `make`? And what directory did you run them in, relative to the source directory?
-Kenton On Sun, Nov 15, 2020 at 6:22 PM Sundar Palani <[email protected]> wrote: > I have the following error while building inside dockcross/linux-arm64 > docker running on my macOS x86-64. > > /bin/bash ./libtool --tag=CXX --mode=link > /usr/xcc/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-g++ > -I./src -I./src -DKJ_HEADER_WARNINGS -DCAPNP_HEADER_WARNINGS > -DCAPNP_INCLUDE_DIR='"/usr/local/include"' -pthread -O2 -DNDEBUG -pthread > -release 0.9-dev -no-undefined -o libcapnp-json.la -rpath /usr/local/lib > src/capnp/compat/json.lo src/capnp/compat/json.capnp.lo libcapnp.la > libkj.la -lpthread -lpthread > libtool: link: > /usr/xcc/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-ar > cru .libs/libcapnp-json.a src/capnp/compat/json.o > src/capnp/compat/json.capnp.o > libtool: link: ranlib .libs/libcapnp-json.a > libtool: link: ( cd ".libs" && rm -f "libcapnp-json.la" && ln -s "../ > libcapnp-json.la" "libcapnp-json.la" ) > /bin/bash ./libtool --tag=CXX --mode=link > /usr/xcc/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-g++ > -I./src -I./src -DKJ_HEADER_WARNINGS -DCAPNP_HEADER_WARNINGS > -DCAPNP_INCLUDE_DIR='"/usr/local/include"' -pthread -O2 -DNDEBUG -pthread > -pthread -o capnp src/capnp/compiler/module-loader.o > src/capnp/compiler/capnp.o libcapnpc.la libcapnp-json.la libcapnp.la > libkj.la -lpthread -lpthread > libtool: link: > /usr/xcc/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-g++ > -I./src -I./src -DKJ_HEADER_WARNINGS -DCAPNP_HEADER_WARNINGS > -DCAPNP_INCLUDE_DIR=\"/usr/local/include\" -pthread -O2 -DNDEBUG -pthread > -pthread -o capnp src/capnp/compiler/module-loader.o > src/capnp/compiler/capnp.o ./.libs/libcapnpc.a ./.libs/libcapnp-json.a > /root/capnproto/c++/.libs/libcapnp.a ./.libs/libcapnp.a > /root/capnproto/c++/.libs/libkj.a ./.libs/libkj.a -lpthread -pthread > ./capnp compile --src-prefix=./src -o./capnpc-c++:src -I./src $(for FILE > in src/capnp/test.capnp src/capnp/test-import.capnp > src/capnp/test-import2.capnp src/capnp/compat/json-test.capnp; do echo > ./$FILE; done) > *./capnp compile: --src-prefix=./src: no such directory* > Try './capnp compile --help' for more information. > Makefile:3801: recipe for target 'test_capnpc_middleman' failed > make: *** [test_capnpc_middleman] Error 1 > > Has anyone seen this error ? Any thoughts on how to solve this ? > > PS: I was able to successfully compile this on my mac as well as aarch64 > native machine (Jetson Nano). > > -- > You received this message because you are subscribed to the Google Groups > "Cap'n Proto" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/capnproto/a58a4bc0-92d1-499b-b1e6-398f4b8d7e3fn%40googlegroups.com > <https://groups.google.com/d/msgid/capnproto/a58a4bc0-92d1-499b-b1e6-398f4b8d7e3fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Cap'n Proto" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/CAJouXQmBECUTLsTHF69cb50-FgHXJ-uC1tkb8eUN5eQLJF6fSQ%40mail.gmail.com.
