Skip to content

I have many error relate btstack submodule #2

@daihhqn87

Description

@daihhqn87

Hello everyone,

I'm a new developer. I checkout this open source and run in Linux enviroment.
I got some errors to relate btstack submodule when run make command in discovery folder as:
btstack/src/classic/avrcp_browsing.h:58:6: warning: redundant redeclaration of ‘avrcp_browsing_register_controller_packet_handler’ [-Wredundant-decls]
void avrcp_browsing_register_controller_packet_handler(btstack_packet_handler_t callback);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../btstack/src/btstack_memory.h:69:0,
from ../btstack/src/btstack.h:64,
from discovery.c:15:
../btstack/src/classic/avrcp.h:684:6: note: previous declaration of ‘avrcp_browsing_register_controller_packet_handler’ was here
void avrcp_browsing_register_controller_packet_handler(btstack_packet_handler_t callback);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../btstack/src/btstack.h:109:0,
from discovery.c:15:
../btstack/src/classic/avrcp_browsing.h:59:6: warning: redundant redeclaration of ‘avrcp_browsing_register_target_packet_handler’ [-Wredundant-decls]
void avrcp_browsing_register_target_packet_handler(btstack_packet_handler_t callback);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../btstack/src/btstack_memory.h:69:0,
from ../btstack/src/btstack.h:64,
from discovery.c:15:
../btstack/src/classic/avrcp.h:685:6: note: previous declaration of ‘avrcp_browsing_register_target_packet_handler’ was here
void avrcp_browsing_register_target_packet_handler(btstack_packet_handler_t callback);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../btstack/src/btstack.h:109:0,
from discovery.c:15:
../btstack/src/classic/avrcp_browsing.h:60:6: warning: redundant redeclaration of ‘avrcp_browsing_request_can_send_now’ [-Wredundant-decls]
void avrcp_browsing_request_can_send_now(avrcp_browsing_connection_t * connection, uint16_t l2cap_cid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../btstack/src/btstack_memory.h:69:0,
from ../btstack/src/btstack.h:64,
from discovery.c:15:
../btstack/src/classic/avrcp.h:686:6: note: previous declaration of ‘avrcp_browsing_request_can_send_now’ was here
void avrcp_browsing_request_can_send_now(avrcp_browsing_connection_t * connection, uint16_t l2cap_cid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../btstack/src/btstack.h:109:0,
from discovery.c:15:
../btstack/src/classic/avrcp_browsing.h:66:6: warning: redundant redeclaration of ‘avrcp_browsing_init’ [-Wredundant-decls]
void avrcp_browsing_init(void);
^~~~~~~~~~~~~~~~~~~
In file included from ../btstack/src/btstack_memory.h:69:0,
from ../btstack/src/btstack.h:64,
from discovery.c:15:
../btstack/src/classic/avrcp.h:639:6: note: previous declaration of ‘avrcp_browsing_init’ was here
void avrcp_browsing_init(void);

Note that: I already install lsusb package and I check out btstack and run some Example success on my system.
Could you please help me on it?
Many Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions