radiusplugin-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Radiusplugin-users] questions about compiling


From: Spacelee
Subject: [Radiusplugin-users] questions about compiling
Date: Wed, 15 Dec 2010 15:31:43 +0800

environment : centos 5.3 64bit 
openvpn --version
OpenVPN 2.1.1 x86_64-redhat-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Jan 26 2010
Originally developed by James Yonan
Copyright (C) 2002-2009 OpenVPN Technologies, Inc. <address@hidden>


I download the latest plugin, and try to make, and this is the error message : 
address@hidden radiusplugin_v2.1a_beta1]# make
OBJ:  RadiusClass/RadiusAttribute.o 
RadiusClass/RadiusAttribute.cpp: In function ‘int gcry_pthread_mutex_init(void**)’:
RadiusClass/RadiusAttribute.cpp:29: error: invalid conversion from ‘void*’ to ‘pthread_mutex_t*’
RadiusClass/RadiusAttribute.cpp: In function ‘int gcry_pthread_mutex_destroy(void**)’:
RadiusClass/RadiusAttribute.cpp:29: error: invalid conversion from ‘void*’ to ‘pthread_mutex_t*’
RadiusClass/RadiusAttribute.cpp:29: error:   initializing argument 1 of ‘int pthread_mutex_destroy(pthread_mutex_t*)’
RadiusClass/RadiusAttribute.cpp: In function ‘int gcry_pthread_mutex_lock(void**)’:
RadiusClass/RadiusAttribute.cpp:29: error: invalid conversion from ‘void*’ to ‘pthread_mutex_t*’
RadiusClass/RadiusAttribute.cpp:29: error:   initializing argument 1 of ‘int pthread_mutex_lock(pthread_mutex_t*)’
RadiusClass/RadiusAttribute.cpp: In function ‘int gcry_pthread_mutex_unlock(void**)’:
RadiusClass/RadiusAttribute.cpp:29: error: invalid conversion from ‘void*’ to ‘pthread_mutex_t*’
RadiusClass/RadiusAttribute.cpp:29: error:   initializing argument 1 of ‘int pthread_mutex_unlock(pthread_mutex_t*)’
make: *** [RadiusClass/RadiusAttribute.o] Error 1



I don't know what't the error, and I try to google and search the maillist, no answer, and does anyone meet this problem before or know how to solve this problem?

--
Space Lee


reply via email to

[Prev in Thread] Current Thread [Next in Thread]