RE: Problem on calling the count_bits32() method

2020-12-15 Thread Shumin Yao
Hi Marcus,

Thanks for your reply.

However, I do not understand it (I guess this is because I am a beginner). 
Sorry.

I did not link my block to any gnuradio-blocks. And I have written nothing in 
my block’s QA file.

Are you suggesting that I need to include more things at the beginning of my 
block’s CPP script?

Best wishes,
Shumin Yao.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

From: Marcus Müller<mailto:mmuel...@gnuradio.org>
Sent: Tuesday, December 15, 2020 19:44
To: discuss-gnuradio@gnu.org<mailto:discuss-gnuradio@gnu.org>
Subject: Re: Problem on calling the count_bits32() method

Are you linking against gnuradio-blocks?
You'll need something like (depends on your GNU Radio's OOT template how
this looks exactly):

target_link_libraries(gnuradio-yourmodulename gnuradio::gnuradio-runtime
gnuradio::gr-blocks)


On 15.12.20 10:38, Shumin Yao wrote:
> Hi,
>
>
>
> I am writing a block that needs to call the gr::blocks::count_bits32()
> method in its corresponding CPP script. At the beginning of the script,
> I have added "#include ".
>
>
>
> When I used the "make" command to compile the program, no errors occurred.
>
>
>
> However, when I typed the "ctest -V" command in the terminal to check
> the compilation, the following error appeared: "ImportError:
> /home//build/lib/libgnuradio-.so: undefined
> symbol: _ZN2gr6blocks12count_bits32Ej"
>
>
>
> Then, I typed the "c++filt _ZN2gr6blocks12count_bits32Ej" command in the
> terminal and obtained an output: "gr::blocks::count_bits32(unsigned int)".
>
>
>
> Do you have any idea why I encounter this error?
>
>
>
> Best wishes,
>
> Shumin Yao.
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>



Problem on calling the count_bits32() method

2020-12-15 Thread Shumin Yao
Hi,

I am writing a block that needs to call the gr::blocks::count_bits32() method 
in its corresponding CPP script. At the beginning of the script, I have added 
"#include ".

When I used the "make" command to compile the program, no errors occurred.

However, when I typed the "ctest -V" command in the terminal to check the 
compilation, the following error appeared: "ImportError: 
/home//build/lib/libgnuradio-.so: undefined symbol: 
_ZN2gr6blocks12count_bits32Ej"

Then, I typed the "c++filt _ZN2gr6blocks12count_bits32Ej" command in the 
terminal and obtained an output: "gr::blocks::count_bits32(unsigned int)".

Do you have any idea why I encounter this error?

Best wishes,
Shumin Yao.

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



Re: [Ubuntu-zh] 回复: hello!

2017-12-06 Thread ShuMin Yao
慢慢接触就会了。

On Dec 6, 2017 11:34 PM, "lauxinvi" <lauxi...@foxmail.com> wrote:

> 这个系统我还不会翻墙。
>
>
>
>
> -- 原始邮件 ------
> 发件人: "ShuMin Yao"<thisisyaoshu...@gmail.com>;
> 发送时间: 2017年12月6日(星期三) 晚上11:32
> 收件人: "ubuntu-zh"<ubuntu-zh@lists.ubuntu.com>;
> 主题: Re: [Ubuntu-zh] hello!
>
>
>
> 也是,哈哈。
>
> On Dec 6, 2017 11:32 PM, "Stone Worm" <china...@gmail.com> wrote:
>
> > 其实肉身翻墙学习英文最快了。
> >
> > > 在 2017年12月6日,23:30,ShuMin Yao <thisisyaoshu...@gmail.com> 写道:
> > >
> > > 只需要简单的几个操作就可以将系统文字换成中文,多多探索哦。
> > >
> > > On Dec 6, 2017 11:29 PM, "lauxinvi" <lauxi...@foxmail.com> wrote:
> > >
> > >> 不懂英文太费劲了,努力适应中,系统全部英文。
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> -- 原始邮件 --
> > >> 发件人: "ShuMin Yao";<thisisyaoshu...@gmail.com>;
> > >> 发送时间: 2017年12月6日(星期三) 晚上10:59
> > >> 收件人: "ubuntu-zh mailing lists"<ubuntu-zh@lists.ubuntu.com>;
> > >>
> > >> 主题: Re: [Ubuntu-zh] hello!
> > >>
> > >>
> > >>
> > >> Welcome.
> > >>
> > >> On Dec 6, 2017 10:47 PM, "lauxinvi" <lauxi...@foxmail.com> wrote:
> > >>
> > >>>
> > >>> --  --
> > >>> ??HTML?...
> > >>> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> > >>> attachments/20171206/c31291df/attachment.html>
> > >>> --
> > >>> ubuntu-zh mailing list
> > >>> ubuntu-zh@lists.ubuntu.com
> > >>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> > >>>
> > >> -- 下一部分 --
> > >> 一个HTML附件被移除...
> > >> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> > >> attachments/20171206/c39281c1/attachment.html>
> > >> --
> > >> ubuntu-zh mailing list
> > >> ubuntu-zh@lists.ubuntu.com
> > >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> > >> -- 下一部分 --
> > >> 一个HTML附件被移除...
> > >> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> > >> attachments/20171206/91ba3be6/attachment.html>
> > >> --
> > >> ubuntu-zh mailing list
> > >> ubuntu-zh@lists.ubuntu.com
> > >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> > >>
> > > -- 下一部分 --
> > > 一个HTML附件被移除...
> > > URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> > attachments/20171206/6f6d09a7/attachment.html>
> > > --
> > > ubuntu-zh mailing list
> > > ubuntu-zh@lists.ubuntu.com
> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
> >
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> attachments/20171206/18b24d3a/attachment.html>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> attachments/20171206/d2596be4/attachment.html>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20171206/749234a6/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] hello!

