{"action":"created","issue":{"url":"https://api.github.com/repos/mkrufky/libdvbtee/issues/12","repository_url":"https://api.github.com/repos/mkrufky/libdvbtee","labels_url":"https://api.github.com/repos/mkrufky/libdvbtee/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/mkrufky/libdvbtee/issues/12/comments","events_url":"https://api.github.com/repos/mkrufky/libdvbtee/issues/12/events","html_url":"https://github.com/mkrufky/libdvbtee/issues/12","id":126984499,"number":12,"title":"unable to cross compile (mingw) for windows","user":{"login":"rdp","id":12496,"avatar_url":"https://avatars3.githubusercontent.com/u/12496?v=4","gravatar_id":"","url":"https://api.github.com/users/rdp","html_url":"https://github.com/rdp","followers_url":"https://api.github.com/users/rdp/followers","following_url":"https://api.github.com/users/rdp/following{/other_user}","gists_url":"https://api.github.com/users/rdp/gists{/gist_id}","starred_url":"https://api.github.com/users/rdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdp/subscriptions","organizations_url":"https://api.github.com/users/rdp/orgs","repos_url":"https://api.github.com/users/rdp/repos","events_url":"https://api.github.com/users/rdp/events{/privacy}","received_events_url":"https://api.github.com/users/rdp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-01-16T00:09:58Z","updated_at":"2018-04-23T11:25:09Z","closed_at":"2016-01-29T00:47:18Z","author_association":"NONE","body":"This library works great.  EPG from my TS files!\nI tried to make a distribute for \"end users\" and ran into this:\n\n```\nfeed.cpp:22:23: fatal error: arpa/inet.h: No such file or directory\ncompilation terminated.\nmake[2]: *** [feed.lo] Error 1\nmake[2]: *** Waiting for unfinished jobs....\nIn file included from demux.h:28:0,\n                 from demux.cpp:24:\noutput.h:25:23: fatal error: arpa/inet.h: No such file or directory\ncompilation terminated.\nmake[2]: *** [demux.lo] Error 1\nfunctions.cpp: In function 'time_t datetime_utc(uint64_t)':\nfunctions.cpp:103:19: error: 'timegm' was not declared in this scope\n  return timegm(&tm);\n                   ^\nfunctions.cpp: In function 'time_t atsc_datetime_utc(uint32_t)':\nfunctions.cpp:121:26: error: 'timegm' was not declared in this scope\n  return timegm(&temp_time);\n                          ^\nmake[2]: *** [functions.lo] Error 1\nmake[1]: *** [all-recursive] Error 1\nmake: *** [all] Error 2\n+ exit 1\n```\n\nFWIW. Cheers!\n"},"comment":{"url":"https://api.github.com/repos/mkrufky/libdvbtee/issues/comments/383542274","html_url":"https://github.com/mkrufky/libdvbtee/issues/12#issuecomment-383542274","issue_url":"https://api.github.com/repos/mkrufky/libdvbtee/issues/12","id":383542274,"user":{"login":"phillipbarnett","id":8090748,"avatar_url":"https://avatars0.githubusercontent.com/u/8090748?v=4","gravatar_id":"","url":"https://api.github.com/users/phillipbarnett","html_url":"https://github.com/phillipbarnett","followers_url":"https://api.github.com/users/phillipbarnett/followers","following_url":"https://api.github.com/users/phillipbarnett/following{/other_user}","gists_url":"https://api.github.com/users/phillipbarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipbarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipbarnett/subscriptions","organizations_url":"https://api.github.com/users/phillipbarnett/orgs","repos_url":"https://api.github.com/users/phillipbarnett/repos","events_url":"https://api.github.com/users/phillipbarnett/events{/privacy}","received_events_url":"https://api.github.com/users/phillipbarnett/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T11:25:09Z","updated_at":"2018-04-23T11:25:09Z","author_association":"NONE","body":"No, I just have these three copies; \r\nphillip@sandbender:~/Downloads/ffmpeg-windows-build-helpers/sandbox$ find -name pthread.h -print\r\n./cross_compilers/pkgs/gcc/source/gcc-7.1.0/fixincludes/tests/base/sys/pthread.h\r\n./cross_compilers/pkgs/gcc/source/gcc-7.1.0/fixincludes/tests/base/pthread.h\r\n./cross_compilers/source/mingw-w64-5.0.2/mingw-w64-libraries/winpthreads/include/pthread.h\r\n\r\nNuking the sandbox seemed to do the trick though, I ran the (slightly modified) script afterwards and it all ran through and compiled correctly. I now have a windows executable of dvbtee, and also of ffmpeg, which I've never succeeded in building for Windows yet, so that's absolutely great. Thanks for this highly useful tool, and the help!\r\n"}}
{"actor":{"display_login":"phillipbarnett"}}