Sto cercando di compilare FreeRadius 2.1.0 su una RedHat 3 ma mi salta fuori un errore che non riesco a risolvere:
Qualcuno ha un'idea?codice:......................... gmake[6]: Entering directory `/root/freeradius-server-2.1.0/src/modules/rlm_preprocess' /root/freeradius-server-2.1.0/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.0/src -I/root/freeradius-server-2.1.0/libltdl -c rlm_preprocess.c mkdir .libs gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.0/src -I/root/freeradius-server-2.1.0/libltdl -c rlm_preprocess.c -fPIC -DPIC -o .libs/rlm_preprocess.o gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.0/src -I/root/freeradius-server-2.1.0/libltdl -c rlm_preprocess.c -o rlm_preprocess.o >/dev/null 2>&1 /root/freeradius-server-2.1.0/libtool --mode=link gcc -release 2.1.0 \ -module -export-dynamic -o rlm_preprocess.la \ -rpath /opt/freeRadius-2.1.0/lib rlm_preprocess.lo rlm_preprocess.c /root/freeradius-server-2.1.0/src/lib/libfreeradius-radius.la -lnsl -lresolv -lpthread gcc -shared .libs/rlm_preprocess.o -Wl,--rpath -Wl,/root/freeradius-server-2.1.0/src/lib/.libs -Wl,--rpath -Wl,/opt/freeRadius-2.1.0/lib /root/freeradius-server-2.1.0/src/lib/.libs/libfreeradius-radius.so -lnsl -lresolv -lpthread -Wl,-soname -Wl,rlm_preprocess-2.1.0.so -o .libs/rlm_preprocess-2.1.0.so (cd .libs && rm -f rlm_preprocess.so && ln -s rlm_preprocess-2.1.0.so rlm_preprocess.so) ar cru .libs/rlm_preprocess.a rlm_preprocess.o ranlib .libs/rlm_preprocess.a creating rlm_preprocess.la (cd .libs && rm -f rlm_preprocess.la && ln -s ../rlm_preprocess.la rlm_preprocess.la) gmake[6]: Leaving directory `/root/freeradius-server-2.1.0/src/modules/rlm_preprocess' Making all in rlm_python... gmake[6]: Entering directory `/root/freeradius-server-2.1.0/src/modules/rlm_python' /root/freeradius-server-2.1.0/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.0/src -I/root/freeradius-server-2.1.0/libltdl -I/usr/include/python2.2 -c rlm_python.c mkdir .libs gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-server-2.1.0/src -I/root/freeradius-server-2.1.0/libltdl -I/usr/include/python2.2 -c rlm_python.c -fPIC -DPIC -o .libs/rlm_python.o rlm_python.c: In function `python_error': rlm_python.c:163: `PyGILState_STATE' undeclared (first use in this function) rlm_python.c:163: (Each undeclared identifier is reported only once rlm_python.c:163: for each function it appears in.) rlm_python.c:163: syntax error before "__gstate" rlm_python.c:181: warning: implicit declaration of function `PyGILState_Release' rlm_python.c:181: `__gstate' undeclared (first use in this function) rlm_python.c: In function `python_init': rlm_python.c:201: warning: passing arg 2 of `PyModule_AddIntConstant' discards qualifiers from pointer target type rlm_python.c: In function `python_function': rlm_python.c:338: `PyGILState_STATE' undeclared (first use in this function) rlm_python.c:338: syntax error before "gstate" rlm_python.c:361: `gstate' undeclared (first use in this function) rlm_python.c:361: warning: implicit declaration of function `PyGILState_Ensure' rlm_python.c: In function `python_load_function': rlm_python.c:470: `PyGILState_STATE' undeclared (first use in this function) rlm_python.c:470: syntax error before "gstate" rlm_python.c:472: `gstate' undeclared (first use in this function) rlm_python.c: In function `python_objclear': rlm_python.c:508: `PyGILState_STATE' undeclared (first use in this function) rlm_python.c:508: syntax error before "__gstate" rlm_python.c:510: `__gstate' undeclared (first use in this function) gmake[6]: *** [rlm_python.lo] Error 1 gmake[6]: Leaving directory `/root/freeradius-server-2.1.0/src/modules/rlm_python' gmake[5]: *** [common] Error 2 gmake[5]: Leaving directory `/root/freeradius-server-2.1.0/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/root/freeradius-server-2.1.0/src/modules' gmake[3]: *** [common] Error 2 gmake[3]: Leaving directory `/root/freeradius-server-2.1.0/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/root/freeradius-server-2.1.0/src' gmake[1]: *** [common] Error 2 gmake[1]: Leaving directory `/root/freeradius-server-2.1.0' make: *** [all] Error 2

Rispondi quotando