On 12/30/2011 05:20 PM, LRK wrote:
> On Fri, Dec 30, 2011 at 12:41:48PM -0800, Josh Blum wrote:
>>
>> And please, tell us the errors you get on FreeBSD. They may be simple or
>> easily fixable. Let us know!
> 
> 
> This is where the UHD build stops. I have not run this down yet.
> FreeBSD 8.0+ has it's own USB 2.0 code which works with the 3.2.2
> build.
> 
> 
> uhd/host/build/lib/convert/convert_orc.c: In function '_backup__co
> nvert_fc32_1_to_item32_1_bswap_orc':
> uhd/host/build/lib/convert/convert_orc.c:432: warning: comparison
> between signed and unsigned
> uhd/host/build/lib/convert/convert_orc.c:438: warning: comparison
> between signed and unsigned
> [ 20%] Building CXX object 
> lib/CMakeFiles/uhd.dir/convert/convert_with_orc.cpp.o
> 
> In file included from uhd/host/include/uhd/utils/byteswap.hpp:54,
>                  from uhd/host/lib/convert/convert_with_orc.cpp:19
> :
> uhd/host/include/uhd/utils/byteswap.ipp: In function 'uint32_t uhd
> ::byteswap(uint32_t)':
> uhd/host/include/uhd/utils/byteswap.ipp:46: error: '__builtin_bswa
> p32' was not declared in this scope
> uhd/host/include/uhd/utils/byteswap.ipp: In function 'uint64_t uhd
> ::byteswap(uint64_t)':
> uhd/host/include/uhd/utils/byteswap.ipp:50: error: '__builtin_bswa
> p64' was not declared in this scope
> gmake[2]: *** [lib/CMakeFiles/uhd.dir/convert/convert_with_orc.cpp.o] Error 1
> gmake[1]: *** [lib/CMakeFiles/uhd.dir/all] Error 2
> gmake: *** [all] Error 2
> exit 1
> 
> 

What version of gcc do you have? The compat check may have the wrong
version. Try this little diff if you can: http://pastebin.com/gvRkAMPe

-Josh

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to