Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string)’:
- dns-client.cpp:55:37: error: elements of array ‘gethostip(std::string)::RES_RECORD answers [20]’ have incomplete type
- dns-client.cpp:55:37: error: storage size of ‘answers’ isn’t known
- dns-client.cpp:55:46: error: elements of array ‘gethostip(std::string)::RES_RECORD auth [20]’ have incomplete type
- dns-client.cpp:55:46: error: storage size of ‘auth’ isn’t known
- dns-client.cpp:55:56: error: elements of array ‘gethostip(std::string)::RES_RECORD addit [20]’ have incomplete type
- dns-client.cpp:55:56: error: storage size of ‘addit’ isn’t known
- dns-client.cpp:61:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:67:42: error: ‘dns_servers’ was not declared in this scope
- dns-client.cpp:72:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:73:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:74:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:75:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:76:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:77:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:78:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:79:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:80:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:81:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:82:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:83:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:84:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:85:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:86:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:89:61: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:91:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:92:63: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:94:14: error: invalid use of incomplete type ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:59:16: error: forward declaration of ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:94:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:95:14: error: invalid use of incomplete type ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:59:16: error: forward declaration of ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:99:57: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:99:116: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::QUESTION’
- dns-client.cpp:117:47: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:117:106: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::QUESTION’
- dns-client.cpp:120:44: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:121:42: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:122:56: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:123:57: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:128:28: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:130:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:134:55: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::R_DATA’
- dns-client.cpp:157:28: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:159:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:163:45: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::R_DATA’
- dns-client.cpp:170:28: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:172:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:176:45: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::R_DATA’
- dns-client.cpp:195:54: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:196:32: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:200:57: error: ‘T_A’ was not declared in this scope
- dns-client.cpp:218:59: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:219:33: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:231:58: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:232:31: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:58:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:244:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string)’:
- dns-client.cpp:69:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:75:42: error: ‘dns_servers’ was not declared in this scope
- dns-client.cpp:80:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:81:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:82:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:83:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:84:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:85:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:86:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:87:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:88:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:89:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:90:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:91:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:92:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:93:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:94:12: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:97:61: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:99:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:100:63: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:102:14: error: invalid use of incomplete type ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:67:16: error: forward declaration of ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:102:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:103:14: error: invalid use of incomplete type ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:67:16: error: forward declaration of ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:107:57: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:107:116: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::QUESTION’
- dns-client.cpp:125:47: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:125:106: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::QUESTION’
- dns-client.cpp:128:44: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:129:42: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:130:56: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:131:57: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:136:28: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:138:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:142:55: error: invalid application of ‘sizeof’ to incomplete type ‘R_DATA’
- dns-client.cpp:144:45: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:146:92: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:148:62: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:153:67: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:155:68: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:165:28: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:167:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:171:45: error: invalid application of ‘sizeof’ to incomplete type ‘R_DATA’
- dns-client.cpp:178:28: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:180:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:184:45: error: invalid application of ‘sizeof’ to incomplete type ‘R_DATA’
- dns-client.cpp:186:43: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:188:88: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:189:58: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:192:63: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:193:56: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:203:54: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:204:32: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:208:46: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:208:57: error: ‘T_A’ was not declared in this scope
- dns-client.cpp:216:45: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:226:59: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:227:33: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:231:42: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:239:58: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:240:31: error: invalid use of incomplete type ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:66:16: error: forward declaration of ‘struct gethostip(std::string)::DNS_HEADER’
- dns-client.cpp:243:43: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:252:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string)’:
- dns-client.cpp:92:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:98:42: error: ‘dns_servers’ was not declared in this scope
- dns-client.cpp:122:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:125:14: error: invalid use of incomplete type ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:90:16: error: forward declaration of ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:125:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:126:14: error: invalid use of incomplete type ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:90:16: error: forward declaration of ‘struct gethostip(std::string)::QUESTION’
- dns-client.cpp:130:116: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::QUESTION’
- dns-client.cpp:148:106: error: invalid application of ‘sizeof’ to incomplete type ‘gethostip(std::string)::QUESTION’
- dns-client.cpp:161:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:165:55: error: invalid application of ‘sizeof’ to incomplete type ‘R_DATA’
- dns-client.cpp:167:45: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:169:92: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:171:62: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:176:67: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:178:68: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:190:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:194:45: error: invalid application of ‘sizeof’ to incomplete type ‘R_DATA’
- dns-client.cpp:203:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:45: error: invalid application of ‘sizeof’ to incomplete type ‘R_DATA’
- dns-client.cpp:209:43: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:211:88: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:212:58: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:215:63: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:216:56: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:231:46: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:231:57: error: ‘T_A’ was not declared in this scope
- dns-client.cpp:239:45: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:254:42: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:266:43: error: invalid use of incomplete type ‘struct R_DATA’
- dns-client.cpp:26:16: error: forward declaration of ‘struct R_DATA’
- dns-client.cpp:275:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string)’:
- dns-client.cpp:109:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:115:42: error: ‘dns_servers’ was not declared in this scope
- dns-client.cpp:139:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:142:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:178:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:220:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:248:57: error: ‘T_A’ was not declared in this scope
- dns-client.cpp:292:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string)’:
- dns-client.cpp:109:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:115:42: error: ‘dns_servers’ was not declared in this scope
- dns-client.cpp:139:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:142:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:178:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:220:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:292:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string)’:
- dns-client.cpp:109:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:115:42: error: ‘dns_servers’ was not declared in this scope
- dns-client.cpp:139:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:142:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:178:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:220:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:292:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- dns-client.cpp: In function ‘int main(int, char**)’:
- dns-client.cpp:300:19: error: no match for ‘operator*’ in ‘*dns_server’
- dns-client.cpp:318:38: error: too many arguments to function ‘int gethostip(std::string)’
- dns-client.cpp:96:5: note: declared here
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string, std::string)’:
- dns-client.cpp:109:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:115:42: error: ‘dns_servers’ was not declared in this scope
- dns-client.cpp:139:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:142:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:178:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:220:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:292:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- dns-client.cpp: In function ‘int main(int, char**)’:
- dns-client.cpp:300:19: error: no match for ‘operator*’ in ‘*dns_server’
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string, std::string)’:
- dns-client.cpp:109:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:115:52: error: cannot convert ‘std::string {aka std::basic_string<char>}’ to ‘const char*’ for argument ‘1’ to ‘in_addr_t inet_addr(const char*)’
- dns-client.cpp:139:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:142:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:178:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:220:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:292:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- dns-client.cpp: In function ‘int main(int, char**)’:
- dns-client.cpp:300:19: error: no match for ‘operator*’ in ‘*dns_server’
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string, std::string)’:
- dns-client.cpp:109:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:115:52: error: cannot convert ‘std::string {aka std::basic_string<char>}’ to ‘const char*’ for argument ‘1’ to ‘in_addr_t inet_addr(const char*)’
- dns-client.cpp:139:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:142:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:178:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:220:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:292:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- dns-client.cpp: In function ‘int main(int, char**)’:
- dns-client.cpp:300:29: error: could not convert ‘& dns_server’ from ‘std::string* {aka std::basic_string<char>*}’ to ‘std::string {aka std::basic_string<char>}’
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string, std::string)’:
- dns-client.cpp:109:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:115:52: error: cannot convert ‘std::string {aka std::basic_string<char>}’ to ‘const char*’ for argument ‘1’ to ‘in_addr_t inet_addr(const char*)’
- dns-client.cpp:139:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:142:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:178:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:220:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:292:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string, std::string)’:
- dns-client.cpp:109:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:139:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:142:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:178:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:220:56: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:292:9: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
- make: *** [dns-client.o] Ошибка 1
- tylkas@tylkas-home ~/Dropbox/Devel/dns-client $ make
- g++ -c -o dns-client.o dns-client.cpp
- dns-client.cpp: In function ‘int gethostip(std::string, std::string)’:
- dns-client.cpp:109:33: error: ‘host’ was not declared in this scope
- dns-client.cpp:139:43: error: ‘ChangetoDnsNameFormat’ was not declared in this scope
- dns-client.cpp:142:31: error: ‘query_type’ was not declared in this scope
- dns-client.cpp:178:58: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:207:55: error: ‘ReadName’ was not declared in this scope
- dns-client.cpp:220:56: error: ‘ReadName’ was not declared in this scope
- make: *** [dns-client.o] Ошибка 1
Add Comment
Please, Sign In to add comment