Re: k_msgq_get_attrs declared 'static' but never defined???


David Leach
 

Yes, that was it. I was being stupid and using ‘rm -rf *.*’ and not checking that the cmake files had been cleaned up… ‘rm -rf *’ does the job as does ‘ninja clean’

 

(back to my linux vm in my windows 10 machine… 😉 )

 

Thanks

 

From: Boie, Andrew P [mailto:andrew.p.boie@...]
Sent: Monday, May 7, 2018 4:23 PM
To: David Leach <david.leach@...>; zephyr-devel@...
Subject: RE: [Zephyr-devel] k_msgq_get_attrs declared 'static' but never defined???

 

I can't reproduce this.

Does doing a clean build help?

Is this sample built by our CI?

 

Andrew

 

From: devel@... [mailto:devel@...] On Behalf Of David Leach
Sent: Sunday, May 6, 2018 6:49 PM
To: zephyr-devel@...
Subject: [Zephyr-devel] k_msgq_get_attrs declared 'static' but never defined???

 

Pulled master and went to build OpenThread echo server and get a ton of the following:

../../../../../include/kernel.h:3021:20: warning: ‘k_msgq_get_attrs’ declared ‘static’ but never defined [-Wunused-function]

__syscall void  k_msgq_get_attrs(struct k_msgq *q, struct k_msgq_attrs *attrs);

 

Not sure what changed from the last time I built the sample.

 

David Leach

Join devel@lists.zephyrproject.org to automatically receive all group messages.