Re: make fail on OS X 10.6.8

Jorge Arellano Cid <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hi,

On Sat, Feb 25, 2012 at 05:22:25AM +0000, Phil Dobbin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi, all.
> 
> I'm trying to install Dillo v.3.0.2 from source on OS X 10.6.8 & after
> successfuly installing fltk-1.3.0 into /usr/local & running configure &
> make I get this error:
> 
> `ld: duplicate symbol Fl_Printer::class_id       in
> /usr/local/lib/libfltk.a(Fl_Printer.o) and
> ../dw/libDw-fltk.a(libDw_fltk_a-fltkplatform.o)
> collect2: ld returned 1 exit status
> make[3]: *** [dillo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2`
> 
> I've tried Googling it (this is where I got the email address for this
> list. Apologies if I should've sent it to dillo-users. If that's the
> case, please let me know & I'll make amends) but no luck.

  IIRC, sometime ago corvid added a few lines in fltkplatform.cc to
avoid linking of unused printer code. You may expect his answer, but
in the meanwhile, you may try commenting that line:

  - const char *Fl_Printer::class_id = "Fl_Printer";
  + // const char *Fl_Printer::class_id = "Fl_Printer";

  or if that fails,
  commenting the whole stub (lines 35 to 42 in fltkplatform.cc).

  HTH.

-- 
  Cheers
  Jorge.-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.