- changed status to resolved
Cannot compile using latest from master branch
Getting error when compiling on Centos 6.5
using: ./configure --localstatedir=/var --with-database=mysql --enable-starttls
output:
[root@localhost piler]# make
Making all in src
make[1]: Entering directory /tmp/piler/src'
gcc -O2 -Wall -g -I. -I.. -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -DUNIV_LINUX -DUNIV_LINUX -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -o pilerexport pilerexport.c -lpiler -lz -lm -ldl -lcrypto -lssl -ltre -rdynamic -L/usr/lib64/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lssl -lcrypto -L.
./libpiler.so: undefined reference to
eval_client'
./libpiler.so: undefined reference to request_init'
./libpiler.so: undefined reference to
hosts_access'
./libpiler.so: undefined reference to sock_host'
collect2: ld returned 1 exit status
make[1]: *** [pilerexport] Error 1
make[1]: Leaving directory
/tmp/piler/src'
make: *** [all-recursive] Error 1
Comments (1)
-
Account Deleted - Log in to comment
nevermind
used:
./configure \ --localstatedir=/var \ --with-database=mysql \ --enable-starttls \ --enable-tcpwrappers