[Qt-interest] Trouble compile QIBASE plugin on Windows
Marcelo Estanislau Geyer
estanisgeyer at hotmail.com
Mon Aug 17 19:07:11 CEST 2009
Hi friends,
I'm trying compile the QIBASE driver (Firebird 2.1.2) on Windows XP, QT 4.5.2, but I am facing some problems, see:
C:\Qt\4.5.2\src\plugins\sqldrivers\ibase>qmake "INCLUDEPATH+=C:\Firebird\include" "LIBS+=-LC:\Firebird\lib -lfbclient_ms" ibase.pro
C:\Qt\4.5.2\src\plugins\sqldrivers\ibase>make
mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/Qt/4.5.2/src/plugins/sqldrivers/ibase'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -
DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\i
nclude\QtSql" -I"..\..\..\..\include" -I"c:\Firebird\include" -I"..\..\..\..\inc
lude\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\..\mkspecs\win32-g++" -o tmp
\obj\debug_shared\main.o main.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -
DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\i
nclude\QtSql" -I"..\..\..\..\include" -I"c:\Firebird\include" -I"..\..\..\..\inc
lude\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\..\mkspecs\win32-g++" -o tmp
\obj\debug_shared\qsql_ibase.o ..\..\..\sql\drivers\ibase\qsql_ibase.cpp
C:/Qt/4.5.2/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -
DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_THRE
AD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtSql" -I"..\..
\..\..\include" -I"c:\Firebird\include" -I"..\..\..\..\include\ActiveQt" -I"tmp\
moc\debug_shared" -I"..\..\..\..\mkspecs\win32-g++" -D__GNUC__ -DWIN32 ..\..\..\
sql\drivers\ibase\qsql_ibase.h -o tmp\moc\debug_shared\moc_qsql_ibase.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -
DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\i
nclude\QtSql" -I"..\..\..\..\include" -I"c:\Firebird\include" -I"..\..\..\..\inc
lude\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\..\..\mkspecs\win32-g++" -o tmp
\obj\debug_shared\moc_qsql_ibase.o tmp\moc\debug_shared\moc_qsql_ibase.cpp
windres -i qsqlibased_resource.rc -o tmp\obj\debug_shared\qsqlibased_resource_re
s.o --include-dir=.
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -mthreads -Wl -shared -Wl,--out-implib,c:\Qt\4.5.2\plugins\sqldrivers\libqsql
ibased4.a -o ..\..\..\..\plugins\sqldrivers\qsqlibased4.dll tmp/obj/debug_shared
/main.o tmp/obj/debug_shared/qsql_ibase.o tmp/obj/debug_shared/moc_qsql_ibase.o
-L"c:\Qt\4.5.2\lib" -L"c:\Qt\4.5.2\lib" tmp\obj\debug_shared\qsqlibased_resourc
e_res.o -LC:\Firebird\lib -lfbclient_ms -lQtSqld4 -lQtCored4
Creating library file: c:\Qt\4.5.2\plugins\sqldrivers\libqsqlibased4.a
tmp/obj/debug_shared/qsql_ibase.o(.text+0x1b5): In function `Z13getIBaseErrorR7Q
StringPKiRlP10QTextCodec':
C:/Qt/4.5.2/src/plugins/sqldrivers/ibase/../../../sql/drivers/ibase/qsql_ibase.c
pp:83: undefined reference to `fb_interpret at 12'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [..\..\..\..\plugins\sqldrivers\qsqlibased4.dll] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/4.5.2/src/plugins/sqldrivers/ibase'
mingw32-make: *** [debug-all] Error 2
Thanks for help,
Marcelo E. Geyer
_________________________________________________________________
Emoticons e Winks super diferentes para o Messenger. Baixe agora, é grátis!
http://specials.br.msn.com/ilovemessenger/pacotes.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090817/0b4e2c3f/attachment.html
More information about the Qt-interest-old
mailing list