{"action":"created","issue":{"url":"https://api.github.com/repos/mamedev/mame/issues/704","repository_url":"https://api.github.com/repos/mamedev/mame","labels_url":"https://api.github.com/repos/mamedev/mame/issues/704/labels{/name}","comments_url":"https://api.github.com/repos/mamedev/mame/issues/704/comments","events_url":"https://api.github.com/repos/mamedev/mame/issues/704/events","html_url":"https://github.com/mamedev/mame/issues/704","id":139855530,"number":704,"title":"Unable to build using emscripten – asmjs_x86_clang error","user":{"login":"robhawkes","id":22612,"avatar_url":"https://avatars.githubusercontent.com/u/22612?v=3","gravatar_id":"","url":"https://api.github.com/users/robhawkes","html_url":"https://github.com/robhawkes","followers_url":"https://api.github.com/users/robhawkes/followers","following_url":"https://api.github.com/users/robhawkes/following{/other_user}","gists_url":"https://api.github.com/users/robhawkes/gists{/gist_id}","starred_url":"https://api.github.com/users/robhawkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robhawkes/subscriptions","organizations_url":"https://api.github.com/users/robhawkes/orgs","repos_url":"https://api.github.com/users/robhawkes/repos","events_url":"https://api.github.com/users/robhawkes/events{/privacy}","received_events_url":"https://api.github.com/users/robhawkes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-10T11:03:57Z","updated_at":"2016-03-10T16:05:43Z","closed_at":null,"body":"I'm trying to create a Dragon build using emscripten but I keep hitting the following error and I'm unsure how to proceed in regards to debugging it and ideally fixing it / avoiding it all together. I'm able to replicate this on 2 separate machines.\r\n\r\nI see the same error when trying to build using other drivers too, like the pacman driver [in the emscripten mame docs](https://raw.githubusercontent.com/mamedev/mame/master/docs/emscripten.txt).\r\n\r\nI am able to build the Dragon driver successfully on OSX without using emscripten.\r\n\r\nAny recommendations on how to proceed?\r\n\r\nVersions:\r\n* OSX 10.11.3 (15D21)\r\n* emscripten 1.35.0\r\n* Latest mame clone as of today (b0cfd60)\r\n\r\nProcess:\r\n* Clone mame\r\n* Install the emscripten SDK [as per the following instructions](https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html)\r\n* Run the build command for the Dragon:\r\n```\r\nemmake make SUB_TARGET=dragon32 SOURCES=src/mame/drivers/dragon.cpp\r\n```\r\n\r\nLog of build output:\r\n\r\n```\r\n$ emmake make SUB_TARGET=dragon32 SOURCES=src/mame/drivers/dragon.cpp\r\nClang 7.0.2 detected\r\nCreating obj/Release\r\nCreating obj/Release/src/host/lua-5.3.0/src\r\nos_getcwd.c\r\nos_stat.c\r\nos_chdir.c\r\npremake_main.c\r\nos_uuid.c\r\nos_isfile.c\r\nos_ticks.c\r\nos_copyfile.c\r\nscripts.c\r\nstring_endswith.c\r\nstring_hash.c\r\nos_pathsearch.c\r\nos_rmdir.c\r\nos_match.c\r\npremake.c\r\nos_isdir.c\r\nos_mkdir.c\r\npath_isabsolute.c\r\nos_is64bit.c\r\nldump.c\r\nlvm.c\r\nltable.c\r\nlstrlib.c\r\nliolib.c\r\nlcode.c\r\nlparser.c\r\nloadlib.c\r\nlbitlib.c\r\nlzio.c\r\nldblib.c\r\nlmathlib.c\r\nlfunc.c\r\nlmem.c\r\nlgc.c\r\nlstring.c\r\nlinit.c\r\nltm.c\r\nlapi.c\r\nlctype.c\r\nlstate.c\r\nlbaselib.c\r\nltablib.c\r\nlauxlib.c\r\nlcorolib.c\r\nllex.c\r\nldo.c\r\nlundump.c\r\nlopcodes.c\r\nlutf8lib.c\r\nloslib.c\r\nlobject.c\r\nldebug.c\r\nCreating ../../bin/darwin\r\nLinking genie\r\nmake: *** No rule to make target `asmjs_x86_clang', needed by `all'.  Stop.\r\n```"},"comment":{"url":"https://api.github.com/repos/mamedev/mame/issues/comments/194926445","html_url":"https://github.com/mamedev/mame/issues/704#issuecomment-194926445","issue_url":"https://api.github.com/repos/mamedev/mame/issues/704","id":194926445,"user":{"login":"robhawkes","id":22612,"avatar_url":"https://avatars.githubusercontent.com/u/22612?v=3","gravatar_id":"","url":"https://api.github.com/users/robhawkes","html_url":"https://github.com/robhawkes","followers_url":"https://api.github.com/users/robhawkes/followers","following_url":"https://api.github.com/users/robhawkes/following{/other_user}","gists_url":"https://api.github.com/users/robhawkes/gists{/gist_id}","starred_url":"https://api.github.com/users/robhawkes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robhawkes/subscriptions","organizations_url":"https://api.github.com/users/robhawkes/orgs","repos_url":"https://api.github.com/users/robhawkes/repos","events_url":"https://api.github.com/users/robhawkes/events{/privacy}","received_events_url":"https://api.github.com/users/robhawkes/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T16:05:43Z","updated_at":"2016-03-10T16:05:43Z","body":"Awesome stuff – looks to be fixed now. Thank you for looking at it so quickly!"}}