[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compilation problem



I can't seem to compile harmony with the current slink (and it's no
fun developing something you can't compile :-(. I know of at least
one other person with the same version of egcs who is able to compile.

This is the error I get:

g++ -shared -Wl,-soname -Wl,libharmony.so.0 -o .libs/libharmony.so.0.0.1 qvoiddict.lo qsignal.lo windows.lo qwmatrix.lo qwindefs.lo qwidget.lo qwidcoll.lo qvoidlist.lo qvalidator.lo qtstream.lo qtooltip.lo qtimer.lo qtableview.lo qtabdialog.lo qtabbar.lo qstrlist.lo qstring.lo qsocknot.lo qslider.lo qsemimodal.lo qscrollbar.lo qregion.lo qregexp.lo qrangect.lo qradiobt.lo qpushbutton.lo qprogressdialog.lo qprogbar.lo qprinterdialog.lo qprinter.lo qposixrx.lo qpopupmenu.lo qpointarray.lo qpixmapcache.lo qpixmap.lo qpicture.lo qpdevmet.lo qpalette.lo qpainter.lo qpaintdc.lo qpaintdevice.lo qobject.lo qobjdefs.lo qobjcoll.lo qmsgbox.lo qmlined.lo qmenudta.lo qmenubar.lo qmemchnk.lo qlistbox.lo qpen.lo qlined.lo qlcdnum.lo qlayout.lo qlabel.lo qkeycode.lo qiodev.lo qimage.lo qgrpbox.lo qgmanager.lo qglobal.lo qframe.lo qfontmgr.lo qfontmet.lo qfont.lo qfontinf.lo qfileinf.lo qfile.lo qevent.lo qfiledlg.lo qdstream.lo qdialog.lo qdatetm.lo qcursor.lo qcombobox.lo qcolor.lo qdrawuti!
l.lo qcollection.lo qcheckbox.lo qbutton.lo qbuffer.lo qclipboard.lo qbrush.lo qbitmap.lo qbuttongroup.lo qapplication.lo qaccel.lo motif.lo qbitarray.lo qdir.lo qxfont.lo qtruefont.lo next.lo qlineedbuf.lo platinum.lo
platinum.lo: In function `global destructors keyed to list<__list_iterator<harmony_event_block, harmony_event_block &, harmony_event_block *>, __default_alloc_template<true, 0> >::clear(void)':
/usr/include/g++-2/stl_list.h:304: multiple definition of `global destructors keyed to list<__list_iterator<harmony_event_block, harmony_event_block &, harmony_event_block *>, __default_alloc_template<true, 0> >::clear(void)'
windows.lo:/usr/include/g++-2/stl_list.h:304: first defined here
/usr/bin/ld: Warning: size of symbol `global destructors keyed to list<__list_iterator<harmony_event_block, harmony_event_block &, harmony_event_block *>, __default_alloc_template<1, 0> >::clear(void)' changed from 78 to 107 in platinum.lo
platinum.lo: In function `global constructors keyed to list<__list_iterator<harmony_event_block, harmony_event_block &, harmony_event_block *>, __default_alloc_template<true, 0> >::global destructors keyed to clear(void)':
/usr/include/g++-2/stl_list.h:304: multiple definition of `global constructors keyed to list<__list_iterator<harmony_event_block, harmony_event_block &, harmony_event_block *>, __default_alloc_template<true, 0> >::global destructors keyed to clear(void)'
windows.lo:/usr/include/g++-2/stl_list.h:304: first defined here
/usr/bin/ld: Warning: size of symbol `global constructors keyed to list<__list_iterator<harmony_event_block, harmony_event_block &, harmony_event_block *>, __default_alloc_template<1, 0> >::_GLOBAL_.D.clear(void)' changed from 115 to 125 in platinum.lo
collect2: ld returned 1 exit status

Does anyone know something about this?
Is there a egcs 1.0, g++ 2.8 or something like that around somewhere?

[olet@niels-henrik] ~> g++ -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

g++: Version: 2.91.57-3
libstdc++2.9-dev: Version: 2.91.57-3
libstdc++2.9: Version: 2.91.57-3

-- 
...Unix, MS-DOS, and MS Windows (also known as the Good, the Bad,
and the Ugly).                                       (Matt Welsh)
olet@ifi.uio.no   [-: .elOle. :-]   olet@debian.org


Reply to: