/usr/bin/libtool --mode=compile gcc -Wall -g -O2 -I/home/joe/download/radius/debian9/freeradius-2.0.0/src -c parse.c gcc -Wall -g -O2 -I/home/joe/download/radius/debian9/freeradius-2.0.0/src -c parse.c -fPIC -DPIC -o .libs/parse.o parse.c: In function 'parse_module': parse.c:1174: warning: passing argument 1 of 'compile_modgroup' makes pointer from integer without a cast parse.c:1174: warning: passing argument 2 of 'compile_modgroup' makes integer from pointer without a cast parse.c:1174: warning: passing argument 3 of 'compile_modgroup' from incompatible pointer type parse.c:1174: error: too few arguments to function 'compile_modgroup' make[7]: *** [parse.lo] Error 1 make[7]: Leaving directory `/home/joe/download/radius/debian9/freeradius-2.0.0/src/modules/rlm_policy' make[6]: *** [common] Error 2 make[6]: Leaving directory `/home/joe/download/radius/debian9/freeradius-2.0.0/src/modules' make[5]: *** [all] Error 2 make[5]: Leaving directory `/home/joe/download/radius/debian9/freeradius-2.0.0/src/modules' make[4]: *** [common] Error 2 make[4]: Leaving directory `/home/joe/download/radius/debian9/freeradius-2.0.0/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/joe/download/radius/debian9/freeradius-2.0.0/src' make[2]: *** [common] Error 2 make[2]: Leaving directory `/home/joe/download/radius/debian9/freeradius-2.0.0' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/joe/download/radius/debian9/freeradius-2.0.0' make: *** [stamp-build] Error 2 I am not familiar with this function, so I would appreciate a couple pointers on what went wrong. No other module seems to call this function.
Joe Maimon <jmaimon@ttec.com> wrote:
I am not familiar with this function, so I would appreciate a couple pointers on what went wrong. No other module seems to call this function.
It's a horrible evil hack, that's still quite useful. The function is in src/main/modcall.c, and was updated a few months back. I don't have time to look at it now, but the fix should be simple, just see the diff's from when the function was changed to see what changed, and why. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
Joe Maimon