Hi Rafael.
I also need to compile grpc with un_secure.
do you have idea now?



在 2015年12月2日星期三 UTC+8上午1:17:56,[email protected]写道:
>
> I am looking to port the gRPC libraries to a UNIX-like OS on ARM 
> hardware.  I have had previous success with Protocol Buffers 2.7.3 and 
> other packages using the ./configure mechanism.  This OS provides zlib and 
> openSSL, although openSSL most likely does not have native ALPN support.
>
> I am open to building the unsecured version initially.
>
> My questions are:
> 1) how to build the unsecure version without openSSL?
> 2) do I need to copy any zlib objects to grpc path or is it sufficient 
> that my sourced build path has it?
> 3) what is failing with the build below?
> 4) how to build static vs shared libraries?
>
> Below is the command I use with make and the response:
> $ make HAS_EMBEDDED_OPENSSL_ALPN=false CFLAGS="$CFLAGS $MAKEFLAGS 
> -I/my_target_library_path" CPPFLAGS="$CPPFLAGS -I/my_target_library_path" 
> LDFLAGS="$LDFLAGS -L/my_target_library_object_path" HAS_PKG_CONFIG=false 
> CC="my_C_compiler" CXX="my_CPP_compiler" LD=my_C_target_linker 
> LDXX=my_CPP_target_linker AR=my_target_ar
> [MAKE]    Generating ~/grpc/libs/opt/pkgconfig/grpc.pc
> [MAKE]    Generating ~/grpc/libs/opt/pkgconfig/grpc_unsecure.pc
> [MAKE]    Generating cache.mk
> [MAKE]    Generating ~/grpc/libs/opt/pkgconfig/gpr.pc
> [C]       Compiling src/core/profiling/basic_timers.c
> cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
> make: *** [~/grpc/objs/opt/src/core/profiling/basic_timers.o] Error 1
>
> When I include run_dep_checks then the openSSL has issues because libdl is 
> part of libc.  I have not included the tools for gperftools, protobuf, or 
> zookeeper so those also show issue, but no error is reported for zlib.c 
> test.
>
> Thank you for any help or guidance.
> Aaron
>
> On Tuesday, 14 July 2015 03:09:47 UTC-4, Nicolas Noble wrote:
>>
>> Good to hear :-) let us know if you are successful in using it! 
>>
>> On Tue, Jul 14, 2015, 00:04  <[email protected]> wrote:
>>
>>> Hi Nicolas,
>>>
>>> It worked! At leased I have now the static libs. During making the 
>>> shared libs the Makefile stopped, but I just need the static ones.
>>>
>>> Thanks for your help!
>>>
>>> Regards
>>>
>>> Rafael.
>>>
>>> -- 
>>> 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].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/grpc-io/51ec9faa-d2a2-4317-ac30-4d98e4f44708%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/grpc-io/51ec9faa-d2a2-4317-ac30-4d98e4f44708%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/89b55714-ca47-421b-b8a6-7ad64156c372%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to