dnsimple / exdns

Elixir port of erldns.
MIT License
17 stars 7 forks source link

`mix deps.compile` failures (missing `dns_erlang` dependency) #3

Closed nsarno closed 4 years ago

nsarno commented 8 years ago

I'm having issues adding exdns as a dependency of another elixir application. Adding dns_erlang as a direct dependency seems to resolve the issue.

I tried the following with Elixir versions 1.2.0 and 1.3.2. I also tried with version 0.0.1 and 0.0.2 of exdns.

Here are the relevant parts of my mix file:

  def application do
    [applications: [:logger, :exdns]]
  end

  defp deps do
    [
      {:exdns, "~> 0.0.2"}
    ]
  end

Here's the failed compilation output:

$ mix deps.get
Running dependency resolution
All dependencies up to date
$ mix deps.compile
===> Compiling bear
===> Compiling folsom
==> exdns
Compiling 1 file (.erl)
src/dns_terms_const.erl:4: can't find include lib "dns_erlang/include/dns.hrl"
src/dns_terms_const.erl:6: undefined macro 'DNS_ALG_DSA'
src/dns_terms_const.erl:7: undefined macro 'DNS_ALG_DSA_NUMBER'
src/dns_terms_const.erl:8: undefined macro 'DNS_ALG_DSA_BSTR'
src/dns_terms_const.erl:10: undefined macro 'DNS_ALG_NSEC3DSA'
src/dns_terms_const.erl:11: undefined macro 'DNS_ALG_NSEC3DSA_NUMBER'
src/dns_terms_const.erl:12: undefined macro 'DNS_ALG_NSEC3DSA_BSTR'
src/dns_terms_const.erl:14: undefined macro 'DNS_ALG_RSASHA1'
src/dns_terms_const.erl:15: undefined macro 'DNS_ALG_RSASHA1_NUMBER'
src/dns_terms_const.erl:16: undefined macro 'DNS_ALG_RSASHA1_BSTR'
src/dns_terms_const.erl:18: undefined macro 'DNS_ALG_NSEC3RSASHA1'
src/dns_terms_const.erl:19: undefined macro 'DNS_ALG_NSEC3RSASHA1_NUMBER'
src/dns_terms_const.erl:20: undefined macro 'DNS_ALG_NSEC3RSASHA1_BSTR'
src/dns_terms_const.erl:22: undefined macro 'DNS_ALG_RSASHA256'
src/dns_terms_const.erl:23: undefined macro 'DNS_ALG_RSASHA256_NUMBER'
src/dns_terms_const.erl:24: undefined macro 'DNS_ALG_RSASHA256_BSTR'
src/dns_terms_const.erl:26: undefined macro 'DNS_ALG_RSASHA512'
src/dns_terms_const.erl:27: undefined macro 'DNS_ALG_RSASHA512_NUMBER'
src/dns_terms_const.erl:28: undefined macro 'DNS_ALG_RSASHA512_BSTR'
src/dns_terms_const.erl:30: undefined macro 'DNSSEC_NSEC3_ALG_SHA1'
src/dns_terms_const.erl:31: undefined macro 'DNSSEC_NSEC3_ALG_SHA1_NUMBER'
src/dns_terms_const.erl:32: undefined macro 'DNSSEC_NSEC3_ALG_SHA1_BSTR'
src/dns_terms_const.erl:34: undefined macro 'DNS_TSIG_ALG_MD5'
src/dns_terms_const.erl:35: undefined macro 'DNS_TSIG_ALG_SHA1'
src/dns_terms_const.erl:36: undefined macro 'DNS_TSIG_ALG_SHA224'
src/dns_terms_const.erl:37: undefined macro 'DNS_TSIG_ALG_SHA256'
src/dns_terms_const.erl:38: undefined macro 'DNS_TSIG_ALG_SHA384'
src/dns_terms_const.erl:39: undefined macro 'DNS_TSIG_ALG_SHA512'
src/dns_terms_const.erl:41: undefined macro 'DNS_CLASS_IN'
src/dns_terms_const.erl:42: undefined macro 'DNS_CLASS_IN_NUMBER'
src/dns_terms_const.erl:43: undefined macro 'DNS_CLASS_IN_BSTR'
src/dns_terms_const.erl:44: undefined macro 'DNS_CLASS_CS'
src/dns_terms_const.erl:45: undefined macro 'DNS_CLASS_CS_NUMBER'
src/dns_terms_const.erl:46: undefined macro 'DNS_CLASS_CS_BSTR'
src/dns_terms_const.erl:47: undefined macro 'DNS_CLASS_CH'
src/dns_terms_const.erl:48: undefined macro 'DNS_CLASS_CH_NUMBER'
src/dns_terms_const.erl:49: undefined macro 'DNS_CLASS_CH_BSTR'
src/dns_terms_const.erl:50: undefined macro 'DNS_CLASS_HS'
src/dns_terms_const.erl:51: undefined macro 'DNS_CLASS_HS_NUMBER'
src/dns_terms_const.erl:52: undefined macro 'DNS_CLASS_HS_BSTR'
src/dns_terms_const.erl:53: undefined macro 'DNS_CLASS_NONE'
src/dns_terms_const.erl:54: undefined macro 'DNS_CLASS_NONE_NUMBER'
src/dns_terms_const.erl:55: undefined macro 'DNS_CLASS_NONE_BSTR'
src/dns_terms_const.erl:56: undefined macro 'DNS_CLASS_ANY'
src/dns_terms_const.erl:57: undefined macro 'DNS_CLASS_ANY_NUMBER'
src/dns_terms_const.erl:58: undefined macro 'DNS_CLASS_ANY_BSTR'
src/dns_terms_const.erl:59: undefined macro 'DNS_TYPE_A'
src/dns_terms_const.erl:60: undefined macro 'DNS_TYPE_A_NUMBER'
src/dns_terms_const.erl:61: undefined macro 'DNS_TYPE_A_BSTR'
src/dns_terms_const.erl:62: undefined macro 'DNS_TYPE_NS'
src/dns_terms_const.erl:63: undefined macro 'DNS_TYPE_NS_NUMBER'
src/dns_terms_const.erl:64: undefined macro 'DNS_TYPE_NS_BSTR'
src/dns_terms_const.erl:65: undefined macro 'DNS_TYPE_MD'
src/dns_terms_const.erl:66: undefined macro 'DNS_TYPE_MD_NUMBER'
src/dns_terms_const.erl:67: undefined macro 'DNS_TYPE_MD_BSTR'
src/dns_terms_const.erl:68: undefined macro 'DNS_TYPE_MF'
src/dns_terms_const.erl:69: undefined macro 'DNS_TYPE_MF_NUMBER'
src/dns_terms_const.erl:70: undefined macro 'DNS_TYPE_MF_BSTR'
src/dns_terms_const.erl:71: undefined macro 'DNS_TYPE_CNAME'
src/dns_terms_const.erl:72: undefined macro 'DNS_TYPE_CNAME_NUMBER'
src/dns_terms_const.erl:73: undefined macro 'DNS_TYPE_CNAME_BSTR'
src/dns_terms_const.erl:74: undefined macro 'DNS_TYPE_SOA'
src/dns_terms_const.erl:75: undefined macro 'DNS_TYPE_SOA_NUMBER'
src/dns_terms_const.erl:76: undefined macro 'DNS_TYPE_SOA_BSTR'
src/dns_terms_const.erl:77: undefined macro 'DNS_TYPE_MB'
src/dns_terms_const.erl:78: undefined macro 'DNS_TYPE_MB_NUMBER'
src/dns_terms_const.erl:79: undefined macro 'DNS_TYPE_MB_BSTR'
src/dns_terms_const.erl:80: undefined macro 'DNS_TYPE_MG'
src/dns_terms_const.erl:81: undefined macro 'DNS_TYPE_MG_NUMBER'
src/dns_terms_const.erl:82: undefined macro 'DNS_TYPE_MG_BSTR'
src/dns_terms_const.erl:83: undefined macro 'DNS_TYPE_MR'
src/dns_terms_const.erl:84: undefined macro 'DNS_TYPE_MR_NUMBER'
src/dns_terms_const.erl:85: undefined macro 'DNS_TYPE_MR_BSTR'
src/dns_terms_const.erl:86: undefined macro 'DNS_TYPE_NULL'
src/dns_terms_const.erl:87: undefined macro 'DNS_TYPE_NULL_NUMBER'
src/dns_terms_const.erl:88: undefined macro 'DNS_TYPE_NULL_BSTR'
src/dns_terms_const.erl:89: undefined macro 'DNS_TYPE_WKS'
src/dns_terms_const.erl:90: undefined macro 'DNS_TYPE_WKS_NUMBER'
src/dns_terms_const.erl:91: undefined macro 'DNS_TYPE_WKS_BSTR'
src/dns_terms_const.erl:92: undefined macro 'DNS_TYPE_PTR'
src/dns_terms_const.erl:93: undefined macro 'DNS_TYPE_PTR_NUMBER'
src/dns_terms_const.erl:94: undefined macro 'DNS_TYPE_PTR_BSTR'
src/dns_terms_const.erl:95: undefined macro 'DNS_TYPE_HINFO'
src/dns_terms_const.erl:96: undefined macro 'DNS_TYPE_HINFO_NUMBER'
src/dns_terms_const.erl:97: undefined macro 'DNS_TYPE_HINFO_BSTR'
src/dns_terms_const.erl:98: undefined macro 'DNS_TYPE_MINFO'
src/dns_terms_const.erl:99: undefined macro 'DNS_TYPE_MINFO_NUMBER'
src/dns_terms_const.erl:100: undefined macro 'DNS_TYPE_MINFO_BSTR'
src/dns_terms_const.erl:101: undefined macro 'DNS_TYPE_MX'
src/dns_terms_const.erl:102: undefined macro 'DNS_TYPE_MX_NUMBER'
src/dns_terms_const.erl:103: undefined macro 'DNS_TYPE_MX_BSTR'
src/dns_terms_const.erl:104: undefined macro 'DNS_TYPE_TXT'
src/dns_terms_const.erl:105: undefined macro 'DNS_TYPE_TXT_NUMBER'
src/dns_terms_const.erl:106: undefined macro 'DNS_TYPE_TXT_BSTR'
src/dns_terms_const.erl:107: undefined macro 'DNS_TYPE_RP'
src/dns_terms_const.erl:108: undefined macro 'DNS_TYPE_RP_NUMBER'
src/dns_terms_const.erl:109: undefined macro 'DNS_TYPE_RP_BSTR'
src/dns_terms_const.erl:110: undefined macro 'DNS_TYPE_AFSDB'
src/dns_terms_const.erl:111: undefined macro 'DNS_TYPE_AFSDB_NUMBER'
src/dns_terms_const.erl:112: undefined macro 'DNS_TYPE_AFSDB_BSTR'
src/dns_terms_const.erl:113: undefined macro 'DNS_TYPE_X25'
src/dns_terms_const.erl:114: undefined macro 'DNS_TYPE_X25_NUMBER'
src/dns_terms_const.erl:115: undefined macro 'DNS_TYPE_X25_BSTR'
src/dns_terms_const.erl:116: undefined macro 'DNS_TYPE_ISDN'
src/dns_terms_const.erl:117: undefined macro 'DNS_TYPE_ISDN_NUMBER'
src/dns_terms_const.erl:118: undefined macro 'DNS_TYPE_ISDN_BSTR'
src/dns_terms_const.erl:119: undefined macro 'DNS_TYPE_RT'
src/dns_terms_const.erl:120: undefined macro 'DNS_TYPE_RT_NUMBER'
src/dns_terms_const.erl:121: undefined macro 'DNS_TYPE_RT_BSTR'
src/dns_terms_const.erl:122: undefined macro 'DNS_TYPE_NSAP'
src/dns_terms_const.erl:123: undefined macro 'DNS_TYPE_NSAP_NUMBER'
src/dns_terms_const.erl:124: undefined macro 'DNS_TYPE_NSAP_BSTR'
src/dns_terms_const.erl:125: undefined macro 'DNS_TYPE_SIG'
src/dns_terms_const.erl:126: undefined macro 'DNS_TYPE_SIG_NUMBER'
src/dns_terms_const.erl:127: undefined macro 'DNS_TYPE_SIG_BSTR'
src/dns_terms_const.erl:128: undefined macro 'DNS_TYPE_KEY'
src/dns_terms_const.erl:129: undefined macro 'DNS_TYPE_KEY_NUMBER'
src/dns_terms_const.erl:130: undefined macro 'DNS_TYPE_KEY_BSTR'
src/dns_terms_const.erl:131: undefined macro 'DNS_TYPE_PX'
src/dns_terms_const.erl:132: undefined macro 'DNS_TYPE_PX_NUMBER'
src/dns_terms_const.erl:133: undefined macro 'DNS_TYPE_PX_BSTR'
src/dns_terms_const.erl:134: undefined macro 'DNS_TYPE_GPOS'
src/dns_terms_const.erl:135: undefined macro 'DNS_TYPE_GPOS_NUMBER'
src/dns_terms_const.erl:136: undefined macro 'DNS_TYPE_GPOS_BSTR'
src/dns_terms_const.erl:137: undefined macro 'DNS_TYPE_AAAA'
src/dns_terms_const.erl:138: undefined macro 'DNS_TYPE_AAAA_NUMBER'
src/dns_terms_const.erl:139: undefined macro 'DNS_TYPE_AAAA_BSTR'
src/dns_terms_const.erl:140: undefined macro 'DNS_TYPE_LOC'
src/dns_terms_const.erl:141: undefined macro 'DNS_TYPE_LOC_NUMBER'
src/dns_terms_const.erl:142: undefined macro 'DNS_TYPE_LOC_BSTR'
src/dns_terms_const.erl:143: undefined macro 'DNS_TYPE_NXT'
src/dns_terms_const.erl:144: undefined macro 'DNS_TYPE_NXT_NUMBER'
src/dns_terms_const.erl:145: undefined macro 'DNS_TYPE_NXT_BSTR'
src/dns_terms_const.erl:146: undefined macro 'DNS_TYPE_EID'
src/dns_terms_const.erl:147: undefined macro 'DNS_TYPE_EID_NUMBER'
src/dns_terms_const.erl:148: undefined macro 'DNS_TYPE_EID_BSTR'
src/dns_terms_const.erl:149: undefined macro 'DNS_TYPE_NIMLOC'
src/dns_terms_const.erl:150: undefined macro 'DNS_TYPE_NIMLOC_NUMBER'
src/dns_terms_const.erl:151: undefined macro 'DNS_TYPE_NIMLOC_BSTR'
src/dns_terms_const.erl:152: undefined macro 'DNS_TYPE_SRV'
src/dns_terms_const.erl:153: undefined macro 'DNS_TYPE_SRV_NUMBER'
src/dns_terms_const.erl:154: undefined macro 'DNS_TYPE_SRV_BSTR'
src/dns_terms_const.erl:155: undefined macro 'DNS_TYPE_ATMA'
src/dns_terms_const.erl:156: undefined macro 'DNS_TYPE_ATMA_NUMBER'
src/dns_terms_const.erl:157: undefined macro 'DNS_TYPE_ATMA_BSTR'
src/dns_terms_const.erl:158: undefined macro 'DNS_TYPE_NAPTR'
src/dns_terms_const.erl:159: undefined macro 'DNS_TYPE_NAPTR_NUMBER'
src/dns_terms_const.erl:160: undefined macro 'DNS_TYPE_NAPTR_BSTR'
src/dns_terms_const.erl:161: undefined macro 'DNS_TYPE_KX'
src/dns_terms_const.erl:162: undefined macro 'DNS_TYPE_KX_NUMBER'
src/dns_terms_const.erl:163: undefined macro 'DNS_TYPE_KX_BSTR'
src/dns_terms_const.erl:164: undefined macro 'DNS_TYPE_CERT'
src/dns_terms_const.erl:165: undefined macro 'DNS_TYPE_CERT_NUMBER'
src/dns_terms_const.erl:166: undefined macro 'DNS_TYPE_CERT_BSTR'
src/dns_terms_const.erl:167: undefined macro 'DNS_TYPE_DNAME'
src/dns_terms_const.erl:168: undefined macro 'DNS_TYPE_DNAME_NUMBER'
src/dns_terms_const.erl:169: undefined macro 'DNS_TYPE_DNAME_BSTR'
src/dns_terms_const.erl:170: undefined macro 'DNS_TYPE_SINK'
src/dns_terms_const.erl:171: undefined macro 'DNS_TYPE_SINK_NUMBER'
src/dns_terms_const.erl:172: undefined macro 'DNS_TYPE_SINK_BSTR'
src/dns_terms_const.erl:173: undefined macro 'DNS_TYPE_OPT'
src/dns_terms_const.erl:174: undefined macro 'DNS_TYPE_OPT_NUMBER'
src/dns_terms_const.erl:175: undefined macro 'DNS_TYPE_OPT_BSTR'
src/dns_terms_const.erl:176: undefined macro 'DNS_TYPE_APL'
src/dns_terms_const.erl:177: undefined macro 'DNS_TYPE_APL_NUMBER'
src/dns_terms_const.erl:178: undefined macro 'DNS_TYPE_APL_BSTR'
src/dns_terms_const.erl:179: undefined macro 'DNS_TYPE_DS'
src/dns_terms_const.erl:180: undefined macro 'DNS_TYPE_DS_NUMBER'
src/dns_terms_const.erl:181: undefined macro 'DNS_TYPE_DS_BSTR'
src/dns_terms_const.erl:182: undefined macro 'DNS_TYPE_SSHFP'
src/dns_terms_const.erl:183: undefined macro 'DNS_TYPE_SSHFP_NUMBER'
src/dns_terms_const.erl:184: undefined macro 'DNS_TYPE_SSHFP_BSTR'
src/dns_terms_const.erl:185: undefined macro 'DNS_TYPE_IPSECKEY'
src/dns_terms_const.erl:186: undefined macro 'DNS_TYPE_IPSECKEY_NUMBER'
src/dns_terms_const.erl:187: undefined macro 'DNS_TYPE_IPSECKEY_BSTR'
src/dns_terms_const.erl:188: undefined macro 'DNS_TYPE_RRSIG'
src/dns_terms_const.erl:189: undefined macro 'DNS_TYPE_RRSIG_NUMBER'
src/dns_terms_const.erl:190: undefined macro 'DNS_TYPE_RRSIG_BSTR'
src/dns_terms_const.erl:191: undefined macro 'DNS_TYPE_NSEC'
src/dns_terms_const.erl:192: undefined macro 'DNS_TYPE_NSEC_NUMBER'
src/dns_terms_const.erl:193: undefined macro 'DNS_TYPE_NSEC_BSTR'
src/dns_terms_const.erl:194: undefined macro 'DNS_TYPE_DNSKEY'
src/dns_terms_const.erl:195: undefined macro 'DNS_TYPE_DNSKEY_NUMBER'
src/dns_terms_const.erl:196: undefined macro 'DNS_TYPE_DNSKEY_BSTR'
src/dns_terms_const.erl:197: undefined macro 'DNS_TYPE_NSEC3'
src/dns_terms_const.erl:198: undefined macro 'DNS_TYPE_NSEC3_NUMBER'
src/dns_terms_const.erl:199: undefined macro 'DNS_TYPE_NSEC3_BSTR'
src/dns_terms_const.erl:200: undefined macro 'DNS_TYPE_NSEC3PARAM'
src/dns_terms_const.erl:201: undefined macro 'DNS_TYPE_NSEC3PARAM_NUMBER'
src/dns_terms_const.erl:202: undefined macro 'DNS_TYPE_NSEC3PARAM_BSTR'
src/dns_terms_const.erl:203: undefined macro 'DNS_TYPE_DHCID'
src/dns_terms_const.erl:204: undefined macro 'DNS_TYPE_DHCID_NUMBER'
src/dns_terms_const.erl:205: undefined macro 'DNS_TYPE_DHCID_BSTR'
src/dns_terms_const.erl:206: undefined macro 'DNS_TYPE_HIP'
src/dns_terms_const.erl:207: undefined macro 'DNS_TYPE_HIP_NUMBER'
src/dns_terms_const.erl:208: undefined macro 'DNS_TYPE_HIP_BSTR'
src/dns_terms_const.erl:209: undefined macro 'DNS_TYPE_NINFO'
src/dns_terms_const.erl:210: undefined macro 'DNS_TYPE_NINFO_NUMBER'
src/dns_terms_const.erl:211: undefined macro 'DNS_TYPE_NINFO_BSTR'
src/dns_terms_const.erl:212: undefined macro 'DNS_TYPE_RKEY'
src/dns_terms_const.erl:213: undefined macro 'DNS_TYPE_RKEY_NUMBER'
src/dns_terms_const.erl:214: undefined macro 'DNS_TYPE_RKEY_BSTR'
src/dns_terms_const.erl:215: undefined macro 'DNS_TYPE_TALINK'
src/dns_terms_const.erl:216: undefined macro 'DNS_TYPE_TALINK_NUMBER'
src/dns_terms_const.erl:217: undefined macro 'DNS_TYPE_TALINK_BSTR'
src/dns_terms_const.erl:218: undefined macro 'DNS_TYPE_SPF'
src/dns_terms_const.erl:219: undefined macro 'DNS_TYPE_SPF_NUMBER'
src/dns_terms_const.erl:220: undefined macro 'DNS_TYPE_SPF_BSTR'
src/dns_terms_const.erl:221: undefined macro 'DNS_TYPE_UINFO'
src/dns_terms_const.erl:222: undefined macro 'DNS_TYPE_UINFO_NUMBER'
src/dns_terms_const.erl:223: undefined macro 'DNS_TYPE_UINFO_BSTR'
src/dns_terms_const.erl:224: undefined macro 'DNS_TYPE_UID'
src/dns_terms_const.erl:225: undefined macro 'DNS_TYPE_UID_NUMBER'
src/dns_terms_const.erl:226: undefined macro 'DNS_TYPE_UID_BSTR'
src/dns_terms_const.erl:227: undefined macro 'DNS_TYPE_GID'
src/dns_terms_const.erl:228: undefined macro 'DNS_TYPE_GID_NUMBER'
src/dns_terms_const.erl:229: undefined macro 'DNS_TYPE_GID_BSTR'
src/dns_terms_const.erl:230: undefined macro 'DNS_TYPE_UNSPEC'
src/dns_terms_const.erl:231: undefined macro 'DNS_TYPE_UNSPEC_NUMBER'
src/dns_terms_const.erl:232: undefined macro 'DNS_TYPE_UNSPEC_BSTR'
src/dns_terms_const.erl:233: undefined macro 'DNS_TYPE_TKEY'
src/dns_terms_const.erl:234: undefined macro 'DNS_TYPE_TKEY_NUMBER'
src/dns_terms_const.erl:235: undefined macro 'DNS_TYPE_TKEY_BSTR'
src/dns_terms_const.erl:236: undefined macro 'DNS_TYPE_TSIG'
src/dns_terms_const.erl:237: undefined macro 'DNS_TYPE_TSIG_NUMBER'
src/dns_terms_const.erl:238: undefined macro 'DNS_TYPE_TSIG_BSTR'
src/dns_terms_const.erl:239: undefined macro 'DNS_TYPE_IXFR'
src/dns_terms_const.erl:240: undefined macro 'DNS_TYPE_IXFR_NUMBER'
src/dns_terms_const.erl:241: undefined macro 'DNS_TYPE_IXFR_BSTR'
src/dns_terms_const.erl:242: undefined macro 'DNS_TYPE_AXFR'
src/dns_terms_const.erl:243: undefined macro 'DNS_TYPE_AXFR_NUMBER'
src/dns_terms_const.erl:244: undefined macro 'DNS_TYPE_AXFR_BSTR'
src/dns_terms_const.erl:245: undefined macro 'DNS_TYPE_MAILB'
src/dns_terms_const.erl:246: undefined macro 'DNS_TYPE_MAILB_NUMBER'
src/dns_terms_const.erl:247: undefined macro 'DNS_TYPE_MAILB_BSTR'
src/dns_terms_const.erl:248: undefined macro 'DNS_TYPE_MAILA'
src/dns_terms_const.erl:249: undefined macro 'DNS_TYPE_MAILA_NUMBER'
src/dns_terms_const.erl:250: undefined macro 'DNS_TYPE_MAILA_BSTR'
src/dns_terms_const.erl:251: undefined macro 'DNS_TYPE_ANY'
src/dns_terms_const.erl:252: undefined macro 'DNS_TYPE_ANY_BSTR'
src/dns_terms_const.erl:253: undefined macro 'DNS_TYPE_ANY_NUMBER'
src/dns_terms_const.erl:254: undefined macro 'DNS_TYPE_DLV'
src/dns_terms_const.erl:255: undefined macro 'DNS_TYPE_DLV_NUMBER'
src/dns_terms_const.erl:256: undefined macro 'DNS_TYPE_DLV_BSTR'
src/dns_terms_const.erl:257: undefined macro 'DNS_RCODE_NOERROR'
src/dns_terms_const.erl:258: undefined macro 'DNS_RCODE_NOERROR_NUMBER'
src/dns_terms_const.erl:259: undefined macro 'DNS_RCODE_NOERROR_BSTR'
src/dns_terms_const.erl:260: undefined macro 'DNS_RCODE_FORMERR'
src/dns_terms_const.erl:261: undefined macro 'DNS_RCODE_FORMERR_NUMBER'
src/dns_terms_const.erl:262: undefined macro 'DNS_RCODE_FORMERR_BSTR'
src/dns_terms_const.erl:263: undefined macro 'DNS_RCODE_SERVFAIL'
src/dns_terms_const.erl:264: undefined macro 'DNS_RCODE_SERVFAIL_NUMBER'
src/dns_terms_const.erl:265: undefined macro 'DNS_RCODE_SERVFAIL_BSTR'
src/dns_terms_const.erl:266: undefined macro 'DNS_RCODE_NXDOMAIN'
src/dns_terms_const.erl:267: undefined macro 'DNS_RCODE_NXDOMAIN_NUMBER'
src/dns_terms_const.erl:268: undefined macro 'DNS_RCODE_NXDOMAIN_BSTR'
src/dns_terms_const.erl:269: undefined macro 'DNS_RCODE_NOTIMP'
src/dns_terms_const.erl:270: undefined macro 'DNS_RCODE_NOTIMP_NUMBER'
src/dns_terms_const.erl:271: undefined macro 'DNS_RCODE_NOTIMP_BSTR'
src/dns_terms_const.erl:272: undefined macro 'DNS_RCODE_REFUSED'
src/dns_terms_const.erl:273: undefined macro 'DNS_RCODE_REFUSED_NUMBER'
src/dns_terms_const.erl:274: undefined macro 'DNS_RCODE_REFUSED_BSTR'
src/dns_terms_const.erl:275: undefined macro 'DNS_RCODE_YXDOMAIN'
src/dns_terms_const.erl:276: undefined macro 'DNS_RCODE_YXDOMAIN_NUMBER'
src/dns_terms_const.erl:277: undefined macro 'DNS_RCODE_YXDOMAIN_BSTR'
src/dns_terms_const.erl:278: undefined macro 'DNS_RCODE_YXRRSET'
src/dns_terms_const.erl:279: undefined macro 'DNS_RCODE_YXRRSET_NUMBER'
src/dns_terms_const.erl:280: undefined macro 'DNS_RCODE_YXRRSET_BSTR'
src/dns_terms_const.erl:281: undefined macro 'DNS_RCODE_NXRRSET'
src/dns_terms_const.erl:282: undefined macro 'DNS_RCODE_NXRRSET_NUMBER'
src/dns_terms_const.erl:283: undefined macro 'DNS_RCODE_NXRRSET_BSTR'
src/dns_terms_const.erl:284: undefined macro 'DNS_RCODE_NOTAUTH'
src/dns_terms_const.erl:285: undefined macro 'DNS_RCODE_NOTAUTH_NUMBER'
src/dns_terms_const.erl:286: undefined macro 'DNS_RCODE_NOTAUTH_BSTR'
src/dns_terms_const.erl:287: undefined macro 'DNS_RCODE_NOTZONE'
src/dns_terms_const.erl:288: undefined macro 'DNS_RCODE_NOTZONE_NUMBER'
src/dns_terms_const.erl:289: undefined macro 'DNS_RCODE_NOTZONE_BSTR'
src/dns_terms_const.erl:290: undefined macro 'DNS_OPCODE_QUERY'
src/dns_terms_const.erl:291: undefined macro 'DNS_OPCODE_QUERY_NUMBER'
src/dns_terms_const.erl:292: undefined macro 'DNS_OPCODE_QUERY_BSTR'
src/dns_terms_const.erl:293: undefined macro 'DNS_OPCODE_IQUERY'
src/dns_terms_const.erl:294: undefined macro 'DNS_OPCODE_IQUERY_NUMBER'
src/dns_terms_const.erl:295: undefined macro 'DNS_OPCODE_IQUERY_BSTR'
src/dns_terms_const.erl:296: undefined macro 'DNS_OPCODE_STATUS'
src/dns_terms_const.erl:297: undefined macro 'DNS_OPCODE_STATUS_NUMBER'
src/dns_terms_const.erl:298: undefined macro 'DNS_OPCODE_STATUS_BSTR'
src/dns_terms_const.erl:299: undefined macro 'DNS_OPCODE_UPDATE'
src/dns_terms_const.erl:300: undefined macro 'DNS_OPCODE_UPDATE_NUMBER'
src/dns_terms_const.erl:301: undefined macro 'DNS_OPCODE_UPDATE_BSTR'
src/dns_terms_const.erl:302: undefined macro 'DNS_TSIGERR_NOERROR'
src/dns_terms_const.erl:303: undefined macro 'DNS_TSIGERR_NOERROR_NUMBER'
src/dns_terms_const.erl:304: undefined macro 'DNS_TSIGERR_NOERROR_BSTR'
src/dns_terms_const.erl:305: undefined macro 'DNS_TSIGERR_BADSIG'
src/dns_terms_const.erl:306: undefined macro 'DNS_TSIGERR_BADSIG_NUMBER'
src/dns_terms_const.erl:307: undefined macro 'DNS_TSIGERR_BADSIG_BSTR'
src/dns_terms_const.erl:308: undefined macro 'DNS_TSIGERR_BADKEY'
src/dns_terms_const.erl:309: undefined macro 'DNS_TSIGERR_BADKEY_NUMBER'
src/dns_terms_const.erl:310: undefined macro 'DNS_TSIGERR_BADKEY_BSTR'
src/dns_terms_const.erl:311: undefined macro 'DNS_TSIGERR_BADTIME'
src/dns_terms_const.erl:312: undefined macro 'DNS_TSIGERR_BADTIME_NUMBER'
src/dns_terms_const.erl:313: undefined macro 'DNS_TSIGERR_BADTIME_BSTR'
src/dns_terms_const.erl:314: undefined macro 'DNS_ERCODE_NOERROR'
src/dns_terms_const.erl:315: undefined macro 'DNS_ERCODE_NOERROR_NUMBER'
src/dns_terms_const.erl:316: undefined macro 'DNS_ERCODE_NOERROR_BSTR'
src/dns_terms_const.erl:317: undefined macro 'DNS_ERCODE_BADVERS'
src/dns_terms_const.erl:318: undefined macro 'DNS_ERCODE_BADVERS_NUMBER'
src/dns_terms_const.erl:319: undefined macro 'DNS_ERCODE_BADVERS_BSTR'
src/dns_terms_const.erl:320: undefined macro 'DNS_EOPTCODE_LLQ'
src/dns_terms_const.erl:321: undefined macro 'DNS_EOPTCODE_LLQ_NUMBER'
src/dns_terms_const.erl:322: undefined macro 'DNS_EOPTCODE_LLQ_BSTR'
src/dns_terms_const.erl:323: undefined macro 'DNS_EOPTCODE_UL'
src/dns_terms_const.erl:324: undefined macro 'DNS_EOPTCODE_UL_NUMBER'
src/dns_terms_const.erl:325: undefined macro 'DNS_EOPTCODE_UL_BSTR'
src/dns_terms_const.erl:326: undefined macro 'DNS_EOPTCODE_NSID'
src/dns_terms_const.erl:327: undefined macro 'DNS_EOPTCODE_NSID_NUMBER'
src/dns_terms_const.erl:328: undefined macro 'DNS_EOPTCODE_NSID_BSTR'
src/dns_terms_const.erl:329: undefined macro 'DNS_EOPTCODE_OWNER'
src/dns_terms_const.erl:330: undefined macro 'DNS_EOPTCODE_OWNER_NUMBER'
src/dns_terms_const.erl:331: undefined macro 'DNS_EOPTCODE_OWNER_BSTR'
src/dns_terms_const.erl:332: undefined macro 'DNS_LLQOPCODE_SETUP'
src/dns_terms_const.erl:333: undefined macro 'DNS_LLQOPCODE_SETUP_NUMBER'
src/dns_terms_const.erl:334: undefined macro 'DNS_LLQOPCODE_SETUP_BSTR'
src/dns_terms_const.erl:335: undefined macro 'DNS_LLQOPCODE_REFRESH'
src/dns_terms_const.erl:336: undefined macro 'DNS_LLQOPCODE_REFRESH_NUMBER'
src/dns_terms_const.erl:337: undefined macro 'DNS_LLQOPCODE_REFRESH_BSTR'
src/dns_terms_const.erl:338: undefined macro 'DNS_LLQOPCODE_EVENT'
src/dns_terms_const.erl:339: undefined macro 'DNS_LLQOPCODE_EVENT_NUMBER'
src/dns_terms_const.erl:340: undefined macro 'DNS_LLQOPCODE_EVENT_BSTR'
src/dns_terms_const.erl:341: undefined macro 'DNS_LLQERRCODE_NOERROR'
src/dns_terms_const.erl:342: undefined macro 'DNS_LLQERRCODE_NOERROR_NUMBER'
src/dns_terms_const.erl:343: undefined macro 'DNS_LLQERRCODE_NOERROR_BSTR'
src/dns_terms_const.erl:344: undefined macro 'DNS_LLQERRCODE_SERVFULL'
src/dns_terms_const.erl:345: undefined macro 'DNS_LLQERRCODE_SERVFULL_NUMBER'
src/dns_terms_const.erl:346: undefined macro 'DNS_LLQERRCODE_SERVFULL_BSTR'
src/dns_terms_const.erl:347: undefined macro 'DNS_LLQERRCODE_STATIC'
src/dns_terms_const.erl:348: undefined macro 'DNS_LLQERRCODE_STATIC_NUMBER'
src/dns_terms_const.erl:349: undefined macro 'DNS_LLQERRCODE_STATIC_BSTR'
src/dns_terms_const.erl:350: undefined macro 'DNS_LLQERRCODE_FORMATERR'
src/dns_terms_const.erl:351: undefined macro 'DNS_LLQERRCODE_FORMATERR_NUMBER'
src/dns_terms_const.erl:352: undefined macro 'DNS_LLQERRCODE_FORMATERR_BSTR'
src/dns_terms_const.erl:353: undefined macro 'DNS_LLQERRCODE_NOSUCHLLQ'
src/dns_terms_const.erl:354: undefined macro 'DNS_LLQERRCODE_NOSUCHLLQ_NUMBER'
src/dns_terms_const.erl:355: undefined macro 'DNS_LLQERRCODE_NOSUCHLLQ_BSTR'
src/dns_terms_const.erl:356: undefined macro 'DNS_LLQERRCODE_BADVERS'
src/dns_terms_const.erl:357: undefined macro 'DNS_LLQERRCODE_BADVERS_NUMBER'
src/dns_terms_const.erl:358: undefined macro 'DNS_LLQERRCODE_BADVERS_BSTR'
src/dns_terms_const.erl:359: undefined macro 'DNS_LLQERRCODE_UNKNOWNERR'
src/dns_terms_const.erl:360: undefined macro 'DNS_LLQERRCODE_UNKNOWNERR_NUMBER'
src/dns_terms_const.erl:361: undefined macro 'DNS_LLQERRCODE_UNKNOWNERR_BSTR'
could not compile dependency :exdns, "mix compile" failed. You can recompile this dependency with "mix deps.compile exdns", update it with "mix deps.update exdns" or clean it with "mix deps.clean exdns"
==> nameserver
** (Mix) Encountered compilation errors

After adding dns_erlang as a direct dependency, I'm able to compile, test and run. Although I get the following error:

Error evaluating Rebar config script ./rebar.config.script:9: evaluation failed with reason error:{badmatch,undefined} and stacktrace [{erl_eval,expr,3,[]}]
Any dependencies defined in the script won't be available unless you add them to your Mix project

Let me know if I'm doing something wrong or if you need more info. Thanks!

aeden commented 7 years ago

I still need to set up an umbrella app and bring in exdns as a dependency. Once I've done that I'll likely run into the same issue and will fix it (unless you submit a PR to fix it before that).