After
all I was able to solve this problem. I had to edit rlm_ippool_tool.c and replace,
at line 115: if
(inet_pton(AF_INET, ipaddress, &ipaddr) == 0) with if
(inet_aton(ipaddress, &ipaddr) == 0) It
should work the same way, as aton() is a specific
implementation of pton() for AF_INET (which, by the way, is only implemented
for AF_INET anyway – grumf) Hope
this will help someone out. BTW,
I’m still getting some errors at “make install”. Did anyone
experience these? Cheers, Manuel
Ricca From: Manuel
Ricca [mailto:[EMAIL PROTECTED] When trying to compile
freeradius 0.9.3 for Cygwin I get this error: rlm_ippool_tool.o(.text+0x26f): In
function `addip': /cygdrive/d/freeradius-0.9.3/src/modules/rlm_ippool/rlm_ippool_tool.c:115:
undefined reference to `_inet_pton' collect2: ld returned 1 exit status make[6]: *** [rlm_ippool_tool] Error 1 make[5]: *** [common] Error 1 make[4]: *** [all] Error 2 make[3]: *** [common] Error 1 make[2]: *** [all] Error 2 make[1]: *** [common] Error 1 make: *** [all] Error 2 I guess this is why I
can’t compile radiusd, it depends on this module. Can anyone help? TIA, Manuel Ricca |
- Compile error for Cygwin Manuel Ricca
- Re: Compile error for Cygwin Manuel Ricca
- Re: Compile error for Cygwin Alan DeKok
- Re: Compile error for Cygwin Paul Hampson
- Re: Compile error for Cygwin Alan DeKok
- Re: Compile error for Cygwin A. Clausen
- Re: Compile error for Cygwin A. Clausen
- RE: Compile error for Cygwin Ayman Alashquar
- Re: Compile error for Cygwin Keith Yoder
- Simple Setup Ayman Alashquar
- Re: Simple Setup Norguhtar
- Re: Compile error for Cygwin A. Clausen