Re: [sqlite] pthreadMutex

2009-12-09 Thread Luiz Gustavo P Tonello
Thanks Thomas, My problem was when I compile the code with gcc I used like this: # gcc sqlite3.c code.c -o test -lpthread -ldl Work fine! Thanks again. Gustavo Tonello On Dec 9, 2009, at 8:52 PM, Thomas Mittelstaedt wrote: > Luiz, > > You may try to compile with -pthread in the compile flag

Re: [sqlite] pthreadMutex

2009-12-09 Thread Luiz Gustavo P Tonello
Gustavo Tonello On Dec 9, 2009, at 8:52 PM, Thomas Mittelstaedt wrote: > Luiz, > > You may try to compile with -pthread in the compile flags. > > Am Mittwoch, den 09.12.2009, 00:12 -0200 schrieb Luiz Gustavo P > Tonello: >> undefined reference to `pthread_mutexattr_init' > > -- > thomas > >

Re: [sqlite] pthreadMutex

2009-12-09 Thread Thomas Mittelstaedt
Luiz, You may try to compile with -pthread in the compile flags. Am Mittwoch, den 09.12.2009, 00:12 -0200 schrieb Luiz Gustavo P Tonello: > undefined reference to `pthread_mutexattr_init' -- thomas ___ sqlite-users mailing list sqlite-users@sqlite.

[sqlite] pthreadMutex

2009-12-08 Thread Luiz Gustavo P Tonello
Hello guy's! I'm a newbie in SQLite, and I need to compile an code C with SQlite. Well, when I try compile my code, SQLite return this error: /tmp/ccJJZKFA.o: In function `pthreadMutexAlloc': sqlite3.c:(.text+0x2f9c): undefined reference to `pthread_mutexattr_init' sqlite3.c:(.text+0x2faf): und