Guest Posted April 26, 2005 Report Posted April 26, 2005 Скомпилировал QT/Embedded 2.3.7 для арма присборке программы с динамическими библиотеками программа собирается но при запуске на арме Segmentation fault а при статической сборке : Цитата: /usr/local/arm/2.95.3/bin/arm-linux-gcc -static -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fexceptions -fno-check-new -o /usr/src/qt/examples/aclock/output/aclock /usr/src/qt/examples/aclock/output/objs/main.o /usr/src/qt/examples/aclock/output/objs/aclock.o -L/root/arm/arm_root/usr/X11R6/lib/ -L/root/arm/arm_root/usr/lib/ -L/usr/local/arm/arm/lib/ -L../../lib/ -lqte -lXext -lX11 -lpthread -lm /usr/src/qt/examples/aclock/output/objs/aclock.o: In function `AnalogClock::AnalogClock(QWidget *, char const *)': /usr/src/qt/examples/aclock/output/objs/aclock.o(.text+0x25c ): undefined reference to `AnalogClock::QPaintDevice virtual table' /usr/src/qt/examples/aclock/output/objs/aclock.o(.text+0x260 ): undefined reference to `AnalogClock virtual table' /usr/src/qt/examples/aclock/output/objs/aclock.o: In function `QArray<QPoint> type_info function': /usr/src/qt/examples/aclock/output/objs/aclock.o(.text+0x894 ): undefined reference to `QGArray type_info function' /usr/src/qt/examples/aclock/output/objs/aclock.o(.text+0x8b8 ): undefined reference to `QGArray type_info node' /usr/src/qt/examples/aclock/output/objs/aclock.o: In function `QPointArray type_info function': /usr/src/qt/examples/aclock/output/objs/aclock.o(.text+0x8e8 ): undefined reference to `QGArray type_info function' /usr/src/qt/examples/aclock/output/objs/aclock.o(.text+0x920 ): undefined reference to `QGArray type_info node' /usr/src/qt/examples/aclock/output/objs/aclock.o: In function `QBitmap type_info function': /usr/src/qt/examples/aclock/output/objs/aclock.o(.text+0x9a4 ): undefined reference to `QPixmap type_info function' /usr/src/qt/examples/aclock/output/objs/aclock.o(.rodata+0x2 4): undefined reference to `QPaintDevice::setX11Data(QPaintDeviceX11Data const *)' /usr/src/qt/examples/aclock/output/objs/aclock.o(.rodata+0xa 8): undefined reference to `QPixmap type_info node' ../../lib//libqte.a(qpainter_qws.o): In function `QPainter::drawEllipse(int, int, int, int)': /usr/src/qt-2.3.7/src/kernel/qpainter_qws.cpp:1105: undefined reference to `QPointArray::makeArc(int, int, int, int, int, int, QWMatrix const &)' ../../lib//libqte.a(qpainter_qws.o): In function `QPainter::drawArc(int, int, int, int, int, int)': /usr/src/qt-2.3.7/src/kernel/qpainter_qws.cpp:1134: undefined reference to `QPointArray::makeArc(int, int, int, int, int, int, QWMatrix const &)' я конечно понимаю что это означает невозможность линковщиком найти функции... но куда они делись?? я сделал FULL конфигурацию qte PS и еще вопрос, какие есть еще библиотеки классов для Embedded ( FLTK пробовал) и не попадалось ли кому графического виджетика типа Borland TChart Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.