#8360 closed Patch (fixed)
Testcases fails to build
Reported by: | Xake | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | ||
Component version: | Operating system type: | Linux | |
Operating system version: |
Description
When I try to build the mozilla testcases I get the following error message:
libtool: link: x86_64-pc-linux-gnu-g++ -march=native -O3 -pipe -ggdb -mtune=native -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -Wall -fexceptions -std=gnu++11 -pthread -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -o test test-test.o test-ipaddress.o test-dirparsertest.o test-localpathtest.o test-serverpathtest.o -L/usr/lib64 -lcppunit -ldl ../src/engine/libengine.a -lgnutls -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lidn -Wl,--as-needed -pthread
../src/engine/libengine.a(libengine_a-misc.o): In function `GetDependencyVersion(dependency::type)':
/var/tmp/portage/net-ftp/filezilla-3.6.0.2/work/filezilla-3.6.0.2/src/engine/misc.cpp:389: undefined reference to `sqlite3_libversion'
collect2: error: ld returned 1 exit status
make[2]: * [test] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-ftp/filezilla-3.6.0.2/work/filezilla-3.6.0.2/tests'
See attached patch for what I had to do to make it build again.
patch adding the SQLite3 libs to the linking command