[fpc-pascal]RE: SQLite Header File

Jeff Pohlmeyer yetanothergeek at yahoo.com
Wed Mar 3 13:05:51 CET 2004


> > Inconsistency detected by ld.so: dl-minimal.c: 134: 
> > realloc: Assertion `ptr == alloc_last_block' failed!)

> The error you get is because you probably forgot to put 'cmem' 
> as the first unit in your program's uses clause.


I'm not sure about SQLite, but i have seen this problem
using some other libs. Sometimes just putting:

  {$LINKLIB "c" }  

 - in the program file stops the error.

I assume this lets the lib use the C routines, and 
the FreePascal side can still use its own.



__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com




More information about the fpc-pascal mailing list