Re: agl-service-audio-4a compile failed

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

 



Hi,

Did you make sure you really pulled the latest version ?
The AFB_BINDING_VERSION is no longer set in a header file but in a cmake file.

The second issue is likely a side effect of the former, because the definition of AFB_DEBUG depends on the bonding version.

Best regards,
Thierry

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 :

#defineAFB_BINDING_VERSION2
#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

_______________________________________________
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