Re: link sqlite against dietlibc
Gernot Tenchio <[email protected]> Tue, 24 Aug 2010 19:13:34 +0200
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Organization | privat |
| Message-ID | <[email protected]> |
On Tue, 24 Aug 2010 17:51:56 +0200 Michael Graßl <[email protected]> wrote: > Hello > > > I tried to link sqlite against the dietlibc-dev (debia sid 0.32) ond my > amd64 but i got some errors. > > Any ideas how to fix them which value should PTHREAD_MUTEX_RECURSIVE Try this: /opt/diet/bin/diet -v gcc -Werror -DPTHREAD_MUTEX_RECURSIVE=PTHREAD_MUTEX_RECURSIVE_NP -ggdb3 -c sqlite3.c > have and whats wrong with unixDlError ? dlerror() is declared as "const char *dlerror(void);" in dietlibc which is wrong. It should be "char *dlerror(void);". > Best regards, > Mike Gernot