Compilation error
Joan Moreau
jom at grosjo.net
Tue Dec 4 17:20:05 EET 2018
Hi
USing git, I reach the following error (below).
Here is my configure parameters :
CPPFLAGS="-I/include -I/usr/include/tirpc/" LDFLAGS="-L/lib -ltirpc"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--libexec=/usr/libexec --with-sql=yes --without-sqlite --with-mysql
--with-ssl --without-shadow --without-nss --without-pam --without-ldap
--with-zlib --with-bzlib --with-libwrap --with-libcap --without-solr
--without-gssapi --without-docs --without-sia --without-pgsql
--without-lucene --without-stemmer
THanks
libtool: link: gcc -std=gnu99 -g -O2 -fstack-protector-strong
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -mfunction-return=thunk
-mindirect-branch=thunk -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2
-Wl,--as-needed -o test-lib test_lib-test-lib.o test_lib-test-array.o
test_lib-test-aqueue.o test_lib-test-base32.o test_lib-test-base64.o
test_lib-test-bits.o test_lib-test-bsearch-insert-pos.o
test_lib-test-buffer.o test_lib-test-byteorder.o test_lib-test-crc32.o
test_lib-test-data-stack.o test_lib-test-event-filter.o
test_lib-test-event-log.o test_lib-test-failures.o
test_lib-test-file-create-locked.o test_lib-test-guid.o
test_lib-test-hash.o test_lib-test-hash-format.o
test_lib-test-hash-method.o test_lib-test-hmac.o
test_lib-test-hex-binary.o test_lib-test-imem.o test_lib-test-ioloop.o
test_lib-test-iso8601-date.o test_lib-test-iostream-pump.o
test_lib-test-iostream-proxy.o test_lib-test-iostream-temp.o
test_lib-test-istream.o test_lib-test-istream-base64-decoder.o
test_lib-test-istream-base64-encoder.o test_lib-test-istream-chain.o
test_lib-test-istream-concat.o test_lib-test-istream-crlf.o
test_lib-test-istream-failure-at.o test_lib-test-istream-jsonstr.o
test_lib-test-istream-multiplex.o test_lib-test-istream-seekable.o
test_lib-test-istream-sized.o test_lib-test-istream-tee.o
test_lib-test-istream-try.o test_lib-test-istream-unix.o
test_lib-test-json-parser.o test_lib-test-json-tree.o
test_lib-test-lib-signals.o test_lib-test-llist.o
test_lib-test-log-throttle.o test_lib-test-malloc-overflow.o
test_lib-test-memarea.o test_lib-test-mempool.o
test_lib-test-mempool-allocfree.o test_lib-test-mempool-alloconly.o
test_lib-test-pkcs5.o test_lib-test-net.o test_lib-test-numpack.o
test_lib-test-ostream-buffer.o test_lib-test-ostream-failure-at.o
test_lib-test-ostream-file.o test_lib-test-ostream-multiplex.o
test_lib-test-multiplex.o test_lib-test-path-util.o
test_lib-test-primes.o test_lib-test-printf-format-fix.o
test_lib-test-priorityq.o test_lib-test-random.o
test_lib-test-seq-range-array.o test_lib-test-stats-dist.o
test_lib-test-str.o test_lib-test-strescape.o test_lib-test-strfuncs.o
test_lib-test-strnum.o test_lib-test-str-find.o
test_lib-test-str-sanitize.o test_lib-test-str-table.o
test_lib-test-time-util.o test_lib-test-unichar.o
test_lib-test-utc-mktime.o test_lib-test-uri.o
test_lib-test-var-expand.o test_lib-test-wildcard-match.o -L/lib
../lib-test/.libs/libtest.a ./.libs/liblib.a -ltirpc -lm
/usr/bin/ld: test_lib-test-lib.o:(.data.rel.ro+0x108): undefined
reference to `test_connection'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1211: test-lib] Error 1
make[4]: Leaving directory '/usr/src/dovecot/src/lib'
make[3]: *** [Makefile:1152: all] Error 2
make[3]: Leaving directory '/usr/src/dovecot/src/lib'
make[2]: *** [Makefile:564: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/dovecot/src'
make[1]: *** [Makefile:682: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/dovecot'
make: *** [Makefile:526: all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20181204/ad0b7392/attachment.html>
More information about the dovecot
mailing list