Hi Luiz Getting this:-
/software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 -uUSE_LOCALIZE -Fu/software/fpc-arm/units/arm-linux/ testfunction.pas Free Pascal Compiler version 2.5.1 [2009/10/23] for arm Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Linux for ARM Compiling testfunction.pas testfunction.pas(25,66) Error: Identifier not found "sqlite3_value_int" testfunction.pas(42,21) Error: Identifier not found "sqlite3_result_int" testfunction.pas(59,23) Error: Identifier not found "sqlite3_result_int" testfunction.pas(62,25) Error: Identifier not found "sqlite3_result_int" testfunction.pas(65,27) Error: Identifier not found "sqlite3_result_int" testfunction.pas(124) Fatal: There were 5 errors compiling module, stopping Fatal: Compilation aborted Any Sqlite version problem? On SQLite version 3.4.2 regards Nataraj On Fri, Nov 6, 2009 at 1:56 AM, Luiz Americo Pereira Camara <luiz...@oi.com.br> wrote: > Nataraj S Narayan escreveu: >> >> Hi >> >> Anybody has written custom UDF for Sqlite 3 using fpc? >> >> If so kindly help me with some hints to get started. >> > > See the attached files. It implements a custom format date function > > Luiz > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal