[OpenSIPS-Users] new CDRTool release 6.9.0
ram
talk2ram at gmail.com
Mon Jul 20 13:31:14 CEST 2009
On Sun, Jul 19, 2009 at 3:44 PM, Alex Balashov <abalashov at evaristesys.com>wrote:
> ram wrote:
>
> Hi Adrian
>> I found some problem last version when iam patching freeradius.patch
>> with Freeradius 2.1.6 is that Fixed in this version
>> I have installed Freeradius 2.0.4
>>
>
> I would wager, on Adrian's behalf, that a description of "some problem" or
> a reference to a bug report number would be necessary to answer this
> question.
>
>
I forgot to mention the problem
here it is :
/usr/src/freeradius-server-2.1.6# patch -p0 <
/usr/src/CDRTool/contrib/freeradius-brandinger/freeradius-20090223.patch
patching file man/man5/rlm_sql.5
patching file raddb/sql/mssql/dialup.conf
patching file raddb/sql/mysql/dialup.conf
patching file raddb/sql/oracle/dialup.conf
patching file raddb/sql/postgresql/dialup.conf
patching file src/include/radius.h
patching file src/modules/rlm_sql/conf.h
Hunk #2 succeeded at 80 (offset 2 lines).
patching file src/modules/rlm_sql/rlm_sql.c
Configure Go smooth
when iam issuing make
i get the following errors
/usr/src/freeradius-server-2.1.6/libtool --mode=link gcc -release 2.1.6 \
-module -export-dynamic -o rlm_realm.la \
-rpath /usr/local/lib rlm_realm.lo rlm_realm.c
/usr/src/freeradius-server-2.1.6/src/lib/libfreeradius-radius.la -lnsl
-lresolv -lpthread
gcc -shared .libs/rlm_realm.o -Wl,--rpath
-Wl,/usr/src/freeradius-server-2.1.6/src/lib/.libs
/usr/src/freeradius-server-2.1.6/src/lib/.libs/libfreeradius-radius.so -lnsl
-lresolv -lpthread -Wl,-soname -Wl,rlm_realm-2.1.6.so -o .libs/
rlm_realm-2.1.6.so
(cd .libs && rm -f rlm_realm.so && ln -s rlm_realm-2.1.6.so rlm_realm.so)
ar cru .libs/rlm_realm.a rlm_realm.o
ranlib .libs/rlm_realm.a
creating rlm_realm.la
(cd .libs && rm -f rlm_realm.la && ln -s ../rlm_realm.la rlm_realm.la)
for x in .libs/* rlm_realm.la; do \
rm -rf /usr/src/freeradius-server-2.1.6/src/modules/lib/$x;
\
ln -s
/usr/src/freeradius-server-2.1.6/src/modules/rlm_realm/$x
/usr/src/freeradius-server-2.1.6/src/modules/lib/$x; \
done
make[6]: Leaving directory
`/usr/src/freeradius-server-2.1.6/src/modules/rlm_realm'
Making all in rlm_sql...
make[6]: Entering directory
`/usr/src/freeradius-server-2.1.6/src/modules/rlm_sql'
/usr/src/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG
-I/usr/src/freeradius-server-2.1.6/src
-I/usr/src/freeradius-server-2.1.6/libltdl
-I/usr/src/freeradius-server-2.1.6/src/modules/rlm_sql -c rlm_sql.c
mkdir .libs
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE
-DNDEBUG -I/usr/src/freeradius-server-2.1.6/src
-I/usr/src/freeradius-server-2.1.6/libltdl
-I/usr/src/freeradius-server-2.1.6/src/modules/rlm_sql -c rlm_sql.c -fPIC
-DPIC -o .libs/rlm_sql.o
rlm_sql.c:92: warning: braces around scalar initializer
rlm_sql.c:92: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:92: warning: initialization makes integer from pointer without a
cast
rlm_sql.c:92: warning: excess elements in scalar initializer
rlm_sql.c:92: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:93: warning: excess elements in scalar initializer
rlm_sql.c:93: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:93: warning: excess elements in scalar initializer
rlm_sql.c:93: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:93: warning: excess elements in scalar initializer
rlm_sql.c:93: warning: (near initialization for 'module_config[25].offset')
rlm_sql.c:94: warning: initialization makes pointer from integer without a
cast
rlm_sql.c:94: warning: excess elements in struct initializer
rlm_sql.c:94: warning: (near initialization for 'module_config[25]')
rlm_sql.c: In function 'rlm_sql_accounting':
rlm_sql.c:1293: error: 'Got' undeclared (first use in this function)
rlm_sql.c:1293: error: (Each undeclared identifier is reported only once
rlm_sql.c:1293: error: for each function it appears in.)
rlm_sql.c:1293: error: expected ';' before 'accounting'
rlm_sql.c:1324:7: warning: "/*" within comment
rlm_sql.c:1364: error: break statement not within loop or switch
rlm_sql.c:1369: error: 'default' label not within a switch statement
rlm_sql.c:1373: error: break statement not within loop or switch
rlm_sql.c: At top level:
rlm_sql.c:1377: warning: data definition has no type or storage class
rlm_sql.c:1377: warning: type defaults to 'int' in declaration of
'sql_release_socket'
rlm_sql.c:1377: warning: parameter names (without types) in function
declaration
rlm_sql.c:1379: error: expected identifier or '(' before 'return'
rlm_sql.c:1380: error: expected identifier or '(' before '}' token
make[6]: *** [rlm_sql.lo] Error 1
make[6]: Leaving directory
`/usr/src/freeradius-server-2.1.6/src/modules/rlm_sql'
make[5]: *** [common] Error 2
make[5]: Leaving directory `/usr/src/freeradius-server-2.1.6/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/freeradius-server-2.1.6/src/modules'
make[3]: *** [common] Error 2
make[3]: Leaving directory `/usr/src/freeradius-server-2.1.6/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/freeradius-server-2.1.6/src'
make[1]: *** [common] Error 2
make[1]: Leaving directory `/usr/src/freeradius-server-2.1.6'
make: *** [all] Error 2
freeswitch:/usr/src/freeradius-server-2.1.6#
ram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090720/aa2a1848/attachment.htm
More information about the Users
mailing list