[OpenSIPS-Users] Compiling problem on CentOS 5.2

VIP Carrier vipcarrier at gmail.com
Wed Sep 24 05:53:52 CEST 2008


Hi I'v got the following error when I'm trying to compile OpenSIPs

make[1]: Entering directory `/root/opensips_1_4/modules/auth_radius'
Compiling authorize.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott
-Wold-style-definition -Wmissing-field-initializers -Wredundant-decls
-DMOD_NAME='"auth_radius"'    -DNAME='"opensips"' -DVERSION='"1.4.2-notls"'
-DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_i386
-D__OS_linux -D__SMP_yes -DCFG_DIR='"//etc/opensips/"' -DPKG_MALLOC
-DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
-DSVNREVISION='"2:4747M"'  -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
-I/usr/local/include -c authorize.c -o authorize.o
In file included from authrad_mod.h:34,
                 from authorize.c:46:
../../radius.h:38:30: error: radiusclient-ng.h: No such file or directory
make[1]: *** [authorize.o] Error 1
make[1]: Leaving directory `/root/opensips_1_4/modules/auth_radius'
make: *** [modules] Error 2
[root at server opensips_1_4]#
----------------------------------------------------------------------------------------------------------------------------------
I have enabled radius and mysql in Makefile, here is how it look's now

# if not set on the cmd. line or the env, exclude this modules:
exclude_modules?= jabber cpl-c db_postgres osp db_unixodbc \
        db_oracle \
        xmpp presence presence_xml presence_mwi pua pua_bla pua_mi \
        pua_usrloc pua_xmpp rls mi_xmlrpc perl snmpstats perlvdb \
        ldap carrierroute h350 xcap_client db_berkeley seas peering
ifeq ($(TLS),)
        exclude_modules+= tlsops
endif
------------------------------------------------------------------------------------------------------------------------------------
Here is my kernel info
[root at server opensips_1_4]# uname -a
Linux server.example.com 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:41:53 EDT
2008 i686 i686 i386 GNU/Linux
[root at server opensips_1_4]#

Any ideas how to fix this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20080923/8d09342a/attachment.htm 


More information about the Users mailing list