cutecash linker error
Christian Stimming
stimming at tuhh.de
Sun Mar 28 06:43:35 EDT 2010
Am Sonntag, 28. März 2010 schrieb Herbert Thoma:
> [ 99%] Building CXX object src/gnc/CMakeFiles/cutecash.dir/main.cpp.o
> /home/tma/gnucash/gnucash_cvs/cutecash/src/gnc/main.cpp: In function ‘int
> main(int, char**)’:
> /home/tma/gnucash/gnucash_cvs/cutecash/src/gnc/main.cpp:180: error:
> ‘gnc_module_init_backend_dbi’ was not declared in this scope
> /home/tma/gnucash/gnucash_cvs/cutecash/src/gnc/main.cpp:201: error:
> ‘gnc_module_finalize_backend_dbi’ was not declared in this scope make[2]:
> *** [src/gnc/CMakeFiles/cutecash.dir/main.cpp.o] Fehler 1 make[1]: ***
> [src/gnc/CMakeFiles/cutecash.dir/all] Fehler 2
> make: *** [all] Fehler 2
I forgot to enclose the init_backend_dbi() functions by #ifdef WITH_SQL.
Minor nitpicking: This is a compiler error, not a linker error, though :-)
I'll commit a fix later today.
Regards,
Christian
More information about the gnucash-devel
mailing list