agl-service-audio-4a compile failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
At first, I only have .git file in my directory, and then, I use command as follows:

```
git reset --hard
git submodule init
git submodule update
mkdir -p build && cd build
source /opt/poky-agl/5.1.0/environment-setup-armv7vehf-neon-vfpv4-agl-linux-gnueabi
cmake ..
make

```
And I get two errors:
1.
/opt/poky-agl/5.1.0/sysroots/armv7vehf-neon-vfpv4-agl-linux-gnueabi/usr/include/afb/afb-binding.h:60:4: error: #error "Unsupported binding version AFB_BINDING_VERSION " #AFB_BINDING_VERSION
 #  error "Unsupported binding version AFB_BINDING_VERSION " #AFB_BINDING_VERSION
    ^~~~~
2.
/home/albert/files/agl/code/audio-4a/agl-service-audio-4a-1/afb-utilities/filescan-utils.c:37:9: error: implicit declaration of function ‘AFB_DEBUG’ [-Werror=implicit-function-declaration]
         AFB_DEBUG("CONFIG-SCANNING dir=%s not readable", searchPath);
         ^~~~~~~~~

We can ignore the second error, the first error is not reasonable, the macro "AFB_BINDING_VERSION" has already been defined :

#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>

So, do I miss something?
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux