[Pluto-help] il compilatore non compila

< MaNdRiCuS > mandricus a libero.it
Ven 20 Apr 2001 23:34:24 CEST


ciao a tutti
Sono anche io un novellino (di linux) come gran parte delle persone che frequentano questa lista. Tuttavia,
nonostante questo, sono riuscito (con non poca fatica) ad installare Red Hat 7.0 sul mio portatile Toshiba
Satellite e a renderlo operativo al 100% (scheda video a piena risoluzione, scheda audio, modem, scheda di rete)
e a metterlo in rete con il samba con il mio computer desktop sul quale ho WinZoz. E tutto questo senza rompere
troppo i coglioni a tutti voi, andando a leggere i vecchi trhead o cercando di leggere la documentazione
disponibile (devo dire davvero nutrita) sui vari argomenti. Tuttavia adesso mi si presenta davanti un problema
che non sono in grado di risolvere da solo, 
e che mi impedisce di passare ad usare il linux in modo sempre più massiccio, facendolo divenire per me una
reale alternativa a WinZoz.
Passo ad illustrarvi il problema, premettendo che sul mio PC ho installato RedHat7.0 con interfacce grafiche
Gnome (quella inclusa nella distro RH7) e Kde (upgradata alla versione 2.1).

IL PROBLEMA VERO E PROPRIO

Finora sono riuscito ad installare sul mio PC solo rpm. Ogni volta che scarico
qualche applicazione in formato .tar.gz, non riesco infatti a compilarla per installarla.
Il ./configure mi va tutto OK, ma quando vado a dare il comando Make, TUTTE le applicazioni mi danno SEMPRE LO
STESSO ERRORE.
questo ad esempio è l'errore che mi ha dato la compilazione del quanta, un editor HTML visuale