2017-12-06 Thread ShuMin Yao
也是,哈哈。

On Dec 6, 2017 11:32 PM, "Stone Worm" <china...@gmail.com> wrote:

> 其实肉身翻墙学习英文最快了。
>
> > 在 2017年12月6日,23:30,ShuMin Yao <thisisyaoshu...@gmail.com> 写道:
> >
> > 只需要简单的几个操作就可以将系统文字换成中文,多多探索哦。
> >
> > On Dec 6, 2017 11:29 PM, "lauxinvi" <lauxi...@foxmail.com> wrote:
> >
> >> 不懂英文太费劲了,努力适应中,系统全部英文。
> >>
> >>
> >>
> >>
> >>
> >> -- 原始邮件 --
> >> 发件人: "ShuMin Yao";<thisisyaoshu...@gmail.com>;
> >> 发送时间: 2017年12月6日(星期三) 晚上10:59
> >> 收件人: "ubuntu-zh mailing lists"<ubuntu-zh@lists.ubuntu.com>;
> >>
> >> 主题: Re: [Ubuntu-zh] hello!
> >>
> >>
> >>
> >> Welcome.
> >>
> >> On Dec 6, 2017 10:47 PM, "lauxinvi" <lauxi...@foxmail.com> wrote:
> >>
> >>>
> >>> --  --
> >>> ??HTML?...
> >>> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> >>> attachments/20171206/c31291df/attachment.html>
> >>> --
> >>> ubuntu-zh mailing list
> >>> ubuntu-zh@lists.ubuntu.com
> >>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >>>
> >> -- 下一部分 --
> >> 一个HTML附件被移除...
> >> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> >> attachments/20171206/c39281c1/attachment.html>
> >> --
> >> ubuntu-zh mailing list
> >> ubuntu-zh@lists.ubuntu.com
> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >> -- 下一部分 --
> >> 一个HTML附件被移除...
> >> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> >> attachments/20171206/91ba3be6/attachment.html>
> >> --
> >> ubuntu-zh mailing list
> >> ubuntu-zh@lists.ubuntu.com
> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >>
> > -- 下一部分 --
> > 一个HTML附件被移除...
> > URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> attachments/20171206/6f6d09a7/attachment.html>
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20171206/18b24d3a/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] 回复: hello!

2017-12-06 Thread ShuMin Yao
只需要简单的几个操作就可以将系统文字换成中文,多多探索哦。

On Dec 6, 2017 11:29 PM, "lauxinvi" <lauxi...@foxmail.com> wrote:

> 不懂英文太费劲了,努力适应中,系统全部英文。
>
>
>
>
>
> -- 原始邮件 --
> 发件人: "ShuMin Yao";<thisisyaoshu...@gmail.com>;
> 发送时间: 2017年12月6日(星期三) 晚上10:59
> 收件人: "ubuntu-zh mailing lists"<ubuntu-zh@lists.ubuntu.com>;
>
> 主题: Re: [Ubuntu-zh] hello!
>
>
>
> Welcome.
>
> On Dec 6, 2017 10:47 PM, "lauxinvi" <lauxi...@foxmail.com> wrote:
>
> >
> > --  --
> > ??HTML?...
> > URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> > attachments/20171206/c31291df/attachment.html>
> > --
> > ubuntu-zh mailing list
> > ubuntu-zh@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> >
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> attachments/20171206/c39281c1/attachment.html>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
> -- 下一部分 --
> 一个HTML附件被移除...
> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/
> attachments/20171206/91ba3be6/attachment.html>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 
<https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20171206/6f6d09a7/attachment.html>
-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


Re: [Ubuntu-zh] hello!

2017-12-06 Thread ShuMin Yao
Welcome.

On Dec 6, 2017 10:47 PM, "lauxinvi"  wrote:

>
> --  --
> ??HTML?...
> URL:  attachments/20171206/c31291df/attachment.html>
> --
> ubuntu-zh mailing list
> ubuntu-zh@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>
-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh


[Ubuntu-zh] 升级内核之后无法上网

2016-02-20 Thread ShuMin Yao
不好意思再次打扰各位了~

我根据这篇文章(https://wiki.ubuntu.com/Kernel/LTSEnablementStack)的内容升级了内核,从 3.7 升级至
4.2 ,而后发现只能用无线上网,有线的不行。由于我是双系统电脑,所以切换至 Windows 7 下看了看,在 Windows 7 下是可以连上的。而使用
ifconfig 命令查看网卡 eth0 是存在的,路由器也自动分配好了地址。

请问我应该怎么解决这个问题呢?

-- 下一部分 --
一个HTML附件被移除...
URL: 

-- 
ubuntu-zh mailing list
ubuntu-zh@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh