cutecash linker error

Herbert Thoma herbert.thoma at iis.fraunhofer.de
Sun Mar 28 08:15:33 EDT 2010


Christian Stimming wrote:
> 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 :-)

Yes, you're right. I probably was still a bit asleep due to the
switch to DST ;-)

Thanks for the quick fix.

 Herbert.

> I'll commit a fix later today.
> 
> Regards,
> 
> Christian
> 
> 

-- 
Herbert Thoma
Dipl.-Ing., MBA
Head of Video Group
Multimedia Realtime Systems Department
Fraunhofer IIS
Am Wolfsmantel 33, 91058 Erlangen, Germany
Phone: +49-9131-776-6130
Fax:   +49-9131-776-6099
email: tma at iis.fhg.de
www: http://www.iis.fhg.de/


More information about the gnucash-devel mailing list