On Mon, Aug 29, 2016 at 10:32:25AM -0600, Cody Smith wrote:
> Hey Everybody,
> 
> I'm trying to build the ble tiny example in Ubuntu 16.04 using the Newt
> 0.8.0.  I've done a newt upgrade, and still get this same error.  The error
> on a newt build is:
> 
> Building target targets/bleFuzzTiny_tgt
> Compiling cmd.c
> Error: cmd.c: In function 'cmd_passkey':
> cmd.c:1523:27: error: storage size of 'pk' isn't known
>      struct passkey_action pk;
>                            ^
> cmd.c:1523:27: error: unused variable 'pk' [-Werror=unused-variable]
> cc1: all warnings being treated as errors
> 
> exit status 1
> 
> 
> I'm using gcc version gcc version 5.4.0 20160609 (Ubuntu
> 5.4.0-6ubuntu1~16.04.2).

Hi Cody,

I am able to build bletiny from 0.8.0 and 0.9.0, so I think you might
have a partially-upgraded apache-mynewt-core repo.  This might happen if
you have made some local modifications to the repos/mynewt-apache-core
directory prior to performing the "newt upgrade".  Does this sound like
a possibility?  You can see if this is the case by entering the
repos/mynewt-apache-core directory and then running:

    git status

Thanks,
Chris

Reply via email to