What errors are you getting? It looks to me like in your step 2 you are trying to install cross-compiled code, and I would suspect this would be a problem since you would be installing code which is not built for the machine's architecture.
On Sun, Dec 10, 2017 at 10:28 PM, Neeli Srinivas <[email protected]> wrote: > Hi All, > > This is Srinivas. I am new to GRPC, I am trying to compile latest grpc > (v1.7.2) version. > It's working in X86 architecture. when i am trying to compile for ARM > architecture(cortex A9) it's not working. > Please guide me the steps. One more thing i am using protobuf 3.4.0 > version. I am going to explain what i followed in below. > > followed steps: > ------------------ > Environment Details: > 1)linux 14.04 > 2)uname -a : > Linux aaa 3.13.0-135-generic #184-Ubuntu SMP Wed Oct 18 11:55:51 UTC > 2017 x86_64 x86_64 x86_64 GNU/Linux > > steps:1 > --------- > > -> Compiled for x86 > -> GRPC version V1.7.2 > -> Protobuf 3.4.0 > -> Compilation was success > > $ ./configure > $ make > $ make check > $ sudo make install > $ sudo ldconfig # refresh shared library cache. > > -> followed this link https://github.com/google/ > protobuf/blob/master/src/README.md > > Steps:2 (Trying to compile for ARM by using cross compiler) > ---------- ------------------------------------------------------------ > --------- > > - Using cross compilers > arm-linux-gnueabi-gcc > arm-linux-gnueabi-g++. > -> cd grpc > -> git submodule update --init > -> ./autogen.sh > -> ./configure --host=arm-linux --with-protoc=/home/xxxx/grpc/ > third_party/protobuf/COMP/bin/protoc --prefix=/home/xxxx/grpc/ > third_party/protobuf/build > -> make > -> make check > -> sudo make install > > > In this process i am getting in errors. while doing sudo make install > facing issues. > > ** Here My question is ? > - What i am following is it correct or not ? > - If my procedure wrong . please share me the correct procedure. > -Advanced thanks > > > > > Thanks > Srinivas Neeli > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
