Linux 64bits

23 views
Skip to first unread message

Didier Hérisson

unread,
Nov 11, 2009, 9:24:11 PM11/11/09
to TeXoMaker
Bonjour,

Je viens de réinstaller ma machine avec une distribution 64bits. J'ai essayé
de compiler TeXoMaker depuis le svn (version 255) je crois, et ça ne
fonctionne pas... Comme l'install est toute fraiche, il me manque peut être
quelques dépendances, mais certains messages d'erreurs me semblent relatifs à
l'architecture 64b et me font peur... (le premier d'entre eux: /usr/bin/ld:
i386 architecture of input file `tmp/main.o' is incompatible with i386:x86-64
output)

Toute idée pour me décoincer est bien entendue bienvenue...

Didier

g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -o bin/TeXoMaker
tmp/main.o tmp/mainwindow.o tmp/dirprefdialog.o tmp/importer.o
tmp/xmldomhandler.o tmp/affichedialog.o tmp/exosmodel.o tmp/pdflatexlogdialog.o
tmp/importthread.o tmp/mpthread.o tmp/exosheet.o tmp/headerdialog.o
tmp/preferences.o tmp/tableview.o tmp/propertydialog.o tmp/exportdialog.o
tmp/tcpclient.o tmp/serverreader.o tmp/documentwidget.o tmp/moc_mainwindow.o
tmp/moc_dirprefdialog.o tmp/moc_importer.o tmp/moc_affichedialog.o
tmp/moc_exosmodel.o tmp/moc_pdflatexlogdialog.o tmp/moc_importthread.o
tmp/moc_mpthread.o tmp/moc_exosheet.o tmp/moc_headerdialog.o
tmp/moc_propertydialog.o tmp/moc_exportdialog.o tmp/moc_tcpclient.o
tmp/moc_serverreader.o tmp/moc_documentwidget.o tmp/qrc_ressources.o -
L/usr/lib64 -Llib -L/usr/local/lib -lpoppler-qt4 -lQtWebKit -L/usr/lib64 -
L/usr/lib -lsqlite3 -lphonon -lQtDBus -pthread -pthread -pthread -pthread -
pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -
pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -
pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -
pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread -
pthread -pthread -pthread -pthread -pthread -pthread -lQtXml -pthread -pthread
-lQtGui -pthread -lpng -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -
lXrender -lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread -lQtCore -lz -
lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -lpthread -ldl
collect2: ld terminé par le signal 11 [Erreur de segmentation]
/usr/bin/ld: i386 architecture of input file `tmp/main.o' is incompatible with
i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/affichedialog.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/pdflatexlogdialog.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/headerdialog.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/tableview.o' is incompatible
with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/documentwidget.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_mainwindow.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_importer.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_affichedialog.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_exosmodel.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_pdflatexlogdialog.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_importthread.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_mpthread.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_exosheet.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_headerdialog.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_propertydialog.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_exportdialog.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_tcpclient.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_serverreader.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/moc_documentwidget.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `tmp/qrc_ressources.o' is
incompatible with i386:x86-64 output
/usr/bin/ld: Dwarf Error: Offset (112529) greater than or equal to .debug_str
size (439).
tmp/affichedialog.o: In function `AfficheDialog':
/home/didier/TeXoMaker/sources/affichedialog.cpp:11: undefined reference to
`operator new(unsigned int)'
/home/didier/TeXoMaker/sources/affichedialog.cpp:11: undefined reference to
`operator new(unsigned int)'
tmp/affichedialog.o: In function `QVector<double>::realloc(int, int)':
/usr/lib/qt4/include/QtCore/qvector.h:495: undefined reference to
`qMemSet(void*, int, unsigned int)'
/usr/lib/qt4/include/QtCore/qvector.h:468: undefined reference to
`qRealloc(void*, unsigned int)'
tmp/affichedialog.o: In function `Ui_AfficheDialog::setupUi(QWidget*)':
/home/didier/TeXoMaker/ui/include/ui_affichedialog.h:58: undefined reference to
`operator new(unsigned int)'
/home/didier/TeXoMaker/ui/include/ui_affichedialog.h:60: undefined reference to
`operator new(unsigned int)'
/home/didier/TeXoMaker/ui/include/ui_affichedialog.h:62: undefined reference to
`operator new(unsigned int)'
/home/didier/TeXoMaker/ui/include/ui_affichedialog.h:64: undefined reference to
`operator new(unsigned int)'
/home/didier/TeXoMaker/ui/include/ui_affichedialog.h:69: undefined reference to
`operator new(unsigned int)'
tmp/affichedialog.o:/home/didier/TeXoMaker/ui/include/ui_affichedialog.h:78: more
undefined references to `operator new(unsigned int)' follow
/usr/bin/ld: Dwarf Error: Offset (69514) greater than or equal to .debug_str
size (97).
tmp/tableview.o:(.rodata._ZTV9TableView[vtable for TableView]+0x190): undefined
reference to `non-virtual thunk to QWidget::devType() const'
tmp/tableview.o:(.rodata._ZTV9TableView[vtable for TableView]+0x194): undefined
reference to `non-virtual thunk to QWidget::paintEngine() const'
tmp/tableview.o:(.rodata._ZTV9TableView[vtable for TableView]+0x198): undefined
reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (109941) greater than or equal to .debug_str
size (816).
tmp/moc_mainwindow.o:(.rodata._ZTV10MainWindow[vtable for MainWindow]+0xf4):
undefined reference to `non-virtual thunk to QWidget::devType() const'
tmp/moc_mainwindow.o:(.rodata._ZTV10MainWindow[vtable for MainWindow]+0xf8):
undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
tmp/moc_mainwindow.o:(.rodata._ZTV10MainWindow[vtable for MainWindow]+0xfc):
undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (60128) greater than or equal to .debug_str
size (439).
tmp/moc_importer.o:(.rodata._ZTV8Importer[vtable for Importer]+0xf0): undefined
reference to `non-virtual thunk to QWidget::devType() const'
tmp/moc_importer.o:(.rodata._ZTV8Importer[vtable for Importer]+0xf4): undefined
reference to `non-virtual thunk to QWidget::paintEngine() const'
tmp/moc_importer.o:(.rodata._ZTV8Importer[vtable for Importer]+0xf8): undefined
reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (79060) greater than or equal to .debug_str
size (382).
tmp/moc_affichedialog.o:(.rodata._ZTV13AfficheDialog[vtable for
AfficheDialog]+0xf0): undefined reference to `non-virtual thunk to
QWidget::devType() const'
tmp/moc_affichedialog.o:(.rodata._ZTV13AfficheDialog[vtable for
AfficheDialog]+0xf4): undefined reference to `non-virtual thunk to
QWidget::paintEngine() const'
tmp/moc_affichedialog.o:(.rodata._ZTV13AfficheDialog[vtable for
AfficheDialog]+0xf8): undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (77012) greater than or equal to .debug_str
size (365).
tmp/moc_pdflatexlogdialog.o:(.rodata._ZTV17PdflatexLogDialog[vtable for
PdflatexLogDialog]+0xfc): undefined reference to `non-virtual thunk to
QWidget::devType() const'
tmp/moc_pdflatexlogdialog.o:(.rodata._ZTV17PdflatexLogDialog[vtable for
PdflatexLogDialog]+0x100): undefined reference to `non-virtual thunk to
QWidget::paintEngine() const'
tmp/moc_pdflatexlogdialog.o:(.rodata._ZTV17PdflatexLogDialog[vtable for
PdflatexLogDialog]+0x104): undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (81701) greater than or equal to .debug_str
size (442).
tmp/moc_exosheet.o:(.rodata._ZTV8ExoSheet[vtable for ExoSheet]+0xfc): undefined
reference to `non-virtual thunk to QWidget::devType() const'
tmp/moc_exosheet.o:(.rodata._ZTV8ExoSheet[vtable for ExoSheet]+0x100):
undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
tmp/moc_exosheet.o:(.rodata._ZTV8ExoSheet[vtable for ExoSheet]+0x104):
undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (72507) greater than or equal to .debug_str
size (401).
tmp/moc_headerdialog.o:(.rodata._ZTV12HeaderDialog[vtable for
HeaderDialog]+0xfc): undefined reference to `non-virtual thunk to
QWidget::devType() const'
tmp/moc_headerdialog.o:(.rodata._ZTV12HeaderDialog[vtable for
HeaderDialog]+0x100): undefined reference to `non-virtual thunk to
QWidget::paintEngine() const'
tmp/moc_headerdialog.o:(.rodata._ZTV12HeaderDialog[vtable for
HeaderDialog]+0x104): undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (87251) greater than or equal to .debug_str
size (428).
tmp/moc_propertydialog.o:(.rodata._ZTV14PropertyDialog[vtable for
PropertyDialog]+0xfc): undefined reference to `non-virtual thunk to
QWidget::devType() const'
tmp/moc_propertydialog.o:(.rodata._ZTV14PropertyDialog[vtable for
PropertyDialog]+0x100): undefined reference to `non-virtual thunk to
QWidget::paintEngine() const'
tmp/moc_propertydialog.o:(.rodata._ZTV14PropertyDialog[vtable for
PropertyDialog]+0x104): undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (80625) greater than or equal to .debug_str
size (521).
tmp/moc_exportdialog.o:(.rodata._ZTV12ExportDialog[vtable for
ExportDialog]+0xfc): undefined reference to `non-virtual thunk to
QWidget::devType() const'
tmp/moc_exportdialog.o:(.rodata._ZTV12ExportDialog[vtable for
ExportDialog]+0x100): undefined reference to `non-virtual thunk to
QWidget::paintEngine() const'
tmp/moc_exportdialog.o:(.rodata._ZTV12ExportDialog[vtable for
ExportDialog]+0x104): undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (52913) greater than or equal to .debug_str
size (474).
tmp/moc_tcpclient.o:(.rodata._ZTV9TcpClient[vtable for TcpClient]+0xfc):
undefined reference to `non-virtual thunk to QWidget::devType() const'
tmp/moc_tcpclient.o:(.rodata._ZTV9TcpClient[vtable for TcpClient]+0x100):
undefined reference to `non-virtual thunk to QWidget::paintEngine() const'
tmp/moc_tcpclient.o:(.rodata._ZTV9TcpClient[vtable for TcpClient]+0x104):
undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (69488) greater than or equal to .debug_str
size (491).
tmp/moc_serverreader.o:(.rodata._ZTV12ServerReader[vtable for
ServerReader]+0xfc): undefined reference to `non-virtual thunk to
QWidget::devType() const'
tmp/moc_serverreader.o:(.rodata._ZTV12ServerReader[vtable for
ServerReader]+0x100): undefined reference to `non-virtual thunk to
QWidget::paintEngine() const'
tmp/moc_serverreader.o:(.rodata._ZTV12ServerReader[vtable for
ServerReader]+0x104): undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
/usr/bin/ld: Dwarf Error: Offset (106804) greater than or equal to .debug_str
size (529).
tmp/moc_documentwidget.o:(.rodata._ZTV14DocumentWidget[vtable for
DocumentWidget]+0xf0): undefined reference to `non-virtual thunk to
QWidget::devType() const'
tmp/moc_documentwidget.o:(.rodata._ZTV14DocumentWidget[vtable for
DocumentWidget]+0xf4): undefined reference to `non-virtual thunk to
QWidget::paintEngine() const'
tmp/moc_documentwidget.o:(.rodata._ZTV14DocumentWidget[vtable for
DocumentWidget]+0xf8): undefined reference to `non-virtual thunk to
QWidget::metric(QPaintDevice::PaintDeviceMetric) const'
make: *** [bin/TeXoMaker] Erreur 1

Didier Hérisson

unread,
Nov 15, 2009, 4:53:34 PM11/15/09
to TeXoMaker
Le mercredi 11 novembre 2009 23:24:11, Didier Hérisson a écrit :
> Bonjour,
>
[...]

>
> Toute idée pour me décoincer est bien entendue bienvenue...
>
> Didier
>

Bonjour,

Désolé pour le bruit, et encore plus si quelqu'un s'est creusé la tête...
L'erreur, c'était de ne pas avoir suffisamment nettoyé avant de recompiler dans
le nouvel environnement.
En effaçant tout le répertoire contenant les sources, puis en les récupérant à
nouveau par svn, la compilation marche nickel, je retrouve mes exos, et le
lanceur refonctionne :)
La révision 255 tourne donc parfaitement sous Mandriva 2010 64bits.

Didier

Reply all
Reply to author
Forward
0 new messages