Hi all,

I want to cross compile the gRPC library for ARM and I am using the
Yocto build system.

The build fails for the following error, which I am suspicious has
something to do with the compiler being used:


[LD]      Linking
/export/arm/xxx/PD15.1/build/tmp-glibc/work/cortexa8t2hf-vfp-neon-phytec-linux-gnueabi/libgrpc/1.0.0-r0/git/libs/opt/libgpr.so.1.0.0-pre1

arm-phytec-linux-gnueabi-ld
: unrecognized option '
-Wl,-soname,libgpr.so.1


arm-phytec-linux-gnueabi-ld
: use the --help option for usage information

The problem seems to be caused by the following line in the makefile:2406

         $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared
         -Wl,-soname,libgpr.so.1 -o
         $(LIBDIR)/$(CONFIG)/libgpr$(SHARED_VERSION).$(SHARED_EXT)
         $(LIBGPR_OBJS) $(LDLIBS) $(ZLIB_MERGE_LIBS)
Shouldn't that line be -soname=libgrp.so ?

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" 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/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/87shte8pkv.fsf%40posteo.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to