Re: [USRP-users] making the UHD

2018-01-11 Thread Derek Kozel via USRP-users
Hi Ale,

I've added back on the list. It's usually best to keep the list included so
you can get faster responses from a larger group of experienced people.

That example isn't installed into the default PATH like the core UHD
programs are. The binary can be found at (by default on Ubuntu)
/usr/local/lib/uhd/utils/query_gpsdo_sensors

I used the following command to search for the binary just to confirm the
location.
find /usr -name query_gpsdo_sensors

Regards,
Derek

On Jan 10, 2018 7:49 PM, "Mercado, Alejandra"  wrote:

Hi Derek,

Thanks for responding.

It must not have been compiled, since I can't run it ("command not found").

So, all those warnings are known and not to worry about... so they have
nothing to do with the failed test:

99% tests passed, 1 tests failed out of 212

Total Test time (real) = 140.04 sec

The following tests FAILED:
209 - qa_zeromq_pub (Failed)
Errors while running CTest
Makefile:149: recipe for target 'test' failed
make: *** [test] Error 8


What do I do abut the failed test, then?

Regards,
Ale


===
Dr. Alejandra Mercado
Associate Director
Electrical and Computer Engineering
Master's in Telecommunications Program
A.V. Williams Building
University of Maryland at College Park
College Park, MD 20742
===

On Wed, Jan 10, 2018 at 2:46 PM, Derek Kozel  wrote:

