[HTC Aria Android Development] rkrishnan2012:
Hi everyone, keep getting this after running make otapackage -j4. I am running on ubuntu 11.04 32bit and compiling off Winsuk's git account.

-Thanks

hardware/ril/reference-ril/reference-ril.c:296: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:299: error: expected ')' before '*' token

hardware/ril/reference-ril/reference-ril.c:488: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestQueryNetworkSelectionMode':

hardware/ril/reference-ril/reference-ril.c:515: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:515: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:515: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:521: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:521: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: In function 'sendCallStateChanged':

hardware/ril/reference-ril/reference-ril.c:526: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:526: error: 'RIL_UNSOL_RESPONSE_CALL_STATE_CHANGED' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:531: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestGetCurrentCalls':

hardware/ril/reference-ril/reference-ril.c:538: error: 'RIL_Call' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:538: error: 'p_calls' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:539: error: 'pp_calls' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:553: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:553: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:553: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:567: error: expected expression before ')' token

hardware/ril/reference-ril/reference-ril.c:568: error: expected expression before ')' token

hardware/ril/reference-ril/reference-ril.c:580: error: too many arguments to function 'callFromCLCCLine'

hardware/ril/reference-ril/reference-ril.c:594: error: 'RIL_CALL_ACTIVE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:595: error: 'RIL_CALL_HOLDING' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:634: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:634: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:634: error: expected expression before ')' token

hardware/ril/reference-ril/reference-ril.c:645: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:650: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:654: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestDial':

hardware/ril/reference-ril/reference-ril.c:656: error: 'RIL_Dial' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:656: error: 'p_dial' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:661: error: expected expression before ')' token

hardware/ril/reference-ril/reference-ril.c:678: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:678: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:678: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:681: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestWriteSmsToSim':

hardware/ril/reference-ril/reference-ril.c:683: error: 'RIL_SMS_WriteArgs' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:683: error: 'p_args' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:689: error: expected expression before ')' token

hardware/ril/reference-ril/reference-ril.c:698: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:698: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:698: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:703: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:703: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:707: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestHangup':

hardware/ril/reference-ril/reference-ril.c:726: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:726: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:726: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:729: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestSignalStrength':

hardware/ril/reference-ril/reference-ril.c:739: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:739: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:739: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:754: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:754: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:761: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:766: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestRegistrationState':

hardware/ril/reference-ril/reference-ril.c:780: error: 'RIL_REQUEST_VOICE_REGISTRATION_STATE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:783: error: 'RIL_REQUEST_DATA_REGISTRATION_STATE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:890: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:890: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:890: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:896: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:896: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:900: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestOperator':

hardware/ril/reference-ril/reference-ril.c:961: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:961: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:961: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:967: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:967: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:971: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestSendSMS':

hardware/ril/reference-ril/reference-ril.c:978: error: 'RIL_SMS_Response' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:978: error: expected ';' before 'response'

hardware/ril/reference-ril/reference-ril.c:998: error: 'response' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1002: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1002: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1002: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1007: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1007: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:1011: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestSetupDataCall':

hardware/ril/reference-ril/reference-ril.c:1036: warning: implicit declaration of function 'ALOGD'

hardware/ril/reference-ril/reference-ril.c:1123: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1129: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1129: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:1134: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestSMSAcknowledge':

hardware/ril/reference-ril/reference-ril.c:1150: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1150: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1150: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1152: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1152: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:1156: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestSIM_IO':

hardware/ril/reference-ril/reference-ril.c:1159: error: 'RIL_SIM_IO_Response' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1159: error: expected ';' before 'sr'

hardware/ril/reference-ril/reference-ril.c:1162: error: 'RIL_SIM_IO_v6' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1162: error: 'p_args' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1165: error: 'sr' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1167: error: expected expression before ')' token

hardware/ril/reference-ril/reference-ril.c:1203: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1203: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1203: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1209: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1209: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:1215: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestEnterSimPin':

hardware/ril/reference-ril/reference-ril.c:1234: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1234: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1234: error: 'RIL_E_PASSWORD_INCORRECT' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1236: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1236: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:1242: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'requestSendUSSD':

hardware/ril/reference-ril/reference-ril.c:1249: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1249: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1249: error: 'RIL_E_REQUEST_NOT_SUPPORTED' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:1271: error: expected declaration specifiers or '...' before 'RIL_Token'

