[Debian-med-packaging] Build error when trying to build latest version of seaview

Andreas Tille andreas at fam-tille.de
Tue Jul 7 06:57:07 UTC 2015


Hi Manolo,

On Mon, Jul 06, 2015 at 10:15:22PM -0400, Manolo Gouy wrote:
> I see. This statement uses a function that belongs to FLTK 1.3.3 and Debian uses FLTK 1.3.2,

FLTK 1.3.3 is work in progress:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791346

> so it is not recognized. I should not have used such a function, and will repair that.
> In the meantime, you can modify this statement as follows:
> replace line 3099 of file treedraw.cxx presently
>  if (!p) p = (char*)fd_nj_plot->panel->top_window()->label();
> by
>  if (!p) p = (char*)fd_nj_plot->panel->window()->window()->label();

This helps for the compile issue but in the end the linker fails:


...
g++ -o seaview  -Wl,-z,relro -Wl,--as-needed seaview.o custom.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o resource.o nexus.o viewasprots.o racnuc_fetch.o           concatenate.o statistics.o trees.o treedraw.o addbootstrap.o least_squares_brl.o pseudoterminal.o unrooted.o pdf_or_ps.o svg.o threads.o Fl_Native_File_Chooser_FLTK.o raa_acnuc.o parser.o  md5.o zsockr.o misc_acnuc.o dnapars.o protpars.o seq.o phylip.o lwl.o bionj.o phyml_util.o  `fltk-config --use-images --ldflags`
/usr/bin/ld: Fl_Native_File_Chooser_FLTK.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
...

Google hits suggest to add -ldl which I did but there is no change. :-(
 
Any clue?

Kind regards and many thanks for your quick reply

    Andreas.

> > Le 6 juil. 2015 à 13:48, Andreas Tille <andreas at an3as.eu> a écrit :
> > 
> > Hi Manolo,
> > 
> > when trying to update the seaview Debian package to the latest version
> > (4.5.4.4) the build failed with
> > 
> > ...
> > g++ -c  -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DUSE_XFT -I/usr/include/freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -Dunix -O3 -I.  -Icsrc    -DNO_PDF treedraw.cxx
> > treedraw.cxx: In function 'void print_plot(FD_nj_plot*, bool, const char*)':
> > treedraw.cxx:3099:43: error: 'class tree_panel' has no member named 'top_window'
> >     if (!p) p = (char*)fd_nj_plot->panel->top_window()->label();
> >                                           ^
> > Makefile:57: recipe for target 'treedraw.o' failed
> > make[1]: *** [treedraw.o] Error 1
> > make[1]: Leaving directory '/tmp/buildd/seaview-4.5.4.4'
> > 
> > 
> > Do you have any clue what might went wrong here?
> > 
> > Kind regards
> > 
> >        Andreas.
> > 
> > 
> > -- 
> > http://fam-tille.de
> 
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list