Re: [sqlite] Problems building for VxWorks...

2008-08-20 Thread Alex Katebi
Write the missing functions with using the equivalent VxWorks functions.

example:

int exit(int a)
{
vxworks_exit(a);
}

On Wed, Aug 20, 2008 at 4:16 AM, Kershaw, Anthony (UK) <
[EMAIL PROTECTED]> wrote:

>
> Hi,
> Have been trying to compile (and run) the amalgamated version of sqlite
> 3.6.1 for VxWorks   5.5,
> which is proving quite trouble-some.
>
> I am currently using these switches
> -DSQLITE_OMIT_BUILTIN_TEST
> -DSQLITE_TEMP_STORE=3
> -DSQLITE_HOMEGROWN_RECURSIVE_MUTEX
> -DSQLITE_OMIT_AUTOVACUUM
> -DSQLITE_OMIT_LOAD_EXTENSION
> -DSQLITE_OMIT_LOCALTIME
> -DSQLITE_OMIT_TCL_VARIABLE
> -DNO_GETTOD
>
> Which will allow it to compile, but there are missing symbols, mainly
> because they don't occur in vxworks, the following functions don't
> exist.
> fctrl
> dup
> fsync
> access
> getpid
>
> Any work arounds people could think of would be greatly appreciated. I
> appreciate this heavily hits the locking mechanism code within sqlite...
>
> Regards,
>  Ant
>
>
>
> 
> This email and any attachments are confidential to the intended
> recipient and may also be privileged. If you are not the intended
> recipient please delete it from your system and notify the sender.
> You should not copy it or use it for any purpose nor disclose or
> distribute its contents to any other person.
> 
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Problems building for VxWorks...

2008-08-20 Thread Kershaw, Anthony (UK)

Hi,
Have been trying to compile (and run) the amalgamated version of sqlite
3.6.1 for VxWorks   5.5,
which is proving quite trouble-some. 
 
I am currently using these switches 
-DSQLITE_OMIT_BUILTIN_TEST 
-DSQLITE_TEMP_STORE=3 
-DSQLITE_HOMEGROWN_RECURSIVE_MUTEX 
-DSQLITE_OMIT_AUTOVACUUM 
-DSQLITE_OMIT_LOAD_EXTENSION 
-DSQLITE_OMIT_LOCALTIME 
-DSQLITE_OMIT_TCL_VARIABLE 
-DNO_GETTOD 
 
Which will allow it to compile, but there are missing symbols, mainly
because they don't occur in vxworks, the following functions don't
exist. 
fctrl
dup
fsync
access
getpid 
 
Any work arounds people could think of would be greatly appreciated. I
appreciate this heavily hits the locking mechanism code within sqlite...
 
Regards,
  Ant
 



This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users