hardware/ril/reference-ril/reference-ril.c: In function 'onRequest':

hardware/ril/reference-ril/reference-ril.c:1281: error: 'sState' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1281: error: 'RADIO_STATE_UNAVAILABLE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1282: error: 'RIL_REQUEST_GET_SIM_STATUS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1284: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1284: error: 't' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1284: error: 'RIL_E_RADIO_NOT_AVAILABLE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1291: error: 'RADIO_STATE_OFF' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1292: error: 'RIL_REQUEST_RADIO_POWER' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1295: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1301: error: 'RIL_CardStatus_v6' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1301: error: 'p_card_status' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1305: warning: implicit declaration of function 'getCardStatus'

hardware/ril/reference-ril/reference-ril.c:1306: error: 'RIL_E_SUCCESS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1313: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1314: warning: implicit declaration of function 'freeCardStatus'

hardware/ril/reference-ril/reference-ril.c:1317: error: 'RIL_REQUEST_GET_CURRENT_CALLS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1318: error: too many arguments to function 'requestGetCurrentCalls'

hardware/ril/reference-ril/reference-ril.c:1320: error: 'RIL_REQUEST_DIAL' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1321: error: too many arguments to function 'requestDial'

hardware/ril/reference-ril/reference-ril.c:1323: error: 'RIL_REQUEST_HANGUP' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1324: error: too many arguments to function 'requestHangup'

hardware/ril/reference-ril/reference-ril.c:1326: error: 'RIL_REQUEST_HANGUP_WAITING_OR_BACKGROUND' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1334: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1336: error: 'RIL_REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1344: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1346: error: 'RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1358: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1360: error: 'RIL_REQUEST_ANSWER' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1369: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1371: error: 'RIL_REQUEST_CONFERENCE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1378: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1380: error: 'RIL_REQUEST_UDUB' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1387: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1390: error: 'RIL_REQUEST_SEPARATE_CONNECTION' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1401: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1403: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1403: error: 'RIL_E_GENERIC_FAILURE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1408: error: 'RIL_REQUEST_SIGNAL_STRENGTH' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1409: error: too many arguments to function 'requestSignalStrength'

hardware/ril/reference-ril/reference-ril.c:1411: error: 'RIL_REQUEST_VOICE_REGISTRATION_STATE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1412: error: 'RIL_REQUEST_DATA_REGISTRATION_STATE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1413: error: too many arguments to function 'requestRegistrationState'

hardware/ril/reference-ril/reference-ril.c:1415: error: 'RIL_REQUEST_OPERATOR' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1416: error: too many arguments to function 'requestOperator'

hardware/ril/reference-ril/reference-ril.c:1419: error: too many arguments to function 'requestRadioPower'

hardware/ril/reference-ril/reference-ril.c:1421: error: 'RIL_REQUEST_DTMF' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1427: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1430: error: 'RIL_REQUEST_SEND_SMS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1431: error: too many arguments to function 'requestSendSMS'

hardware/ril/reference-ril/reference-ril.c:1433: error: 'RIL_REQUEST_SETUP_DATA_CALL' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1434: error: too many arguments to function 'requestSetupDataCall'

hardware/ril/reference-ril/reference-ril.c:1436: error: 'RIL_REQUEST_SMS_ACKNOWLEDGE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1437: error: too many arguments to function 'requestSMSAcknowledge'

hardware/ril/reference-ril/reference-ril.c:1440: error: 'RIL_REQUEST_GET_IMSI' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1445: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1447: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1453: error: 'RIL_REQUEST_GET_IMEI' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1458: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1460: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1466: error: 'RIL_REQUEST_SIM_IO' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1467: error: too many arguments to function 'requestSIM_IO'

hardware/ril/reference-ril/reference-ril.c:1470: error: 'RIL_REQUEST_SEND_USSD' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1471: error: too many arguments to function 'requestSendUSSD'

hardware/ril/reference-ril/reference-ril.c:1474: error: 'RIL_REQUEST_CANCEL_USSD' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1479: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1481: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1487: error: 'RIL_REQUEST_SET_NETWORK_SELECTION_AUTOMATIC' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1491: error: 'RIL_REQUEST_DATA_CALL_LIST' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1492: error: too many arguments to function 'requestDataCallList'