> Hello Ale,
>
> That left shift is intentional behavior. Here is the comment on that line
> of code.
> https://github.com/EttusResearch/uhd/blob/maint/host/include
> /uhd/utils/soft_register.hpp#L100
>
> When you say you "tried to run query_gpsdo_sensors, that one was not
> finalized" do you mean that it was not compiled? There should be an error
> in your build log then.
>
> Regards,
> Derek
>
> On Wed, Jan 10, 2018 at 7:08 PM, Mercado, Alejandra via USRP-users <
> usrp-users@lists.ettus.com> wrote:
>
>> Follow-up to my previous post:
>> Hi again, folks,
>> When I followed instructions to make both the UHD and the GNURadio, I got
>> a slew of warnings. Later I ran the GnuRadio test and got one error:
>> 99% tests passed, 1 tests failed out of 212
>>
>> Total Test time (real) = 140.04 sec
>>
>> The following tests FAILED:
>> 209 - qa_zeromq_pub (Failed)
>> Errors while running CTest
>> Makefile:149: recipe for target 'test' failed
>> make: *** [test] Error 8
>>
>> Any suggestions?
>>
>> Ale
>>
>> ===
>> Dr. Alejandra Mercado
>> Associate Director
>> Electrical and Computer Engineering
>> Master's in Telecommunications Program
>> A.V. Williams Building
>> University of Maryland at College Park
>> College Park, MD 20742
>> ===
>>
>> On Wed, Jan 10, 2018 at 12:21 PM, Mercado, Alejandra > > wrote:
>>
>>> Hi folks,
>>>
>>> I'm worried about something; while maiking the UHD, it ran across
>>> something that looked like an error:
>>>
>>> [ 22%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/multi_usrp.cpp.o
>>> In file included from /home/ents622/workarea-uhd/uhd
>>> /host/lib/usrp/multi_usrp.cpp:29:0:
>>> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:
>>> In instantiation of ‘data_t uhd::soft_reg_field::mask(uhd::soft_reg_field_t)
>>> [with data_t = short unsigned int; uhd::soft_reg_field_t = unsigned int]’:
>>> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:191:69:
>>>  required from ‘void uhd::soft_register_t>> writable>::set(uhd::soft_reg_field_t, reg_data_t) [with reg_data_t =
>>> short unsigned int; bool readable = true; bool writable = true;
>>> uhd::soft_reg_field_t = unsigned int]’
>>> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:256:12:
>>>  required from ‘void uhd::soft_register_t>> writable>::write(uhd::soft_reg_field_t, reg_data_t) [with reg_data_t =
>>> short unsigned int; bool readable = true; bool writable = true;
>>> uhd::soft_reg_field_t = unsigned int]’
>>> /home/ents622/workarea-uhd/uhd/host/lib/usrp/multi_usrp.cpp:1614:119:
>>>  required from here
>>> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:106:27:
>>> warning: left shift of negative value [-Wshift-negative-value]
>>>  return (0-ONE)<>> ~~~^~
>>> [ 22%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/subdev_spec.cpp.o
>>>
>>> Should I be worried about this? Is some part not working properly?
>>>
>>> The reason I ask is because the last time I installed this on another
>>> computer, when I tried to run query_gpsdo_sensors, that one was not
>>> finalized. Admittedly, that one was on Ubuntu 16.04, and this last one is
>>> on Ubuntu 17.04, so the dependencies command was different.
>>>
>>> Regards,
>>> Ale
>>> ===
>>> Dr. Alejandra Mercado
>>> Associate Director
>>> Electrical and Computer Engineering
>>> Master's in 

Re: [USRP-users] making the UHD

2018-01-10 Thread Derek Kozel via USRP-users
Hello Ale,

That left shift is intentional behavior. Here is the comment on that line
of code.
https://github.com/EttusResearch/uhd/blob/maint/host/include/uhd/utils/soft_register.hpp#L100

When you say you "tried to run query_gpsdo_sensors, that one was not
finalized" do you mean that it was not compiled? There should be an error
in your build log then.

Regards,
Derek

On Wed, Jan 10, 2018 at 7:08 PM, Mercado, Alejandra via USRP-users <
usrp-users@lists.ettus.com> wrote:

> Follow-up to my previous post:
> Hi again, folks,
> When I followed instructions to make both the UHD and the GNURadio, I got
> a slew of warnings. Later I ran the GnuRadio test and got one error:
> 99% tests passed, 1 tests failed out of 212
>
> Total Test time (real) = 140.04 sec
>
> The following tests FAILED:
> 209 - qa_zeromq_pub (Failed)
> Errors while running CTest
> Makefile:149: recipe for target 'test' failed
> make: *** [test] Error 8
>
> Any suggestions?
>
> Ale
>
> ===
> Dr. Alejandra Mercado
> Associate Director
> Electrical and Computer Engineering
> Master's in Telecommunications Program
> A.V. Williams Building
> University of Maryland at College Park
> College Park, MD 20742
> ===
>
> On Wed, Jan 10, 2018 at 12:21 PM, Mercado, Alejandra 
> wrote:
>
>> Hi folks,
>>
>> I'm worried about something; while maiking the UHD, it ran across
>> something that looked like an error:
>>
>> [ 22%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/multi_usrp.cpp.o
>> In file included from /home/ents622/workarea-uhd/uhd
>> /host/lib/usrp/multi_usrp.cpp:29:0:
>> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:
>> In instantiation of ‘data_t uhd::soft_reg_field::mask(uhd::soft_reg_field_t)
>> [with data_t = short unsigned int; uhd::soft_reg_field_t = unsigned int]’:
>> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:191:69:
>>  required from ‘void uhd::soft_register_t> writable>::set(uhd::soft_reg_field_t, reg_data_t) [with reg_data_t =
>> short unsigned int; bool readable = true; bool writable = true;
>> uhd::soft_reg_field_t = unsigned int]’
>> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:256:12:
>>  required from ‘void uhd::soft_register_t> writable>::write(uhd::soft_reg_field_t, reg_data_t) [with reg_data_t =
>> short unsigned int; bool readable = true; bool writable = true;
>> uhd::soft_reg_field_t = unsigned int]’
>> /home/ents622/workarea-uhd/uhd/host/lib/usrp/multi_usrp.cpp:1614:119:
>>  required from here
>> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:106:27:
>> warning: left shift of negative value [-Wshift-negative-value]
>>  return (0-ONE)<> ~~~^~
>> [ 22%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/subdev_spec.cpp.o
>>
>> Should I be worried about this? Is some part not working properly?
>>
>> The reason I ask is because the last time I installed this on another
>> computer, when I tried to run query_gpsdo_sensors, that one was not
>> finalized. Admittedly, that one was on Ubuntu 16.04, and this last one is
>> on Ubuntu 17.04, so the dependencies command was different.
>>
>> Regards,
>> Ale
>> ===
>> Dr. Alejandra Mercado
>> Associate Director
>> Electrical and Computer Engineering
>> Master's in Telecommunications Program
>> A.V. Williams Building
>> University of Maryland at College Park
>> College Park, MD 20742
>> ===
>>
>
>
> ___
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] making the UHD

2018-01-10 Thread Mercado, Alejandra via USRP-users
Hi folks,

I'm worried about something; while maiking the UHD, it ran across something
that looked like an error:

[ 22%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/multi_usrp.cpp.o
In file included from
/home/ents622/workarea-uhd/uhd/host/lib/usrp/multi_usrp.cpp:29:0:
/home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp: In
instantiation of ‘data_t uhd::soft_reg_field::mask(uhd::soft_reg_field_t)
[with data_t = short unsigned int; uhd::soft_reg_field_t = unsigned int]’:
/home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:191:69:
 required from ‘void uhd::soft_register_t::set(uhd::soft_reg_field_t, reg_data_t) [with reg_data_t = short
unsigned int; bool readable = true; bool writable = true;
uhd::soft_reg_field_t = unsigned int]’
/home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:256:12:
 required from ‘void uhd::soft_register_t::write(uhd::soft_reg_field_t, reg_data_t) [with reg_data_t =
short unsigned int; bool readable = true; bool writable = true;
uhd::soft_reg_field_t = unsigned int]’
/home/ents622/workarea-uhd/uhd/host/lib/usrp/multi_usrp.cpp:1614:119:
 required from here
/home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:106:27:
warning: left shift of negative value [-Wshift-negative-value]
 return (0-ONE)<

Re: [USRP-users] making the UHD

2018-01-10 Thread Mercado, Alejandra via USRP-users
Follow-up to my previous post:
Hi again, folks,
When I followed instructions to make both the UHD and the GNURadio, I got a
slew of warnings. Later I ran the GnuRadio test and got one error:
99% tests passed, 1 tests failed out of 212

Total Test time (real) = 140.04 sec

The following tests FAILED:
209 - qa_zeromq_pub (Failed)
Errors while running CTest
Makefile:149: recipe for target 'test' failed
make: *** [test] Error 8

Any suggestions?

Ale

===
Dr. Alejandra Mercado
Associate Director
Electrical and Computer Engineering
Master's in Telecommunications Program
A.V. Williams Building
University of Maryland at College Park
College Park, MD 20742
===

On Wed, Jan 10, 2018 at 12:21 PM, Mercado, Alejandra 
wrote:

> Hi folks,
>
> I'm worried about something; while maiking the UHD, it ran across
> something that looked like an error:
>
> [ 22%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/multi_usrp.cpp.o
> In file included from /home/ents622/workarea-uhd/
> uhd/host/lib/usrp/multi_usrp.cpp:29:0:
> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:
> In instantiation of ‘data_t uhd::soft_reg_field::mask(uhd::soft_reg_field_t)
> [with data_t = short unsigned int; uhd::soft_reg_field_t = unsigned int]’:
> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:191:69:
>  required from ‘void uhd::soft_register_t writable>::set(uhd::soft_reg_field_t, reg_data_t) [with reg_data_t =
> short unsigned int; bool readable = true; bool writable = true;
> uhd::soft_reg_field_t = unsigned int]’
> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:256:12:
>  required from ‘void uhd::soft_register_t writable>::write(uhd::soft_reg_field_t, reg_data_t) [with reg_data_t =
> short unsigned int; bool readable = true; bool writable = true;
> uhd::soft_reg_field_t = unsigned int]’
> /home/ents622/workarea-uhd/uhd/host/lib/usrp/multi_usrp.cpp:1614:119:
>  required from here
> /home/ents622/workarea-uhd/uhd/host/include/uhd/utils/soft_register.hpp:106:27:
> warning: left shift of negative value [-Wshift-negative-value]
>  return (0-ONE)< ~~~^~
> [ 22%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/subdev_spec.cpp.o
>
> Should I be worried about this? Is some part not working properly?
>
> The reason I ask is because the last time I installed this on another
> computer, when I tried to run query_gpsdo_sensors, that one was not
> finalized. Admittedly, that one was on Ubuntu 16.04, and this last one is
> on Ubuntu 17.04, so the dependencies command was different.
>
> Regards,
> Ale
> ===
> Dr. Alejandra Mercado
> Associate Director
> Electrical and Computer Engineering
> Master's in Telecommunications Program
> A.V. Williams Building
> University of Maryland at College Park
> College Park, MD 20742
> ===
>
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com