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 <[email protected] 
 > 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
>
>
>
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to