hardware/ril/reference-ril/reference-ril.c:1495: error: 'RIL_REQUEST_QUERY_NETWORK_SELECTION_MODE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1496: error: too many arguments to function 'requestQueryNetworkSelectionMode'

hardware/ril/reference-ril/reference-ril.c:1499: error: 'RIL_REQUEST_OEM_HOOK_RAW' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1501: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1505: error: 'RIL_REQUEST_OEM_HOOK_STRINGS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1518: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1522: error: 'RIL_REQUEST_WRITE_SMS_TO_SIM' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1523: error: too many arguments to function 'requestWriteSmsToSim'

hardware/ril/reference-ril/reference-ril.c:1526: error: 'RIL_REQUEST_DELETE_SMS_ON_SIM' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1533: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1535: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1541: error: 'RIL_REQUEST_ENTER_SIM_PIN' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1542: error: 'RIL_REQUEST_ENTER_SIM_PUK' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1543: error: 'RIL_REQUEST_ENTER_SIM_PIN2' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1544: error: 'RIL_REQUEST_ENTER_SIM_PUK2' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1545: error: 'RIL_REQUEST_CHANGE_SIM_PIN' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1546: error: 'RIL_REQUEST_CHANGE_SIM_PIN2' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1547: error: too many arguments to function 'requestEnterSimPin'

hardware/ril/reference-ril/reference-ril.c:1551: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1551: error: 'RIL_E_REQUEST_NOT_SUPPORTED' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:1561: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'currentState'

hardware/ril/reference-ril/reference-ril.c:1580: error: expected ')' before 't'

hardware/ril/reference-ril/reference-ril.c:1592: error: expected ')' before 'newState'

hardware/ril/reference-ril/reference-ril.c: In function 'getSIMStatus':

hardware/ril/reference-ril/reference-ril.c:1646: error: 'sState' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1646: error: 'RADIO_STATE_OFF' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1646: error: 'RADIO_STATE_UNAVAILABLE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:1720: error: expected ')' before '*' token

hardware/ril/reference-ril/reference-ril.c:1786: error: expected ')' before '*' token

hardware/ril/reference-ril/reference-ril.c: In function 'pollSIMState':

hardware/ril/reference-ril/reference-ril.c:1801: error: 'sState' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1801: error: 'RADIO_STATE_SIM_NOT_READY' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1812: error: 'RADIO_STATE_SIM_LOCKED_OR_ABSENT' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1816: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1820: error: 'RADIO_STATE_SIM_READY' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: In function 'initializeCallback':

hardware/ril/reference-ril/reference-ril.c:1867: error: 'RADIO_STATE_OFF' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1936: error: 'RADIO_STATE_SIM_NOT_READY' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: In function 'onUnsolicited':

hardware/ril/reference-ril/reference-ril.c:1964: error: 'sState' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1964: error: 'RADIO_STATE_UNAVAILABLE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1980: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1980: error: 'RIL_UNSOL_NITZ_TIME_RECEIVED' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1989: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1989: error: 'RIL_UNSOL_RESPONSE_CALL_STATE_CHANGED' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:1998: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:1998: error: 'RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:2005: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:2005: error: 'RIL_UNSOL_RESPONSE_NEW_SMS' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:2009: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c:2009: error: 'RIL_UNSOL_RESPONSE_NEW_SMS_STATUS_REPORT' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c:2018: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c: In function 'onATReaderClosed':

hardware/ril/reference-ril/reference-ril.c:2029: warning: implicit declaration of function 'ALOGI'

hardware/ril/reference-ril/reference-ril.c:2033: error: 'RADIO_STATE_UNAVAILABLE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: In function 'onATTimeout':

hardware/ril/reference-ril/reference-ril.c:2046: error: 'RADIO_STATE_UNAVAILABLE' undeclared (first use in this function)

hardware/ril/reference-ril/reference-ril.c: In function 'mainLoop':

hardware/ril/reference-ril/reference-ril.c:2129: error: dereferencing pointer to incomplete type

hardware/ril/reference-ril/reference-ril.c: At top level:

hardware/ril/reference-ril/reference-ril.c:2144: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

make: *** [out/target/product/liberty/obj/SHARED_LIBRARIES/libreference-ril_intermediates/reference-ril.o] Error 1

make: *** Waiting for unfinished jobs....

rohit@rohitLaptopUbuntu:~/AndroidDev$