-----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. Any help appreciated. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPSHARAAoJEKpMeDHWT5AD/hMIAInZu2mC96q3ZmYniyrnFJ+p hyNs8ELSsDOxzzeIps5XjiRzAto92l37ey+u0m3Ykt7rtv/vLaVj4zo+Bq0zaVDp 3znKMhIriaYzw4d7lRaTfLjxMETniZrh575/yXNpkQoCaBS7qSFWbYcRq/OCtuxE zbkHA+C7W9XPX3nyDZ6DWpCAXWDH68U/NECEksSqeNYmGUOHojhzun7/HOFkXXsT 1O2vFZY3PmNV4KdHQnedqnF4iEOBamNZS1sCU2DtSZUd3FUrhR9Pb3ImGovmtCFx vSGdZOL7/UYDtULCEHxxFB+8FoZgSm2UU42/+ac0PGKNcTOOjoBikjEBokf3Fvs= =YBHD -----END PGP SIGNATURE-----
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.-
Jorge wrote:
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).
For the moment, I can at least point us back to the original discussion at http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-June/008449.html The search engine suggests that ld complaining about duplicate symbols is fairly consistently an osx thing...
participants (3)
-
corvid@lavabit.com
-
jcid@dillo.org
-
phildobbin@gmail.com