Skip to content

Build error #1

@androidlover5842

Description

@androidlover5842

i am sorry for opeaning an issue but i can't find any other way to contact you .

This is my problem

hardware/ril-legacy/libril/ril.cpp:3399:1: error: conflicting types for 'RIL_register'
RIL_register (const RIL_RadioFunctions *callbacks, int client_id) {
^
hardware/ril-legacy/include/telephony/ril.h:4565:6: note: previous declaration is here
void RIL_register (const RIL_RadioFunctions *callbacks);
    ^
hardware/ril-legacy/libril/ril.cpp:3786:6: error: conflicting types for 'RIL_onUnsolicitedResponse'
void RIL_onUnsolicitedResponse(int unsolResponse, void *data,
    ^
hardware/ril-legacy/include/telephony/ril.h:4590:6: note: previous declaration is here
void RIL_onUnsolicitedResponse(int unsolResponse, const void *data,
    ^
hardware/ril-legacy/libril/ril.cpp:3793:1: error: conflicting types for 'RIL_onUnsolicitedResponse2'
RIL_onUnsolicitedResponse2(int unsolResponse, void *data,
^
hardware/ril-legacy/include/telephony/ril_msim.h:62:6: note: previous declaration is here
void RIL_onUnsolicitedResponse2(int unsolResponse, const void *data,
    ^
170 warnings and 3 errors generated.
ninja: build stopped: subcommand failed.

i am getting this error while compiling this in cm14 source and as i know this is only ril which works with my device . It would be great if you help me out in fixing this error please .

Thanks for any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions