Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14984 closed defect (fixed)

dasher upgrade failure: "/usr/bin/ld: multiple definitions of symbol _round"

Reported by: paulbeard@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

/usr/bin/g++-4.0 -DXTHREADS -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -DORBIT2=1 -D_REENTRANT -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DORBIT2=1 -D_REENTRANT -DXTHREADS -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/libxml2 -I/opt/local/include/pango-1.0 -I/opt/local/include/gail-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/atk-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/at-spi-1.0 -DXTHREADS -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -DORBIT2=1 -D_REENTRANT -DXTHREADS -I/opt/local/include/libgnome-2.0 -I/opt/local/include/orbit-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/pango-1.0 -I/opt/local/include/gail-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/atk-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/libpng12 -I/usr/X11R6/include -I./Gtk2 -I./DasherCore -I../intl -DPREFIX=\"\" -DLIBDIR=\"/opt/local/lib\" -DDATADIR=\"/opt/local/share\" -DPROGDATA=\"/opt/local/share/dasher\" -DSYSCONFDIR=\"/opt/local/etc\" -DPACKAGE_LOCALE_DIR=\"/opt/local/share/locale\" -O2 -Wall -Wno-non-virtual-dtor -o dasher main.o -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreAudio -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreAudio -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-bind_at_load  -L/opt/local/lib -L/usr/X11R6/lib /opt/local/lib/libcspi.dylib /opt/local/lib/libspi.dylib -lXtst /opt/local/lib/libglade-2.0.dylib /opt/local/lib/libgnomeui-2.dylib /opt/local/lib/libgnome-keyring.dylib /opt/local/lib/libbonoboui-2.dylib /opt/local/lib/libgnomecanvas-2.dylib /opt/local/lib/libgnome-2.dylib /opt/local/lib/libpopt.dylib /opt/local/lib/libesd.dylib /opt/local/lib/libbonobo-2.dylib /opt/local/lib/libaudiofile.dylib /opt/local/lib/libbonobo-activation.dylib /opt/local/lib/libORBitCosNaming-2.dylib /opt/local/lib/libgailutil.dylib /opt/local/lib/libart_lgpl_2.dylib /opt/local/lib/libgtk-x11-2.0.dylib /opt/local/lib/libgdk-x11-2.0.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/libjpeg.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libcairo.dylib -lSM -lICE /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libXrender.dylib -lX11 /opt/local/lib/libgnomevfs-2.dylib /opt/local/lib/libxml2.dylib -lpthread /opt/local/lib/libdbus-glib-1.dylib /opt/local/lib/libdbus-1.dylib -lssl -lcrypto -lz /opt/local/lib/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib -lresolv -lm /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib Gtk2/libdashergtk.a Gtk2/libdashercontrol.a DasherCore/libdashercore.a DasherCore/libdasherprefs.a DasherCore/LanguageModelling/libdasherlm.a Common/libdashermisc.a /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc /opt/local/lib/libexpat.dylib
/usr/bin/ld: multiple definitions of symbol _round
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libpthread.dylib(rndint.o) definition of _round
DasherCore/libdashercore.a(AutoSpeedControl.o) definition of _round in section (__TEXT,__text)
collect2: ld returned 1 exit status
make[3]: *** [dasher] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1

Attachments (1)

dasher-darwin8.diff (448 bytes) - added by jmroot (Joshua Root) 17 years ago.
possible fix

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by jmroot (Joshua Root)

Attachment: dasher-darwin8.diff added

possible fix

comment:1 Changed 17 years ago by paulbeard@…

Works for me.

comment:2 Changed 17 years ago by paulbeard@…

I think this one can be closed: I applied the patch above and have had no problem.

comment:3 Changed 17 years ago by jmroot (Joshua Root)

Priority: HighNormal
Resolution: fixed
Status: newclosed

Committed in r36544.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.