DCOP.so -lqt -lpng -lz /usr/lib/libjpeg.so -lXext -lX11 -lSM -lICE -lstdc++ -lm -lc -lgcc
document.o: In function `Document::Document(int, KWriteDoc *, QWidget *, char const *)':
document.o(.text+0x7c): undefined reference to `Document virtual table'
document.o(.text+0x83): undefined reference to `Document::QPaintDevice virtual table'
document.o(.text+0x8a): undefined reference to `Document::KXMLGUIClient virtual table'
document.o(.text+0x91): undefined reference to `Document::KWriteIface virtual table'
document.o(.text+0x9a): undefined reference to `Document::DCOPObject virtual table'
document.o: In function `Document::~Document(void)':
document.o(.text+0x131): undefined reference to `Document virtual table'
document.o(.text+0x138): undefined reference to `Document::QPaintDevice virtual table'
document.o(.text+0x13f): undefined reference to `Document::KXMLGUIClient virtual table'
document.o(.text+0x14c): undefined reference to `Document::KWriteIface virtual table'
document.o(.text+0x155): undefined reference to `Document::DCOPObject virtual table'
quanta_init.o: In function `QuantaApp::QuantaApp(int)':
quanta_init.o(.text+0x58): undefined reference to `QuantaApp virtual table'
quanta_init.o(.text+0x5f): undefined reference to `QuantaApp::QPaintDevice virtual table'
quanta_init.o(.text+0x66): undefined reference to `QuantaApp::KXMLGUIBuilder virtual table'
quanta_init.o(.text+0x6d): undefined reference to `QuantaApp::KXMLGUIClient virtual table'
quanta_init.o: In function `QuantaApp::~QuantaApp(void)':
quanta_init.o(.text+0x5ef): undefined reference to `QuantaApp virtual table'
quanta_init.o(.text+0x5f6): undefined reference to `QuantaApp::QPaintDevice virtual table'
quanta_init.o(.text+0x5fd): undefined reference to `QuantaApp::KXMLGUIBuilder virtual table'
quanta_init.o(.text+0x604): undefined reference to `QuantaApp::KXMLGUIClient virtual table'
quantadoc.o: In function `QuantaDoc::QuantaDoc(QuantaApp *, QWidget *, char const *)':
quantadoc.o(.text+0x1e): undefined reference to `QuantaDoc virtual table'
quantadoc.o: In function `QuantaDoc::~QuantaDoc(void)':
quantadoc.o(.text+0x6a): undefined reference to `QuantaDoc virtual table'
quantadoc.o: In function `QuantaDoc::openDocument(KURL const &)':
quantadoc.o(.text+0x8ff): undefined reference to `QuantaDoc::title(QString)'
quantadoc.o: In function `QuantaDoc::finishLoadURL(KWrite *)':
quantadoc.o(.text+0xa3e): undefined reference to `QuantaDoc::newStatus(void)'
quantadoc.o: In function `QuantaDoc::saveDocument(KURL const &)':
quantadoc.o(.text+0xc1c): undefined reference to `QuantaDoc::title(QString)'
quantaview_init.o: In function `QuantaView::QuantaView(QuantaApp *, QWidget *, char const *)':
quantaview_init.o(.text+0x27): undefined reference to `QuantaView virtual table'quantaview_init.o(.text+0x2e):
undefined reference to `QuantaView::QPaintDevice
virtual table'
quantaview_init.o: In function `QuantaView::~QuantaView(void)':
quantaview_init.o(.text+0x20d): undefined reference to `QuantaView virtual table'
quantaview_init.o(.text+0x214): undefined reference to `QuantaView::QPaintDevice virtual table'
quantaview_slots.o: In function `QuantaView::slotNewCurPos(void)':
quantaview_slots.o(.text+0x43dc): undefined reference to `QuantaView::newCurPos(void)'
collect2: ld returned 1 exit status
make[3]: *** [quanta] Error 1
make[3]: Leaving directory `/root/quanta/quanta/quanta'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/quanta/quanta/quanta'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/quanta/quanta'
make: *** [all-recursive-am] Error 2
[root a sarracco quanta]#

e questo invece, è l'errore che mi ha dato la compilazione del Katy, un
editor testuale che dovrebbe essere simile all'Ultra-Edit32 per WinZoz


katyapp.o: In function `KatyApp::KatyApp(void)':
katyapp.o(.text+0x1c): undefined reference to `KatyApp virtual table'
katyapp.o(.text+0x23): undefined reference to `KatyApp::KInstance virtual table'katyapp.o(.text+0x2d):
undefined reference to `KatyApp::DCOPObject virtual table'
katyapp.o: In function `KatyApp::~KatyApp(void)':
katyapp.o(.text+0x67): undefined reference to `KatyApp virtual table'
katyapp.o(.text+0x6e): undefined reference to `KatyApp::KInstance virtual table'katyapp.o(.text+0x78):
undefined reference to `KatyApp::DCOPObject virtual table'
katyapp.o: In function `KatyApp::writeConfig_Font(QFont)':
katyapp.o(.text+0x791): undefined reference to `KatyApp::configChanged(void)'
katyapp.o: In function `KatyApp::writeConfig_NormalForeground(QColor)':
katyapp.o(.text+0x846): undefined reference to `KatyApp::configChanged(void)'
katyapp.o: In function `KatyApp::writeConfig_NormalBackground(QColor)':
katyapp.o(.text+0x8ea): undefined reference to `KatyApp::configChanged(void)'
katyapp.o: In function `KatyApp::writeConfig_SelectedForeground(QColor)':
katyapp.o(.text+0x98e): undefined reference to `KatyApp::configChanged(void)'
katyapp.o: In function `KatyApp::writeConfig_SelectedBackground(QColor)':
katyapp.o(.text+0xa32): undefined reference to `KatyApp::configChanged(void)'
katyapp.o(.text+0xb09): more undefined references to `KatyApp::configChanged(void)' follow
katy.o: In function `Katy::Katy(int)':
katy.o(.text+0x57): undefined reference to `Katy virtual table'
katy.o(.text+0x5e): undefined reference to `Katy::QPaintDevice virtual table'
katy.o(.text+0x65): undefined reference to `Katy::KXMLGUIBuilder virtual table' katy.o(.text+0x6c): undefined
reference to `Katy::KXMLGUIClient virtual table'
katy.o: In function `Katy::~Katy(void)':
katy.o(.text+0x1ac): undefined reference to `Katy virtual table'
katy.o(.text+0x1b3): undefined reference to `Katy::QPaintDevice virtual table'
katy.o(.text+0x1ba): undefined reference to `Katy::KXMLGUIBuilder virtual table'katy.o(.text+0x1c1): undefined
reference to `Katy::KXMLGUIClient virtual table' katy.o: In function `Katy::preferences(void)':
katy.o(.text+0x200d): undefined reference to `KatyPreferences virtual table'
katy.o(.text+0x2017): undefined reference to `KatyPreferences::QPaintDevice virtual table'
katyview.o: In function `KatyView::KatyView(QWidget *)':
katyview.o(.text+0x1b): undefined reference to `KatyView virtual table'
katyview.o(.text+0x22): undefined reference to `KatyView::QPaintDevice virtual table'
katyview.o: In function `KatyView::~KatyView(void)':
katyview.o(.text+0xe2): undefined reference to `KatyView virtual table'
katyview.o(.text+0xe9): undefined reference to `KatyView::QPaintDevice virtual table'
katyview.o: In function `KatyView::openURL(KURL const &)':
katyview.o(.text+0x1c5): undefined reference to `KatyView::signalChangeCaption(QString const &, bool)'
katyview.o: In function `KatyView::slotDocumentModified(void)':
katyview.o(.text+0x26e): undefined reference to `KatyView::signalChangeCaption(QString const &, bool)'
katyview.o(.text+0x2d2): undefined reference to `KatyView::signalChangeCaption(QString const &, bool)'
katyview.o: In function `KatyView::slotDocumentNotModified(void)':
katyview.o(.text+0x37a): undefined reference to `KatyView::signalChangeCaption(QString const &, bool)'
katyview.o(.text+0x3de): undefined reference to `KatyView::signalChangeCaption(QString const &, bool)'
katypref.o: In function `KatyPreferences::KatyPreferences(void)':
katypref.o(.text+0x78): undefined reference to `KatyPreferences virtual table'
katypref.o(.text+0x7f): undefined reference to `KatyPreferences::QPaintDevice virtual table'
textdocument.o: In function `TextDocument::TextDocument(void)':
textdocument.o(.text+0x1e): undefined reference to `TextDocument virtual table' textdocument.o: In function
`TextDocument::TextDocument(KURL const &)':
textdocument.o(.text+0x563): undefined reference to `TextDocument virtual table'textdocument.o: In function
`TextDocument::~TextDocument(void)':
textdocument.o(.text+0x62a): undefined reference to `TextDocument virtual table'textdocument.o: In function
`TextDocument::setModified(bool)':
textdocument.o(.text+0x815): undefined reference to `TextDocument::documentNotModified(void)'
textdocument.o: In function `TextDocument::setLine(int, TextLine)':
textdocument.o(.text+0xe1a): undefined reference to `TextDocument::lineChanged(int, TextLine, TextLine)'
textdocument.o: In function `TextDocument::insertText(int, int, QString)':
textdocument.o(.text+0x4ca0): undefined reference to `TextDocument::linesInserted(int, QValueList<TextLine>)'
textdocument.o(.text+0x57cf): undefined reference to `TextDocument::lineChanged(int, TextLine, TextLine)'
textdocument.o: In function `TextDocument::insertLines(int, QValueList<TextLine>, bool)':
textdocument.o(.text+0x5f64): undefined reference to `TextDocument::linesInserted(int, QValueList<TextLine>)'
textdocument.o: In function `TextDocument::removeText(int, int, int, int)':
textdocument.o(.text+0x6713): undefined reference to `TextDocument::lineChanged(int, TextLine, TextLine)'
textdocument.o(.text+0x727b): undefined reference to `TextDocument::lineChanged(int, TextLine, TextLine)'
textdocument.o: In function `TextDocument::removeLines(int, int)':
textdocument.o(.text+0x7a8c): undefined reference to `TextDocument::linesRemoved(int, int)'
textdocument.o: In function `TextDocument::setModified(bool)':
textdocument.o(.text+0x805): undefined reference to `TextDocument::documentModified(void)'
texteditor.o: In function `TextEditor::TextEditor(QWidget *, QString)':
texteditor.o(.text+0x2a): undefined reference to `TextEditor virtual table'
texteditor.o(.text+0x31): undefined reference to `TextEditor::QPaintDevice virtual table'
texteditor.o: In function `TextEditor::~TextEditor(void)':
texteditor.o(.text+0x2a2): undefined reference to `TextEditor virtual table'
texteditor.o(.text+0x2a9): undefined reference to `TextEditor::QPaintDevice virtual table'
katyprefappearance.o: In function `KatyPrefAppearancePage::KatyPrefAppearancePage(QWidget *, char const *)':
katyprefappearance.o(.text+0x28): undefined reference to `KatyPrefAppearancePage virtual table'
katyprefappearance.o(.text+0x2f): undefined reference to `KatyPrefAppearancePage::QPaintDevice virtual table'
katyprefindenting.o: In function `KatyPrefIndentingPage::KatyPrefIndentingPage(QWidget *, char const *)':
katyprefindenting.o(.text+0x25): undefined reference to `KatyPrefIndentingPage virtual table'
katyprefindenting.o(.text+0x2c): undefined reference to `KatyPrefIndentingPage::QPaintDevice virtual table'
katytabstospaces.o: In function `KatyTabsToSpaces::KatyTabsToSpaces(QWidget *, char const *, unsigned int)':
katytabstospaces.o(.text+0x23): undefined reference to `KatyTabsToSpaces virtual table'
katytabstospaces.o(.text+0x2a): undefined reference to `KatyTabsToSpaces::QPaintDevice virtual table'
katytabstospaces.o: In function `KatyTabsToSpaces::~KatyTabsToSpaces(void)':
katytabstospaces.o(.text+0x2ee): undefined reference to `KatyTabsToSpaces virtual table'
katytabstospaces.o(.text+0x2f5): undefined reference to `KatyTabsToSpaces::QPaintDevice virtual table'
katytabstospacesimpl.o: In function `KatyTabsToSpacesImpl::KatyTabsToSpacesImpl(bool, QWidget *)':
katytabstospacesimpl.o(.text+0x93): undefined reference to `KatyTabsToSpacesImpl virtual table'
katytabstospacesimpl.o(.text+0x9a): undefined reference to `KatyTabsToSpacesImpl::QPaintDevice virtual table'
katytabstospacesimpl.o: In function `KatyTabsToSpacesImpl::~KatyTabsToSpacesImpl(void)':
katytabstospacesimpl.o(.text+0x112): undefined reference to `KatyTabsToSpacesImpl virtual table'
katytabstospacesimpl.o(.text+0x119): undefined reference to `KatyTabsToSpacesImpl::QPaintDevice virtual table'
katyfind.o: In function `KatyFind::KatyFind(QWidget *, char const *, unsigned int)':
katyfind.o(.text+0x26): undefined reference to `KatyFind virtual table'
katyfind.o(.text+0x2d): undefined reference to `KatyFind::QPaintDevice virtual table'
katyfind.o: In function `KatyFind::~KatyFind(void)':
katyfind.o(.text+0x742): undefined reference to `KatyFind virtual table'
katyfind.o(.text+0x749): undefined reference to `KatyFind::QPaintDevice virtual table'
katyfindimpl.o: In function `KatyFindImpl::KatyFindImpl(QWidget *)':
katyfindimpl.o(.text+0x78): undefined reference to `KatyFindImpl virtual table' katyfindimpl.o(.text+0x7f):
undefined reference to `KatyFindImpl::QPaintDevice virtual table'
katyfindimpl.o: In function `KatyFindImpl::~KatyFindImpl(void)':
katyfindimpl.o(.text+0xde): undefined reference to `KatyFindImpl virtual table' katyfindimpl.o(.text+0xe5):
undefined reference to `KatyFindImpl::QPaintDevice virtual table'
katyreplace.o: In function `KatyReplace::KatyReplace(QWidget *, char const *, unsigned int)':
katyreplace.o(.text+0x26): undefined reference to `KatyReplace virtual table'
katyreplace.o(.text+0x2d): undefined reference to `KatyReplace::QPaintDevice virtual table'
katyreplace.o: In function `KatyReplace::~KatyReplace(void)':
katyreplace.o(.text+0x886): undefined reference to `KatyReplace virtual table'
katyreplace.o(.text+0x88d): undefined reference to `KatyReplace::QPaintDevice virtual table'
katyreplaceimpl.o: In function `KatyReplaceImpl::KatyReplaceImpl(QWidget *)':
katyreplaceimpl.o(.text+0x78): undefined reference to `KatyReplaceImpl virtual table'
katyreplaceimpl.o(.text+0x7f): undefined reference to `KatyReplaceImpl::QPaintDevice virtual table'
katyreplaceimpl.o: In function `KatyReplaceImpl::~KatyReplaceImpl(void)':
katyreplaceimpl.o(.text+0xde): undefined reference to `KatyReplaceImpl virtual table'
katyreplaceimpl.o(.text+0xe5): undefined reference to `KatyReplaceImpl::QPaintDevice virtual table'
katyreplacing.o: In function `KatyReplacing::KatyReplacing(QWidget *, char const *, bool, unsigned int)':
katyreplacing.o(.text+0x2b): undefined reference to `KatyReplacing virtual table'
katyreplacing.o(.text+0x32): undefined reference to `KatyReplacing::QPaintDevice virtual table'
katyreplacing.o: In function `KatyReplacing::~KatyReplacing(void)':
katyreplacing.o(.text+0x436): undefined reference to `KatyReplacing virtual table'
katyreplacing.o(.text+0x43d): undefined reference to `KatyReplacing::QPaintDevice virtual table'
katyreplacingimpl.o: In function `KatyReplacingImpl::KatyReplacingImpl(QWidget *, char const *, bool, unsigned
int)':
katyreplacingimpl.o(.text+0x27): undefined reference to `KatyReplacingImpl virtual table'
katyreplacingimpl.o(.text+0x2e): undefined reference to `KatyReplacingImpl::QPaintDevice virtual table'
katyreplacingimpl.o: In function `KatyReplacingImpl::~KatyReplacingImpl(void)':
katyreplacingimpl.o(.text+0x46): undefined reference to `KatyReplacingImpl virtual table'
katyreplacingimpl.o(.text+0x4d): undefined reference to `KatyReplacingImpl::QPaintDevice virtual table'
collect2: ld returned 1 exit status
make[3]: *** [katy] Error 1
make[3]: Leaving directory `/root/katy-0.3/katy'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/katy-0.3/katy'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/katy-0.3'
make: *** [all-recursive-am] Error 2
[root a sarracco katy-0.3]#

per quello che mi sembra di capire, il problema dovrebbe essere sempre lo stesso, per tutte le
applicazioni..ma....QUALE E' IL PROBLEMA?
Qualcuno analizzando questi log, riesce a formulare qualche ipotesi? O a darmi qualche consiglio?

Fiducioso (e nel frattempo costretto ad agonizzare davanti agli "Blue Screen of Death") attendo una vostra
risposta


Gianrico





More information about the pluto-help mailing list