{"action":"created","issue":{"url":"https://api.github.com/repos/chaoskagami/corbenik/issues/35","repository_url":"https://api.github.com/repos/chaoskagami/corbenik","labels_url":"https://api.github.com/repos/chaoskagami/corbenik/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/chaoskagami/corbenik/issues/35/comments","events_url":"https://api.github.com/repos/chaoskagami/corbenik/issues/35/events","html_url":"https://github.com/chaoskagami/corbenik/issues/35","id":173849422,"number":35,"title":"Build error in firm/firm.c","user":{"login":"mariogamer2","id":14854557,"avatar_url":"https://avatars.githubusercontent.com/u/14854557?v=3","gravatar_id":"","url":"https://api.github.com/users/mariogamer2","html_url":"https://github.com/mariogamer2","followers_url":"https://api.github.com/users/mariogamer2/followers","following_url":"https://api.github.com/users/mariogamer2/following{/other_user}","gists_url":"https://api.github.com/users/mariogamer2/gists{/gist_id}","starred_url":"https://api.github.com/users/mariogamer2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariogamer2/subscriptions","organizations_url":"https://api.github.com/users/mariogamer2/orgs","repos_url":"https://api.github.com/users/mariogamer2/repos","events_url":"https://api.github.com/users/mariogamer2/events{/privacy}","received_events_url":"https://api.github.com/users/mariogamer2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-29T19:14:20Z","updated_at":"2016-08-30T18:52:38Z","closed_at":"2016-08-30T09:45:28Z","body":"Here is the error:\r\n\r\nfirm/firm.c: In function 'dump_firm':\r\nfirm/firm.c:57:22: warning: cast increases required alignment of target type [-Wcast-align]\r\n     sdmmc_get_cid(1, (uint32_t*)cid);\r\n                      ^\r\nfirm/firm.c: In function 'decrypt_cetk_key':\r\nfirm/firm.c:211:5: error: implicit declaration of function 'cbc_decrypt' [-Werror=implicit-function-declaration]\r\n     cbc_decrypt(key, key, 1, AES_CNT_TITLEKEY_DECRYPT_MODE, iv);\r\n     ^\r\nfirm/firm.c: In function 'decrypt_firm_title':\r\nfirm/firm.c:230:53: error: 'AES_CNT_CBC_DECRYPT_MODE' undeclared (first use in this function)\r\n     cbc_decrypt(ncch, ncch, *size / AES_BLOCK_SIZE, AES_CNT_CBC_DECRYPT_MODE, f\r\n                                                     ^\r\nfirm/firm.c:230:53: note: each undeclared identifier is reported only once for each function it appears in\r\nfirm/firm.c:240:22: warning: cast increases required alignment of target type [-Wcast-align]\r\n     exefs_h *exefs = (exefs_h *)((uint8_t *)ncch + ncch->exeFSOffset * MEDIA_UN\r\n                      ^\r\nfirm/firm.c: In function 'decrypt_arm9bin':\r\nfirm/firm.c:275:9: error: implicit declaration of function 'ecb_decrypt' [-Werror=implicit-function-declaration]\r\n         ecb_decrypt(header->slot0x16keyX, decrypted_keyx, 1, AES_CNT_ECB_DECRYP\r\n         ^\r\nfirm/firm.c:275:62: error: 'AES_CNT_ECB_DECRYPT_MODE' undeclared (first use in this function)\r\n         ecb_decrypt(header->slot0x16keyX, decrypted_keyx, 1, AES_CNT_ECB_DECRYP\r\n                                                              ^\r\nfirm/firm.c: In function 'boot_firm':\r\nfirm/firm.c:432:43: error: 'AES_CNT_ECB_DECRYPT_MODE' undeclared (first use in this function)\r\n             ecb_decrypt(keydata, keyx, 1, AES_CNT_ECB_DECRYPT_MODE);\r\n                                           ^\r\nfirm/firm.c: In function 'find_proc9':\r\nfirm/firm.c:482:13: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow]\r\n             while (arm9section < arm9section + section->size) {\r\n             ^\r\nfirm/firm.c:484:36: warning: cast increases required alignment of target type [-Wcast-align]\r\n                     ncch_h *ncch = (ncch_h *)((uint8_t*)arm9section - sizeof(nc\r\n                                    ^\r\ncc1: all warnings being treated as errors\r\n"},"comment":{"url":"https://api.github.com/repos/chaoskagami/corbenik/issues/comments/243541750","html_url":"https://github.com/chaoskagami/corbenik/issues/35#issuecomment-243541750","issue_url":"https://api.github.com/repos/chaoskagami/corbenik/issues/35","id":243541750,"user":{"login":"mariogamer2","id":14854557,"avatar_url":"https://avatars.githubusercontent.com/u/14854557?v=3","gravatar_id":"","url":"https://api.github.com/users/mariogamer2","html_url":"https://github.com/mariogamer2","followers_url":"https://api.github.com/users/mariogamer2/followers","following_url":"https://api.github.com/users/mariogamer2/following{/other_user}","gists_url":"https://api.github.com/users/mariogamer2/gists{/gist_id}","starred_url":"https://api.github.com/users/mariogamer2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariogamer2/subscriptions","organizations_url":"https://api.github.com/users/mariogamer2/orgs","repos_url":"https://api.github.com/users/mariogamer2/repos","events_url":"https://api.github.com/users/mariogamer2/events{/privacy}","received_events_url":"https://api.github.com/users/mariogamer2/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T18:52:38Z","updated_at":"2016-08-30T18:52:38Z","body":"I think that git does not properly update the submodule when we update the base repo (with a commit that update the submodule),anyway this work fine..."}}
{"actor":{"display_login":"mariogamer2"}}