Build On CentOS

md at rpzdesign.com md at rpzdesign.com
Fri Dec 5 16:24:27 CET 2014


Tried to Build Tinc.  Linker was confused, Makefile lacking reference to
-ltinfo I guess.

FYI.



root at rpzcentos tinc-1.1pre10]# make
make  all-recursive
make[1]: Entering directory `/adev/tinc-1.1pre10'
Making all in m4
make[2]: Entering directory `/adev/tinc-1.1pre10/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/adev/tinc-1.1pre10/m4'
Making all in src
make[2]: Entering directory `/adev/tinc-1.1pre10/src'
gcc -std=gnu99 -DCONFDIR=\"/tinc/etc\" -DLOCALSTATEDIR=\"/tinc/var\"
-DSBINDIR=\"/tinc/sbin\" -g -O2  -pie -Wl,-z,relro -Wl,-z,now -o tinc
dropin.o getopt.o getopt1.o info.o invitation.o list.o names.o netutl.o
script.o sptps.o subnet_parse.o tincctl.o top.o utils.o openssl/cipher.o
openssl/crypto.o openssl/digest.o openssl/ecdh.o openssl/ecdsa.o
openssl/ecdsagen.o openssl/prf.o openssl/rsa.o openssl/rsagen.o
-lreadline -lncurses -lcrypto  -lz -llzo2 -ldl
/usr/bin/../libexec/gcc/x86_64-redhat-linux/4.8.2/ld: top.o: undefined
reference to symbol 'wtimeout'
/usr/bin/../libexec/gcc/x86_64-redhat-linux/4.8.2/ld: note: 'wtimeout'
is defined in DSO /lib64/libtinfo.so.5 so try adding it to the linker
command line
/lib64/libtinfo.so.5: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [tinc] Error 1
make[2]: Leaving directory `/adev/tinc-1.1pre10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/adev/tinc-1.1pre10'
make: *** [all] Error 2


More information about the tinc-devel mailing list