[ 
https://issues.apache.org/jira/browse/PROTON-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16718318#comment-16718318
 ] 

Alan Conway commented on PROTON-1982:
-------------------------------------

I get identical symptoms "cannot determine linkage" if I build on a system with 
no C++ compiler. The above commit skips C tests that need a C\+\+ compiler if 
there isn't one, if it fixes the debian problem, please resolve this JIRA.

> Proton C build fails on debian:stretch
> --------------------------------------
>
>                 Key: PROTON-1982
>                 URL: https://issues.apache.org/jira/browse/PROTON-1982
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.27.0
>            Reporter: Cliff Jansen
>            Priority: Major
>
> Using master, CMake fails with:
>  
>  CMake Error: CMake can not determine linker language for target: c-core-test
>  CMake Error: Cannot determine link language for target "c-core-test".
>  CMake Error: CMake can not determine linker language for target: c-extra-test
>  CMake Error: Cannot determine link language for target "c-extra-test".
>  CMake Error: CMake can not determine linker language for target: 
> c-proactor-test
>  CMake Error: Cannot determine link language for target "c-proactor-test".
>  
> run command:
>  
>  cmake -DBUILD_GO=ON -DBUILD_CPP=OFF -DBUILD_PYTHON=OFF 
> -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
>  
> also fails with same error messages with simplfied args
>  
>  cmake -DBUILD_GO=ON  -DCMAKE_BUILD_TYPE=Release ..
>  
> This appears to be platform specific
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to