[OpenSIPS-Users] Compiling problem on CentOS 5.2

Alex Balashov abalashov at evaristesys.com
Wed Sep 24 07:58:32 CEST 2008


You need to install the development headers for radiusclient-ng.

VIP Carrier wrote:

> 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 <http://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?
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (706) 338-8599



More information about the Users mailing list