r20082 - gnucash/trunk/src - Disable building the plugins directory until windows build issues can be fixed
Derek Atkins
derek at ihtfp.com
Thu Jan 13 18:04:45 EST 2011
On Thu, January 13, 2011 5:43 pm, Phil Longstaff wrote:
[snip]
>> What link errors do you get?
> .libs/gnc-plugin-bi_import.o: In function
> `gnc_plugin_bi_import_get_type':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gnc-plugin-bi_import.c:66:
> undefined reference to `gnc_plugin_get_type'
> .libs/gnc-plugin-bi_import.o: In function `gnc_plugin_bi_import_new':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gnc-plugin-bi_import.c:71:
> undefined reference to `gnc_plugin_get_type'
> .libs/gnc-plugin-bi_import.o: In function
> `gnc_plugin_bi_import_class_init':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gnc-plugin-bi_import.c:78:
> undefined reference to `gnc_plugin_get_type'
> .libs/gncmod-bi_import.o: In function
> `libgncmod_bi_import_gnc_module_init':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gncmod-bi_import.c:85:
> undefined reference to `gnc_plugin_manager_get'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gncmod-bi_import.c:85:
> undefined reference to `gnc_plugin_manager_add_plugin'
> .libs/gui.o: In function `gnc_plugin_bi_import_showGUI':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:94:
> undefined reference to `gnc_find_gui_components'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:106:
> undefined reference to `gnc_glade_xml_new'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:111:
> undefined reference to `gnc_get_current_book'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:151:
> undefined reference to `gnc_register_gui_component'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:157:
> undefined reference to `gnc_glade_autoconnect_full_func'
> .libs/gui.o: In function `gnc_plugin_bi_import_getFilename':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:179:
> undefined reference to `gnc_file_dialog'
> .libs/gui.o: In function `gnc_bi_import_gui_ok_cb':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:202:
> undefined reference to `gnc_info_dialog'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:205:
> undefined reference to `gnc_info_dialog'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:211:
> undefined reference to `gnc_close_gui_component'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:214:
> undefined reference to `gnc_error_dialog'
> .libs/gui.o: In function `gnc_bi_import_gui_cancel_cb':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:226:
> undefined reference to `gnc_close_gui_component'
> .libs/gui.o: In function `gnc_bi_import_gui_help_cb':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:232:
> undefined reference to `gnc_gnome_help'
> .libs/gui.o: In function `gnc_bi_import_gui_destroy_cb':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:250:
> undefined reference to `gnc_suspend_gui_refresh'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:251:
> undefined reference to `gnc_unregister_gui_component'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/gui.c:252:
> undefined reference to `gnc_resume_gui_refresh'
> .libs/bi_import.o: In function `gnc_bi_import_fix_bis':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:410:
> undefined reference to `gnc_get_current_book'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:410:
> undefined reference to `gnc_search_vendor_on_id'
> .libs/bi_import.o: In function `gnc_bi_import_create_bis':
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:539:
> undefined reference to `gnc_search_bill_on_id'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:541:
> undefined reference to `gnc_search_invoice_on_id'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:546:
> undefined reference to `gncInvoiceCreate'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:547:
> undefined reference to `gncInvoiceSetID'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:548:
> undefined reference to `gncOwnerCreate'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:550:
> undefined reference to `gnc_search_vendor_on_id'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:550:
> undefined reference to `gncOwnerInitVendor'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:553:
> undefined reference to `gnc_search_customer_on_id'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:553:
> undefined reference to `gncOwnerInitCustomer'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:555:
> undefined reference to `gncInvoiceSetOwner'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:556:
> undefined reference to `gncOwnerGetCurrency'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:556:
> undefined reference to `gncInvoiceSetCurrency'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:560:
> undefined reference to `gncInvoiceSetDateOpened'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:568:
> undefined reference to `gncInvoiceSetDateOpened'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:570:
> undefined reference to `gncInvoiceSetBillingID'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:571:
> undefined reference to `gncInvoiceSetNotes'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:572:
> undefined reference to `gncInvoiceSetActive'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:583:
> undefined reference to `gncInvoiceIsPosted'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:615:
> undefined reference to `gncEntryCreate'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:617:
> undefined reference to `gncEntrySetDate'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:619:
> undefined reference to `gncEntrySetDateEntered'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:620:
> undefined reference to `gncEntrySetDescription'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:621:
> undefined reference to `gncEntrySetAction'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:624:
> undefined reference to `gnc_exp_parser_parse'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:625:
> undefined reference to `gncEntrySetQuantity'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:626:
> undefined reference to `gnc_get_current_root_account'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:626:
> undefined reference to `gnc_account_lookup_for_register'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:630:
> undefined reference to `gncEntrySetBillAccount'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:632:
> undefined Creating library file: .libs/libgncmod-bi_import.dll.a
> reference to `gnc_exp_parser_parse'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:633:
> undefined reference to `gncEntrySetBillPrice'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:634:
> undefined reference to `gncEntrySetBillTaxable'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:635:
> undefined reference to `gncEntrySetBillTaxIncluded'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:636:
> undefined reference to `gncTaxTableLookupByName'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:636:
> undefined reference to `gncEntrySetBillTaxTable'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:639:
> undefined reference to `gnc_exp_parser_parse'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:640:
> undefined reference to `gncBillAddEntry'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:644:
> undefined reference to `gncEntrySetNotes'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:645:
> undefined reference to `gncEntrySetInvAccount'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:647:
> undefined reference to `gnc_exp_parser_parse'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:648:
> undefined reference to `gncEntrySetInvPrice'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:649:
> undefined reference to `gncEntrySetInvTaxable'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:650:
> undefined reference to `gncEntrySetInvTaxIncluded'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:651:
> undefined reference to `gncTaxTableLookupByName'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:651:
> undefined reference to `gncEntrySetInvTaxTable'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:654:
> undefined reference to `gnc_exp_parser_parse'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:655:
> undefined reference to `gncEntrySetInvDiscount'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:656:
> undefined reference to `gncEntrySetInvDiscountType'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:657:
> undefined reference to `gncEntrySetInvDiscountHow'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:658:
> undefined reference to `gncInvoiceAddEntry'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:678:
> undefined reference to `gnc_get_current_root_account'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:678:
> undefined reference to `gnc_account_lookup_for_register'
> c:/soft/gnucash/build/src/plugins/bi_import/../../../../repos/src/plugins/bi_import/bi_import.c:680:
> undefined reference to `gncInvoicePostToAccount'
> collect2: ld returned 1 exit status
Ahh, this is the "Win32 must link to all APIs and cannot have an open
reference" issue. It's also related to the "Module" vs "Shared Object"
vs. "Shared Library" issue.
I think the answer is that on Windows you will need to link against a
bunch of other .dlls. Looking at the list of APIs it looks like you need
at least the engine, gnome(utils), and app-utils?
Ah windows, how I hate you.. :-/
-derek
More information about the gnucash-devel
mailing list