{"action":"created","issue":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1451","labels_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1451/labels{/name}","comments_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1451/comments","events_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1451/events","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1451","id":89729635,"number":1451,"title":"compile failure on OS X and for MIC","user":{"login":"zzlei","id":5738276,"avatar_url":"https://avatars.githubusercontent.com/u/5738276?v=3","gravatar_id":"","url":"https://api.github.com/users/zzlei","html_url":"https://github.com/zzlei","followers_url":"https://api.github.com/users/zzlei/followers","following_url":"https://api.github.com/users/zzlei/following{/other_user}","gists_url":"https://api.github.com/users/zzlei/gists{/gist_id}","starred_url":"https://api.github.com/users/zzlei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzlei/subscriptions","organizations_url":"https://api.github.com/users/zzlei/orgs","repos_url":"https://api.github.com/users/zzlei/repos","events_url":"https://api.github.com/users/zzlei/events{/privacy}","received_events_url":"https://api.github.com/users/zzlei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-06-20T07:08:36Z","updated_at":"2015-06-22T00:29:16Z","closed_at":null,"body":"on OS X:\r\n```\r\nUndefined symbols for architecture x86_64:\r\n  \"_AES_cbc_encrypt\", referenced from:\r\n      _sevenzip_decrypt in 7z_fmt_plug.o\r\n      ...\r\n  \"_AES_cfb128_encrypt\", referenced from:\r\n      _crypt_all in gpg_fmt_plug.o\r\n      _crypt_all in opencl_gpg_fmt_plug.o\r\n  \"_AES_decrypt\", referenced from:\r\n      _crypt_all in openbsdsoftraid_fmt_plug.o\r\n      _AES_256_XTS_first_sector in truecrypt_fmt_plug.o\r\n...\r\n```\r\n`-lssl -lcrypto` is somehow missed in the build rule for john:\r\n```\r\n../run/john: $(JOHN_OBJS) aes/aes.a\r\n\t$(LD) $(JOHN_OBJS) $(LDFLAGS)    -lgmp    -Wl,-framework,OpenCL  -lm -D_THREAD_SAFE -pthread  -lm -lz -ldl  -lbz2 aes/aes.a -o ../run/john\r\n```\r\n\r\nfor MIC:\r\n```\r\nicc -mmic -DAC_BUILT -Wall -O3  -D_POSIX_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=600  -DNOT_JOHN -D_JOHN_MISC_NO_LOG cprepair.c unicode.c \\\r\n        misc.c memdbg.c -o ../run/cprepair\r\nIn file included from unicode.c(85):\r\nmd4.h(14): catastrophic error: cannot open source file \"openssl/md4.h\"\r\n  #include <openssl/md4.h>\r\n```\r\nThe build rule for `cprepair` should include CPPFLAGS."},"comment":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/comments/113972082","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1451#issuecomment-113972082","issue_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1451","id":113972082,"user":{"login":"magnumripper","id":1268598,"avatar_url":"https://avatars.githubusercontent.com/u/1268598?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumripper","html_url":"https://github.com/magnumripper","followers_url":"https://api.github.com/users/magnumripper/followers","following_url":"https://api.github.com/users/magnumripper/following{/other_user}","gists_url":"https://api.github.com/users/magnumripper/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumripper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumripper/subscriptions","organizations_url":"https://api.github.com/users/magnumripper/orgs","repos_url":"https://api.github.com/users/magnumripper/repos","events_url":"https://api.github.com/users/magnumripper/events{/privacy}","received_events_url":"https://api.github.com/users/magnumripper/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T00:29:16Z","updated_at":"2015-06-22T00:29:16Z","body":"> we will not use that code because cross compile sets not native flag\r\n\r\nBut that flag is unrelated. It basically says \"do not test CPU features on the build host\"."}}