{"action":"created","issue":{"url":"https://api.github.com/repos/libretro/RetroArch/issues/4020","repository_url":"https://api.github.com/repos/libretro/RetroArch","labels_url":"https://api.github.com/repos/libretro/RetroArch/issues/4020/labels{/name}","comments_url":"https://api.github.com/repos/libretro/RetroArch/issues/4020/comments","events_url":"https://api.github.com/repos/libretro/RetroArch/issues/4020/events","html_url":"https://github.com/libretro/RetroArch/issues/4020","id":190504633,"number":4020,"title":"Can't build on latest libctru ","user":{"login":"Teuns","id":2450558,"avatar_url":"https://avatars.githubusercontent.com/u/2450558?v=3","gravatar_id":"","url":"https://api.github.com/users/Teuns","html_url":"https://github.com/Teuns","followers_url":"https://api.github.com/users/Teuns/followers","following_url":"https://api.github.com/users/Teuns/following{/other_user}","gists_url":"https://api.github.com/users/Teuns/gists{/gist_id}","starred_url":"https://api.github.com/users/Teuns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Teuns/subscriptions","organizations_url":"https://api.github.com/users/Teuns/orgs","repos_url":"https://api.github.com/users/Teuns/repos","events_url":"https://api.github.com/users/Teuns/events{/privacy}","received_events_url":"https://api.github.com/users/Teuns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-19T16:15:40Z","updated_at":"2016-11-19T18:27:53Z","closed_at":null,"body":"Hello,\r\n\r\nI get stuck on the part to create an ELF but somehow I got these errors even if I linked the libretro_ctr.a libary to it: \r\n```\r\nctr/ctr_system.o: In function `APT_ReceiveDeliverArg_':\r\nctr_system.c:(.text+0x3b4): undefined reference to `aptSendCommand'\r\nctr/ctr_system.o: In function `__system_initArgv':\r\nctr_system.c:(.text+0x5ac): undefined reference to `aptSendCommand'\r\ngriffin/griffin.o: In function `libretro_get_system_info_static':\r\ngriffin.c:(.text+0x10f90): undefined reference to `retro_set_environment'\r\ngriffin.c:(.text+0x10fa4): undefined reference to `retro_set_environment'\r\ngriffin.c:(.text+0x10fb0): undefined reference to `retro_get_system_info'\r\ngriffin/griffin.o: In function `frontend_ctr_exec':\r\ngriffin.c:(.text+0x304bc): undefined reference to `APT_PrepareToDoApplicationJump'\r\ngriffin.c:(.text+0x304d4): undefined reference to `APT_DoApplicationJump'\r\ngriffin/griffin.o: In function `libretro_get_system_info':\r\ngriffin.c:(.text+0x43fec): undefined reference to `retro_set_environment'\r\ngriffin.c:(.text+0x44000): undefined reference to `retro_set_environment'\r\ngriffin.c:(.text+0x4400c): undefined reference to `retro_get_system_info'\r\ngriffin/griffin.o: In function `init_libretro_sym':\r\ngriffin.c:(.text+0x44374): undefined reference to `retro_init'\r\ngriffin.c:(.text+0x44378): undefined reference to `retro_deinit'\r\ngriffin.c:(.text+0x4437c): undefined reference to `retro_api_version'\r\ngriffin.c:(.text+0x44380): undefined reference to `retro_get_system_info'\r\ngriffin.c:(.text+0x44384): undefined reference to `retro_get_system_av_info'\r\ngriffin.c:(.text+0x44388): undefined reference to `retro_set_environment'\r\ngriffin.c:(.text+0x4438c): undefined reference to `retro_set_video_refresh'\r\ngriffin.c:(.text+0x44390): undefined reference to `retro_set_audio_sample'\r\ngriffin.c:(.text+0x44394): undefined reference to `retro_set_audio_sample_batch'\r\ngriffin.c:(.text+0x44398): undefined reference to `retro_set_input_poll'\r\ngriffin.c:(.text+0x4439c): undefined reference to `retro_set_input_state'\r\ngriffin.c:(.text+0x443a0): undefined reference to `retro_set_controller_port_device'\r\ngriffin.c:(.text+0x443a4): undefined reference to `retro_reset'\r\ngriffin.c:(.text+0x443a8): undefined reference to `retro_run'\r\ngriffin.c:(.text+0x443ac): undefined reference to `retro_serialize_size'\r\ngriffin.c:(.text+0x443b0): undefined reference to `retro_serialize'\r\ngriffin.c:(.text+0x443b4): undefined reference to `retro_unserialize'\r\ngriffin.c:(.text+0x443b8): undefined reference to `retro_cheat_reset'\r\ngriffin.c:(.text+0x443bc): undefined reference to `retro_cheat_set'\r\ngriffin.c:(.text+0x443c0): undefined reference to `retro_load_game'\r\ngriffin.c:(.text+0x443c4): undefined reference to `retro_load_game_special'\r\ngriffin.c:(.text+0x443c8): undefined reference to `retro_unload_game'\r\ngriffin.c:(.text+0x443cc): undefined reference to `retro_get_region'\r\ngriffin.c:(.text+0x443d0): undefined reference to `retro_get_memory_data'\r\ngriffin.c:(.text+0x443d4): undefined reference to `retro_get_memory_size'\r\ngriffin/griffin.o: In function `core_init_symbols':\r\ngriffin.c:(.text+0x58398): undefined reference to `retro_init'\r\ngriffin.c:(.text+0x5839c): undefined reference to `retro_deinit'\r\ngriffin.c:(.text+0x583a0): undefined reference to `retro_api_version'\r\ngriffin.c:(.text+0x583a4): undefined reference to `retro_get_system_info'\r\ngriffin.c:(.text+0x583a8): undefined reference to `retro_get_system_av_info'\r\ngriffin.c:(.text+0x583ac): undefined reference to `retro_set_environment'\r\ngriffin.c:(.text+0x583b0): undefined reference to `retro_set_video_refresh'\r\ngriffin.c:(.text+0x583b4): undefined reference to `retro_set_audio_sample'\r\ngriffin.c:(.text+0x583b8): undefined reference to `retro_set_audio_sample_batch'\r\ngriffin.c:(.text+0x583bc): undefined reference to `retro_set_input_poll'\r\ngriffin.c:(.text+0x583c0): undefined reference to `retro_set_input_state'\r\ngriffin.c:(.text+0x583c4): undefined reference to `retro_set_controller_port_device'\r\ngriffin.c:(.text+0x583c8): undefined reference to `retro_reset'\r\ngriffin.c:(.text+0x583cc): undefined reference to `retro_run'\r\ngriffin.c:(.text+0x583d0): undefined reference to `retro_serialize_size'\r\ngriffin.c:(.text+0x583d4): undefined reference to `retro_serialize'\r\ngriffin.c:(.text+0x583d8): undefined reference to `retro_unserialize'\r\ngriffin.c:(.text+0x583dc): undefined reference to `retro_cheat_reset'\r\ngriffin.c:(.text+0x583e0): undefined reference to `retro_cheat_set'\r\ngriffin.c:(.text+0x583e4): undefined reference to `retro_load_game'\r\ngriffin.c:(.text+0x583e8): undefined reference to `retro_load_game_special'\r\ngriffin.c:(.text+0x583ec): undefined reference to `retro_unload_game'\r\ngriffin.c:(.text+0x583f0): undefined reference to `retro_get_region'\r\ngriffin.c:(.text+0x583f4): undefined reference to `retro_get_memory_data'\r\ngriffin.c:(.text+0x583f8): undefined reference to `retro_get_memory_size'\r\ngriffin/griffin.o: In function `command_event_init_core':\r\ngriffin.c:(.text+0xba300): undefined reference to `retro_init'\r\ngriffin.c:(.text+0xba304): undefined reference to `retro_deinit'\r\ngriffin.c:(.text+0xba308): undefined reference to `retro_api_version'\r\ngriffin.c:(.text+0xba30c): undefined reference to `retro_get_system_info'\r\ngriffin.c:(.text+0xba310): undefined reference to `retro_get_system_av_info'\r\ngriffin.c:(.text+0xba314): undefined reference to `retro_set_environment'\r\ngriffin.c:(.text+0xba318): undefined reference to `retro_set_video_refresh'\r\ngriffin.c:(.text+0xba31c): undefined reference to `retro_set_audio_sample'\r\ngriffin.c:(.text+0xba320): undefined reference to `retro_set_audio_sample_batch'\r\ngriffin.c:(.text+0xba324): undefined reference to `retro_set_input_poll'\r\ngriffin.c:(.text+0xba328): undefined reference to `retro_set_input_state'\r\ngriffin.c:(.text+0xba32c): undefined reference to `retro_set_controller_port_device'\r\ngriffin.c:(.text+0xba330): undefined reference to `retro_reset'\r\ngriffin.c:(.text+0xba334): undefined reference to `retro_run'\r\ngriffin.c:(.text+0xba338): undefined reference to `retro_serialize_size'\r\ngriffin.c:(.text+0xba33c): undefined reference to `retro_serialize'\r\ngriffin.c:(.text+0xba340): undefined reference to `retro_unserialize'\r\ngriffin.c:(.text+0xba344): undefined reference to `retro_cheat_reset'\r\ngriffin.c:(.text+0xba348): undefined reference to `retro_cheat_set'\r\ngriffin.c:(.text+0xba34c): undefined reference to `retro_load_game'\r\ngriffin.c:(.text+0xba350): undefined reference to `retro_load_game_special'\r\ngriffin.c:(.text+0xba354): undefined reference to `retro_unload_game'\r\ngriffin.c:(.text+0xba358): undefined reference to `retro_get_region'\r\ngriffin.c:(.text+0xba35c): undefined reference to `retro_get_memory_data'\r\ngriffin.c:(.text+0xba360): undefined reference to `retro_get_memory_size'\r\n```\r\n\r\n\r\nDo I need to downgrade my libctru to compile it successful, or?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/libretro/RetroArch/issues/comments/261730801","html_url":"https://github.com/libretro/RetroArch/issues/4020#issuecomment-261730801","issue_url":"https://api.github.com/repos/libretro/RetroArch/issues/4020","id":261730801,"user":{"login":"aliaspider","id":3681128,"avatar_url":"https://avatars.githubusercontent.com/u/3681128?v=3","gravatar_id":"","url":"https://api.github.com/users/aliaspider","html_url":"https://github.com/aliaspider","followers_url":"https://api.github.com/users/aliaspider/followers","following_url":"https://api.github.com/users/aliaspider/following{/other_user}","gists_url":"https://api.github.com/users/aliaspider/gists{/gist_id}","starred_url":"https://api.github.com/users/aliaspider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliaspider/subscriptions","organizations_url":"https://api.github.com/users/aliaspider/orgs","repos_url":"https://api.github.com/users/aliaspider/repos","events_url":"https://api.github.com/users/aliaspider/events{/privacy}","received_events_url":"https://api.github.com/users/aliaspider/received_events","type":"User","site_admin":false},"created_at":"2016-11-19T18:27:53Z","updated_at":"2016-11-19T18:27:53Z","body":"and you are certain you have latest libctru.a inside /opt/devkitpro/libctru/lib ? maybe you built it with just make and not make install, in which case it will not copy the library there.\r\n\r\nalso that log shows that either you don't have a libretro_ctr.a in the same folder as Makefile.ctr, or that the file is there but invalid. try rebuilding the core again."}}
{"actor":{"display_login":"aliaspider"}}