{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/875","labels_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/875/labels{/name}","comments_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/875/comments","events_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/875/events","html_url":"https://github.com/FreeRADIUS/freeradius-server/issues/875","id":54425724,"number":875,"title":"freeradius 2.2.6 fails to compile from source on cygwin","user":{"login":"avivs-at-arx","id":10544423,"avatar_url":"https://avatars.githubusercontent.com/u/10544423?v=3","gravatar_id":"","url":"https://api.github.com/users/avivs-at-arx","html_url":"https://github.com/avivs-at-arx","followers_url":"https://api.github.com/users/avivs-at-arx/followers","following_url":"https://api.github.com/users/avivs-at-arx/following{/other_user}","gists_url":"https://api.github.com/users/avivs-at-arx/gists{/gist_id}","starred_url":"https://api.github.com/users/avivs-at-arx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avivs-at-arx/subscriptions","organizations_url":"https://api.github.com/users/avivs-at-arx/orgs","repos_url":"https://api.github.com/users/avivs-at-arx/repos","events_url":"https://api.github.com/users/avivs-at-arx/events{/privacy}","received_events_url":"https://api.github.com/users/avivs-at-arx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-15T08:58:31Z","updated_at":"2015-01-15T15:34:55Z","closed_at":null,"body":"This file fails to compile:\r\nC:\\cygwin\\home\\avivs\\FreeRadius\\freeradius-server-2.2.6\\src\\modules\\rlm_eap\\radeapclient.c\r\n1. the included files \r\n#include \"eap_types.h\"\r\n#include \"eap_sim.h\"\r\n\r\nnot found by gcc. So I changed to \r\n\r\n#include \"modules/rlm_eap/libeap/eap_types.h\"\r\n#include \"modules/rlm_eap/libeap/eap_sim.h\"\r\n\r\nand got :\r\n\r\ngcc -I/home/avivs/FreeRadius/freeradius-server-2.2.6 -I/home/avivs/FreeRadius/freeradius-server-2.2.6/src -g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -I/home/avivs/FreeRadius/freeradius-server-2.2.6/libltdl -I/home/avivs/FreeRadius/freeradius-server-2.2.6/src -I/home/avivs/FreeRadius/freeradius-server-2.2.6/libltdl -DOPENSSL_NO_KRB5   radeapclient.c   -o radeapclient\r\nradeapclient.c: In function ‘respond_eap_md5’:\r\nradeapclient.c:776:11: warning: variable ‘name’ set but not used [-Wunused-but-set-variable]\r\n  uint8_t *name;\r\n           ^\r\nradeapclient.c:773:20: warning: variable ‘namesize’ set but not used [-Wunused-but-set-variable]\r\n  size_t valuesize, namesize;\r\n                    ^\r\nradeapclient.c: In function ‘main’:\r\nradeapclient.c:978:6: warning: variable ‘count’ set but not used [-Wunused-but-set-variable]\r\n  int count = 1;\r\n      ^\r\n/tmp/ccdKREvq.o: In function `debug_packet':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:182: undefined reference to `fr_packet_codes'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:195: undefined reference to `vp_prints'\r\n/tmp/ccdKREvq.o: In function `cleanresp':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:300: undefined reference to `pairdelete'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:301: undefined reference to `pairdelete'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:314: undefined reference to `pairbasicfree'\r\n/tmp/ccdKREvq.o: In function `process_eap_start':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:337: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:396: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:397: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:398: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:413: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:415: undefined reference to `pairreplace'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:418: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:423: undefined reference to `pairreplace'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:435: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:441: undefined reference to `fr_rand'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:442: undefined reference to `fr_rand'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:443: undefined reference to `fr_rand'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:444: undefined reference to `fr_rand'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:446: undefined reference to `pairreplace'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:458: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:464: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:472: undefined reference to `pairreplace'\r\n/tmp/ccdKREvq.o: In function `main':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:983: undefined reference to `fr_debug_flag'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1012: undefined reference to `fr_debug_flag'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1090: undefined reference to `dict_init'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1095: undefined reference to `rad_alloc'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1148: undefined reference to `ip_hton'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1221: undefined reference to `pairfree'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1223: undefined reference to `readvp2'\r\n/tmp/ccdKREvq.o: In function `sendrecv_eap':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:851: undefined reference to `pairfind'\r\n/tmp/ccdKREvq.o: In function `map_eap_types':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1257: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1264: undefined reference to `pairfind'\r\n/tmp/ccdKREvq.o: In function `sendrecv_eap':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:912: undefined reference to `fr_md5_calc'\r\n/tmp/ccdKREvq.o: In function `send_packet':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:212: undefined reference to `rad_send'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:268: undefined reference to `rad_verify'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:273: undefined reference to `rad_decode'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:279: undefined reference to `fr_debug_flag'\r\n/tmp/ccdKREvq.o: In function `unmap_eap_types':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1331: undefined reference to `eap_vp2packet'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1337: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1339: undefined reference to `pairadd'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1341: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1343: undefined reference to `pairadd'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1380: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1383: undefined reference to `pairadd'\r\n/tmp/ccdKREvq.o: In function `respond_eap_sim':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:673: undefined reference to `paircopy2'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:678: undefined reference to `paircopy2'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:687: undefined reference to `pairfind'\r\n/tmp/ccdKREvq.o: In function `unmap_eapsim_types':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1410: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1416: undefined reference to `unmap_eapsim_basictypes'\r\n/tmp/ccdKREvq.o: In function `respond_eap_sim':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:701: undefined reference to `pairfind'\r\n/tmp/ccdKREvq.o: In function `process_eap_challenge':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:502: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:503: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:521: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:522: undefined reference to `pairfind'\r\n/tmp/ccdKREvq.o:/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:523: more undefined references to `pairfind' follow\r\n/tmp/ccdKREvq.o: In function `respond_eap_sim':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:721: undefined reference to `sim_subtype2name'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:741: undefined reference to `sim_state2name'\r\n/tmp/ccdKREvq.o: In function `respond_eap_md5':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:782: undefined reference to `paircopy2'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:788: undefined reference to `paircopy2'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:795: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:819: undefined reference to `fr_MD5Init'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:820: undefined reference to `fr_MD5Update'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:821: undefined reference to `fr_MD5Update'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:822: undefined reference to `fr_MD5Update'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:823: undefined reference to `fr_MD5Final'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:825: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:830: undefined reference to `pairreplace'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:832: undefined reference to `pairreplace'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:835: undefined reference to `pairreplace'\r\n/tmp/ccdKREvq.o: In function `respond_eap_sim':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:757: undefined reference to `pairreplace'\r\n/tmp/ccdKREvq.o: In function `map_eapsim_types':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1397: undefined reference to `map_eapsim_basictypes'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1401: undefined reference to `eap_basic_compose'\r\n/tmp/ccdKREvq.o: In function `respond_eap_sim':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:763: undefined reference to `pairreplace'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:751: undefined reference to `sim_state2name'\r\n/tmp/ccdKREvq.o: In function `send_packet':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:226: undefined reference to `rad_recv'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:242: undefined reference to `ip_ntoh'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:243: undefined reference to `ip_ntoh'\r\n/tmp/ccdKREvq.o: In function `map_eap_types':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1306: undefined reference to `pairdelete'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1315: undefined reference to `eap_basic_compose'\r\n/tmp/ccdKREvq.o: In function `respond_eap_sim':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:741: undefined reference to `sim_subtype2name'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:690: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:692: undefined reference to `pairreplace'\r\n/tmp/ccdKREvq.o: In function `sendrecv_eap':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:916: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:854: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:859: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:920: undefined reference to `pairfind'\r\n/tmp/ccdKREvq.o: In function `main':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1148: undefined reference to `ip_hton'\r\n/tmp/ccdKREvq.o: In function `process_eap_challenge':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:574: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:575: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:576: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:588: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:589: undefined reference to `pairfind'\r\n/tmp/ccdKREvq.o:/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:590: more undefined references to `pairfind' follow\r\n/tmp/ccdKREvq.o: In function `process_eap_challenge':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:603: undefined reference to `eapsim_calculate_keys'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:610: undefined reference to `eapsim_checkmac'\r\n/tmp/ccdKREvq.o: In function `main':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1091: undefined reference to `fr_perror'\r\n/tmp/ccdKREvq.o: In function `process_eap_challenge':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:635: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:637: undefined reference to `pairreplace'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:643: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:649: undefined reference to `pairreplace'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:651: undefined reference to `paircreate'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:654: undefined reference to `pairreplace'\r\n/tmp/ccdKREvq.o: In function `sendrecv_eap':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:924: undefined reference to `pairfind'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:928: undefined reference to `rad_chap_encode'\r\n/tmp/ccdKREvq.o: In function `send_packet':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:274: undefined reference to `fr_perror'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:269: undefined reference to `fr_perror'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:251: undefined reference to `fr_perror'\r\n/tmp/ccdKREvq.o: In function `main':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:1096: undefined reference to `fr_perror'\r\n/tmp/ccdKREvq.o: In function `process_eap_challenge':\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap/radeapclient.c:606: undefined reference to `eapsim_dump_mk'\r\ncollect2: error: ld returned 1 exit status\r\n<builtin>: recipe for target 'radeapclient' failed\r\nmake[6]: *** [radeapclient] Error 1\r\nmake[6]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_eap'\r\nMakefile:37: recipe for target 'rlm_eap' failed\r\nmake[5]: *** [rlm_eap] Error 2\r\nmake[5]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules'\r\nMakefile:12: recipe for target 'all' failed\r\nmake[4]: *** [all] Error 2\r\nmake[4]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules'\r\nMakefile:39: recipe for target 'modules' failed\r\nmake[3]: *** [modules] Error 2\r\nmake[3]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src'\r\nMakefile:14: recipe for target 'all' failed\r\nmake[2]: *** [all] Error 2\r\nmake[2]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src'\r\nMakefile:97: recipe for target 'src' failed\r\nmake[1]: *** [src] Error 2\r\nmake[1]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6'\r\nMakefile:18: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\navivs@AVIVS-PC ~/FreeRadius/freeradius-server-2.2.6\r\n$\r\n\r\nPlease help.\r\n\r\nI am compiling on winndows 7 64bit machine,\r\n\r\nThanks in advance,\r\n\r\nAviv Simionovici, ARX"},"comment":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/comments/70103454","html_url":"https://github.com/FreeRADIUS/freeradius-server/issues/875#issuecomment-70103454","issue_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/875","id":70103454,"user":{"login":"avivs-at-arx","id":10544423,"avatar_url":"https://avatars.githubusercontent.com/u/10544423?v=3","gravatar_id":"","url":"https://api.github.com/users/avivs-at-arx","html_url":"https://github.com/avivs-at-arx","followers_url":"https://api.github.com/users/avivs-at-arx/followers","following_url":"https://api.github.com/users/avivs-at-arx/following{/other_user}","gists_url":"https://api.github.com/users/avivs-at-arx/gists{/gist_id}","starred_url":"https://api.github.com/users/avivs-at-arx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avivs-at-arx/subscriptions","organizations_url":"https://api.github.com/users/avivs-at-arx/orgs","repos_url":"https://api.github.com/users/avivs-at-arx/repos","events_url":"https://api.github.com/users/avivs-at-arx/events{/privacy}","received_events_url":"https://api.github.com/users/avivs-at-arx/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T15:34:55Z","updated_at":"2015-01-15T15:34:55Z","body":"Thanks!!! \r\n\r\nI also made the same trick at src\\modules\\rlm_ippool\\Makefile:\r\n\r\n#RLM_UTILS   = rlm_ippool_tool\r\nRLM_UTILS   = rlm_ippool_tool$(EXEEXT)\r\n\r\n it helped but now I have this one:\r\n\r\nmake[6]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_passwd'\r\nMaking all in rlm_perl...\r\n/usr/bin/make -w -C rlm_perl all\r\nmake[6]: Entering directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_perl'\r\n/home/avivs/FreeRadius/freeradius-server-2.2.6/libtool --mode=compile --tag=CC gcc -I/home/avivs/FreeRadius/freeradius-server-2.2.6 -I/home/avivs/FreeRadius/freeradius-server-2.2.6/src -g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -I/home/avivs/FreeRadius/freeradius-server-2.2.6/libltdl -I/home/avivs/FreeRadius/freeradius-server-2.2.6/src -I/home/avivs/FreeRadius/freeradius-server-2.2.6/libltdl `perl -MExtUtils::Embed -e ccopts` -c rlm_perl.c\r\nmkdir .libs\r\n gcc -I/home/avivs/FreeRadius/freeradius-server-2.2.6 -I/home/avivs/FreeRadius/freeradius-server-2.2.6/src -g -O2 -Wall -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG -I/home/avivs/FreeRadius/freeradius-server-2.2.6/libltdl -I/home/avivs/FreeRadius/freeradius-server-2.2.6/src -I/home/avivs/FreeRadius/freeradius-server-2.2.6/libltdl -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -I/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE -c rlm_perl.c  -DDLL_EXPORT -DPIC -o .libs/rlm_perl.o\r\nrlm_perl.c: In function 'rlm_perl_get_handles':\r\nrlm_perl.c:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n   handle = (void *)SvIV(handle_sv);\r\n            ^\r\nrlm_perl.c: In function 'rlm_perl_make_key':\r\nrlm_perl.c:243:26: warning: passing argument 2 of 'pthread_key_create' from incompatible pointer type\r\n  pthread_key_create(key, rlm_destroy_perl);\r\n                          ^\r\nIn file included from /home/avivs/FreeRadius/freeradius-server-2.2.6/src/freeradius-devel/radiusd.h:39:0,\r\n                 from rlm_perl.c:27:\r\n/usr/include/pthread.h:145:5: note: expected 'void (*)(void *)' but argument is of type 'void (*)(struct PerlInterpreter *)'\r\n int pthread_key_create (pthread_key_t *, void (*)(void *));\r\n     ^\r\nIn file included from rlm_perl.c:40:0:\r\nrlm_perl.c: At top level:\r\nrlm_perl.c:282:11: error: external linkage required for symbol 'XS_radiusd_radlog' because of 'dllexport' attribute\r\n static XS(XS_radiusd_radlog)\r\n           ^\r\n/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/XSUB.h:110:28: note: in definition of macro 'XSPROTO'\r\n #define XSPROTO(name) void name(pTHX_ CV* cv)\r\n                            ^\r\nrlm_perl.c:282:8: note: in expansion of macro 'XS'\r\n static XS(XS_radiusd_radlog)\r\n        ^\r\nrlm_perl.c: In function 'perl_instantiate':\r\nrlm_perl.c:411:7: warning: variable 'rad_request_proxy_reply_hv' set but not used [-Wunused-but-set-variable]\r\n  HV  *rad_request_proxy_reply_hv;\r\n       ^\r\nrlm_perl.c:410:7: warning: variable 'rad_request_proxy_hv' set but not used [-Wunused-but-set-variable]\r\n  HV  *rad_request_proxy_hv;\r\n       ^\r\nrlm_perl.c:409:7: warning: variable 'rad_request_hv' set but not used [-Wunused-but-set-variable]\r\n  HV  *rad_request_hv;\r\n       ^\r\nrlm_perl.c:408:7: warning: variable 'rad_config_hv' set but not used [-Wunused-but-set-variable]\r\n  HV  *rad_config_hv;\r\n       ^\r\nrlm_perl.c:407:7: warning: variable 'rad_check_hv' set but not used [-Wunused-but-set-variable]\r\n  HV  *rad_check_hv;\r\n       ^\r\nrlm_perl.c:406:7: warning: variable 'rad_reply_hv' set but not used [-Wunused-but-set-variable]\r\n  HV  *rad_reply_hv;\r\n       ^\r\nrlm_perl.c: In function 'perl_store_vps':\r\nrlm_perl.c:553:8: warning: assignment discards 'const' qualifier from pointer target type\r\n   name = nvp->name;\r\n        ^\r\nIn file included from /usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/perl.h:5022:0,\r\n                 from rlm_perl.c:39:\r\nrlm_perl.c: In function 'rlmperl_call':\r\n/usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/pp.h:125:16: warning: value computed is not used [-Wunused-value]\r\n #define POPs  (*sp--)\r\n                ^\r\nrlm_perl.c:738:3: note: in expansion of macro 'POPs'\r\n   POPs;\r\n   ^\r\n../rules.mak:66: recipe for target 'rlm_perl.lo' failed\r\nmake[6]: *** [rlm_perl.lo] Error 1\r\nmake[6]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules/rlm_perl'\r\nMakefile:37: recipe for target 'rlm_perl' failed\r\nmake[5]: *** [rlm_perl] Error 2\r\nmake[5]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules'\r\nMakefile:12: recipe for target 'all' failed\r\nmake[4]: *** [all] Error 2\r\nmake[4]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src/modules'\r\nMakefile:39: recipe for target 'modules' failed\r\nmake[3]: *** [modules] Error 2\r\nmake[3]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src'\r\nMakefile:14: recipe for target 'all' failed\r\nmake[2]: *** [all] Error 2\r\nmake[2]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6/src'\r\nMakefile:97: recipe for target 'src' failed\r\nmake[1]: *** [src] Error 2\r\nmake[1]: Leaving directory '/home/avivs/FreeRadius/freeradius-server-2.2.6'\r\nMakefile:18: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\navivs@AVIVS-PC ~/FreeRadius/freeradius-server-2.2.6\r\n$ ^C\r\n\r\navivs@AVIVS-PC ~/FreeRadius/freeradius-server-2.2.6\r\n$\r\n\r\ncan you help me with this (I think the error is here)\r\n\r\nIn file included from rlm_perl.c:40:0:\r\nrlm_perl.c: At top level:\r\nrlm_perl.c:282:11: error: external linkage required for symbol 'XS_radiusd_radlog' because of 'dllexport' attribute\r\n static XS(XS_radiusd_radlog)\r\n\r\nthanks again,\r\n\r\nAviv\r\n"}}