[OpenIndiana-discuss] Building Filezilla

russell stream at willows7.myzen.co.uk
Sat Jun 1 13:22:59 UTC 2019


Hi,

After installing a pair of 500GB SSDs and performing a clean install of 
OI Hipster I  have started on rebuilding Filezilla.
In order to build a modern version I have been working on building 
libfilezilla 0.15.1

In order to build libfilezilla 0.15.1 there are a number of prerequities

  wx-widgets-3.1.2 build

             CC=gcc CXX=g++ QT5_CUSTOM_DIR=/usr/lib/qt/5.8 ./configure 
--prefix=/opt/gnu --with-qt

  gmp-6.1.2

             CC=gcc CXX=g++ CFLAGS=-m64 ./configure --prefix=/opt/gnu

nettle-3.4.1 (libhogweed library must be built)

            CC=gcc-6 CFLAGS="-m64 -I/usr/include -I/opt/gnu/include/" 
CXX=g++-6 CPPFLAGS="-m64 -I/usr/include -I/opt/gnu/include/" 
NETTLE_CFLAGS="-I/opt/gnu/include/nettle" NETTLE_LIBS="-L/opt/gnu/lib" 
HOGWEED_CFLAGS="-I/opt/gnu/include/nettle" HOGWEED_LIBS="-L/opt/gnu/lib" 
./configure  --prefix=/opt/gnu --enable-shared=yes --disable-static 
--disable-assembler --build=x86_64-pc-solaris2

The prerequisites build without issue.

When I attempt make libfilezilla 0.15.1 if fails with


Making all in demos
gmake[1]: Entering directory '/tmp/libfilezilla-0.15.1/demos'
g++-6 -DHAVE_CONFIG_H -I. -I../lib/libfilezilla/private   -I../lib -m64 
-I/opt/gnu/include -I/usr/include/ -Wall -g -MT 
timer_fizzbuzz-timer_fizzbuzz.o -MD -MP -MF 
.deps/timer_fizzbuzz-timer_fizzbuzz.Tpo -c -o 
timer_fizzbuzz-timer_fizzbuzz.o `test -f 'timer_fizzbuzz.cpp' || echo 
'./'`timer_fizzbuzz.cpp
mv -f .deps/timer_fizzbuzz-timer_fizzbuzz.Tpo 
.deps/timer_fizzbuzz-timer_fizzbuzz.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++-6  -m64 
-I/opt/gnu/include -I/usr/include/ -Wall -g  -no-install -m64 
-L/opt/gnu/lib -L/usr/lib -o timer_fizzbuzz 
timer_fizzbuzz-timer_fizzbuzz.o ../lib/libfilezilla.la -lpthread
libtool: link: g++-6 -m64 -I/opt/gnu/include -I/usr/include/ -Wall -g 
-m64 -o timer_fizzbuzz timer_fizzbuzz-timer_fizzbuzz.o -L/opt/gnu/lib 
-L/usr/lib ../lib/.libs/libfilezilla.so -L/opt/gnu/lib/64 -lpthread 
-Wl,-R -Wl,/tmp/libfilezilla-0.15.1/lib/.libs -Wl,-R -Wl,/opt/gnu/lib
Undefined                       first referenced
  symbol                             in file
nettle_pbkdf2_hmac_sha256           ../lib/.libs/libfilezilla.so
nettle_sha512_digest                ../lib/.libs/libfilezilla.so
nettle_sha256_digest                ../lib/.libs/libfilezilla.so
nettle_ed25519_sha512_verify        ../lib/.libs/libfilezilla.so
nettle_sha512_update                ../lib/.libs/libfilezilla.so
nettle_sha256_update                ../lib/.libs/libfilezilla.so
nettle_hmac_sha256_set_key          ../lib/.libs/libfilezilla.so
nettle_md5_update                   ../lib/.libs/libfilezilla.so
nettle_gcm_aes256_set_key           ../lib/.libs/libfilezilla.so
nettle_sha256_init                  ../lib/.libs/libfilezilla.so
nettle_gcm_aes256_encrypt           ../lib/.libs/libfilezilla.so
nettle_md5_digest                   ../lib/.libs/libfilezilla.so
nettle_gcm_aes256_decrypt           ../lib/.libs/libfilezilla.so
nettle_sha1_update                  ../lib/.libs/libfilezilla.so
nettle_sha512_init                  ../lib/.libs/libfilezilla.so
nettle_sha1_digest                  ../lib/.libs/libfilezilla.so
nettle_ed25519_sha512_public_key    ../lib/.libs/libfilezilla.so
nettle_md5_init                     ../lib/.libs/libfilezilla.so
nettle_gcm_aes256_digest            ../lib/.libs/libfilezilla.so
nettle_hmac_sha256_digest           ../lib/.libs/libfilezilla.so
nettle_ctr_crypt                    ../lib/.libs/libfilezilla.so
nettle_aes256_encrypt               ../lib/.libs/libfilezilla.so
nettle_hmac_sha256_update           ../lib/.libs/libfilezilla.so
nettle_memeql_sec                   ../lib/.libs/libfilezilla.so
nettle_ed25519_sha512_sign          ../lib/.libs/libfilezilla.so
nettle_aes256_set_encrypt_key       ../lib/.libs/libfilezilla.so
nettle_gcm_aes256_set_iv            ../lib/.libs/libfilezilla.so
nettle_sha1_init                    ../lib/.libs/libfilezilla.so
nettle_curve25519_mul               ../lib/.libs/libfilezilla.so
ld: fatal: symbol referencing errors. No output written to timer_fizzbuzz
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:458: timer_fizzbuzz] Error 1
gmake[1]: Leaving directory '/tmp/libfilezilla-0.15.1/demos'
gmake: *** [Makefile:464: all-recursive] Error 1


Any pointers to fix it

Regards

Russell



More information about the openindiana-discuss mailing list