ocserv 0.9.0.1 make error, undefined reference to `gnutls_rnd'

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

 



Hi, Nikos,

I had run and got this, plz check

[root at z86l217 ocserv-0.9.0]# make V=1
make  all-recursive
make[1]: Entering directory `/usr/local/src/ocserv-0.9.0'
Making all in gl
make[2]: Entering directory `/usr/local/src/ocserv-0.9.0/gl'
make  all-recursive
make[3]: Entering directory `/usr/local/src/ocserv-0.9.0/gl'
make[4]: Entering directory `/usr/local/src/ocserv-0.9.0/gl'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/usr/local/src/ocserv-0.9.0/gl'
make[3]: Leaving directory `/usr/local/src/ocserv-0.9.0/gl'
make[2]: Leaving directory `/usr/local/src/ocserv-0.9.0/gl'
Making all in libopts
make[2]: Entering directory `/usr/local/src/ocserv-0.9.0/libopts'
make  all-am
make[3]: Entering directory `/usr/local/src/ocserv-0.9.0/libopts'
make[3]: Leaving directory `/usr/local/src/ocserv-0.9.0/libopts'
make[2]: Leaving directory `/usr/local/src/ocserv-0.9.0/libopts'
Making all in src
make[2]: Entering directory `/usr/local/src/ocserv-0.9.0/src'
/bin/true ocpasswd-args.def
/bin/true ocserv-args.def
make  all-recursive
make[3]: Entering directory `/usr/local/src/ocserv-0.9.0/src'
Making all in pcl
make[4]: Entering directory `/usr/local/src/ocserv-0.9.0/src/pcl'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/src/ocserv-0.9.0/src/pcl'
make[4]: Entering directory `/usr/local/src/ocserv-0.9.0/src'
/bin/true ocserv-args.def
/bin/true ocpasswd-args.def
gcc  -g -O2 -Wall   -o ocpasswd ocpasswd.o ../gl/libgnu.a ../libopts/libopts.a libcmd-ocpasswd.a -L/atomic/atomic-gnutls3/root/usr/lib64/ -lgnutls -lcrypt
ocpasswd.o: In function `crypt_int':
/usr/local/src/ocserv-0.9.0/src/ocpasswd.c:65: undefined reference to `gnutls_rnd'
collect2: ld returned 1 exit status
make[4]: *** [ocpasswd] Error 1
make[4]: Leaving directory `/usr/local/src/ocserv-0.9.0/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/ocserv-0.9.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/ocserv-0.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ocserv-0.9.0'
make: *** [all] Error 2

thanks.
Jack

> On Thu, Jan 22, 2015 at 21:14, Nikos Mavrogiannopoulos <n.mavrogiannopoulos at gmail.com>wrote: 
> 
> On Thu, Jan 22, 2015 at 2:06 PM, Jack Lee <jack at evlit.com> wrote:
>> wget http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/atomic-release-1.0-19.el6.art.noarch.rpm
> [...]
>> ocpasswd-args.c:438: warning: suggest parentheses around arithmetic in operand of '|'
>>  AR       libcmd-ocpasswd.a
>>  CC       ocpasswd.o
>> ocpasswd.c: In function 'crypt_int':
>> ocpasswd.c:65: warning: implicit declaration of function 'gnutls_rnd'
>>  CCLD     ocpasswd
>> ocpasswd.o: In function `crypt_int':
>> /usr/local/src/ocserv-0.9.0/src/ocpasswd.c:65: undefined reference to `gnutls_rnd'
> 
> It seems that ocpasswd is being built using an older gnutls which
> doesn't have gnutls_rnd(). Try compiling with V=1 to see which flags
> are being passed to compiler and linker.
> 
> regards,
> Nikos




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux