PDA

View Full Version : MacOS and ibase compilation problem



giandrea77
20th January 2009, 14:04
Hi to All!

I've a problem compiling the ibase plugin under MacOs 10.4 os. I've followed the instruction in

http://doc.trolltech.com/4.3/sql-driver.html

and I've replaced any occurence of -lgds by -lfbclient in .pro files (http://ubuntuforums.org/showthread.php?t=669005)

First, I've run this command

qmake -o Makefile "INCLUDEPATH+=/Library/Frameworks/Firebird.framework/Versions/Current/Headers" "LIBS+=-L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries -lfbclient" ibase.pro

after with the make command, I can see this output:

make -f Makefile.Debug all
rm -f libqsqlibase_debug.dylib
g++ -headerpad_max_install_names -arch ppc -arch i386 -single_module -dynamiclib -o libqsqlibase_debug.dylib .obj/debug-shared/main.o .obj/debug-shared/qsql_ibase.o .obj/debug-shared/moc_qsql_ibase.o -F/Users/andrea/Documents/Works/qt-mac-opensource-src-4.4.3/lib -L/Users/andrea/Documents/Works/qt-mac-opensource-src-4.4.3/lib -L/Library/Frameworks/Firebird.framework/Versions/Current/Libraries -lfbclild: Undefined symbols:
_isc_array_get_slice
_isc_array_lookup_bounds
_isc_array_put_slice
_isc_attach_database
_isc_cancel_events
_isc_close_blob
_isc_commit_transaction
_isc_create_blob2
_isc_detach_database
_isc_dsql_allocate_statement
_isc_dsql_describe
_isc_dsql_describe_bind
_isc_dsql_execute
_isc_dsql_execute2
_isc_dsql_fetch
_isc_dsql_free_statement
_isc_dsql_prepare
_isc_dsql_sql_info
_isc_event_block
_isc_event_counts
_isc_get_segment
_isc_open_blob2
_isc_put_segment
_isc_que_events
_isc_rollback_transaction
_isc_sql_interprete
_isc_sqlcode
_isc_start_transaction
_isc_vax_integer
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
lipo: can't figure out the architecture type of: /var/tmp//ccLlxuQ2.out
make[1]: *** [../../../../plugins/sqldrivers/libqsqlibase_debug.dylib] Error 1
make: *** [debug-all] Error 2

How can I compile this plugin? Or, where can I download the plugin?

Thanks!!!!!

Andrea