Hi All,

I'm pretty new to building software from source on OpenSolaris, and with the 
help of a Scribus developer I am trying to overcome the following which has me 
stumped. 

Using OpenSolaris snv_132 x64,  gcc version 3.4.3 (csl-sol210-3_4-20050802).

Scribus 1.3.6svn will build using SUNWcmake, but will fail the linking stage. I 
see the following output in the make process:

Linking CXX executable scribus

ld: warning: file /opt/foss/qt4/lib/libQtXml.so: attempted multiple inclusion 
of file
ld: warning: file /opt/foss/qt4/lib/libQtNetwork.so: attempted multiple 
inclusion of file
ld: warning: file /opt/foss/qt4/lib/libQtCore.so: attempted multiple inclusion 
of file
Undefined                       first referenced
 symbol                             in file
QKeySequence::isEmpty() const       
CMakeFiles/scribus.dir/tabkeyboardshortcutswidget.o
QToolButton::minimumSizeHint() const CMakeFiles/scribus.dir/moc_autoform.o
QTreeWidget::QTreeWidget(QWidget*)  CMakeFiles/scribus.dir/checkDocument.o
QTreeWidget::QTreeWidget(QWidget*)  CMakeFiles/scribus.dir/bookmwin.o
QString::number(double, char, int)  CMakeFiles/scribus.dir/fpointarray.o
QAbstractScrollArea::horizontalScrollBar() const 
CMakeFiles/scribus.dir/scribusview.o
QTabWidget::sizeHint() const        CMakeFiles/scribus.dir/moc_docinfo.o
.

(snip)

several pages of these types of errors, eventually aborting with:

ld: fatal: symbol referencing errors. No output written to scribus
collect2: ld returned 1 exit status
make[2]: *** [scribus/scribus] Error 1
make[1]: *** [scribus/CMakeFiles/scribus.dir/all] Error 2
make: *** [all] Error 2

I see plenty of apparently Solaris-related search results pertaining to the ld 
"symbol referencing errors", issue but no solutions that either work or I can 
comprehend fully. 

Would anyone be able to give me an initial pointer as to what may be causing 
this, and where to look to attempt to fix this, such that linking completes 
successfully? Would be really appreciated.

Cheers, 
Dave
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to