Re: what's currently broken in dillo
Jeremy Henty <onepoint-YprzHiG/[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
higuita wrote: > > > ../dw/libDw-fltk.a(libDw_fltk_a-fltkviewbase.o): In function > > > `dw::fltk::FltkViewBase::handle(int)': /home/higuita/build/dillo2/dillo3/dw/fltkviewbase.cc:367: > > > undefined reference to `fl_oldfocus' collect2: error: ld returned 1 > > > exit status make[3]: *** [dillo] Error 1 > > I'm not sure why you're getting that. > > I found that if i revert to fltk 1.3.2 it works, again building > the fltk 1.3.3, dillo build fails again. > > I have done make clean on fltk and dillo on every try and tried > to clean the system from any old files, but same results. > > greping the both fltk version for fl_oldfocus, i get the same > code, so is even weirder. > > Can someone reproduce this or i have something broken on my > system? I can reproduce this. The Dillo source does something a little devious. It refers to fl_oldfocus, but this symbol is not declared in any header, it is just shared between two *.c files via an extern declaration (with a comment that this is a hack to make Fl_Group work). Something has changed in libfltk.so to stop the linker finding this symbol. I don't know what (I am not experienced in debugging linking failures.) Incidentally, yoshimi also fails to link against FLTK-1.3.3, although a different symbol is involved. Regards, Jeremy Henty