[USRP-users] Building fails on debian

Josh Blum josh at ettus.com
Tue Apr 9 13:50:37 EDT 2013



On 04/09/2013 12:41 PM, Simon Szustkowski wrote:
> Hi,
> 
> i have liborc-0.4 installed. It's the version debian stable provides.
> However, i am building UHC from the github repo. The latest commit there is
> 4a860d7471<https://github.com/EttusResearch/uhd/commit/4a860d7471a55700c41671922c157d243fea6247>
> 
> 

I see what happened. Recently we added a new findscript for orc, but
this is bypassing the pkg config check for the version:

+PKG_CHECK_MODULES(PC_ORC "orc-0.4 > 0.4.11")

So, I believe the version check should not be passing on your system. I
can fix this, but in the meantime it will be easiest to pass
-DENABLE_ORC=OFF into the cmake command when you configure the build.

-josh

> 
> 2013/4/9 Josh Blum <josh at ettus.com>
> 
>>
>>> ERROR: unknown token[0]: x2
>>> Failed to compile _convert_fc32_1_to_item32_1_nswap_orc
>>> Failed to compile _convert_fc32_1_to_item32_1_nswap_orc
>>> Failed to compile _convert_item32_1_to_fc32_1_nswap_orc
>>> Failed to compile _convert_item32_1_to_fc32_1_nswap_orc
>>> Failed to compile _convert_item32_1_to_sc16_1_nswap_orc
>>> Failed to compile _convert_item32_1_to_sc16_1_nswap_orc
>>> make[2]: *** [lib/convert/convert_orc.c] Fehler 1
>>> make[1]: *** [lib/CMakeFiles/uhd.dir/all] Fehler 2
>>> make: *** [all] Fehler 2
>>> UHD build apparently failed
>>> Exiting UHD build
>>>
>>> Does anyone know how to fix this?
>>>
>>>
>>>
>>
>> Trouble with ORC, perhaps the version is too old.
>>
>> * Can you tell me which version of ORC you have installed?
>> * Also which version of UHD you are building?
>>
>> PS You can disable this with -DENABLE_ORC=OFF, and uhd will continue to
>> build without the orc support, which should be OK.
>>
>> -josh
>>
>>> _______________________________________________
>>> USRP-users mailing list
>>> USRP-users at lists.ettus.com
>>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>>
>>
>> _______________________________________________
>> USRP-users mailing list
>> USRP-users at lists.ettus.com
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>
> 
> 
> 




More information about the USRP-users mailing list