Thread: Driver doesn't work without --enable-pthreads
The driver in CVS head doesn't work unless --enable-pthreads is given. The macro INIT_CONNLOCK isn't defined but is still referenced in the code so you get an undefined symbol error. -- Peter Eisentraut http://developer.postgresql.org/~petere/
Peter Eisentraut wrote: > The driver in CVS head doesn't work unless --enable-pthreads is given. > The macro INIT_CONNLOCK isn't defined but is still referenced in the > code so you get an undefined symbol error. Don't you #define HAVE_ECO_THREAD_LOCKS ? If so I've just fixed the bug(typo). regrads, Hiroshi Inoue
Hiroshi Inoue wrote: > Peter Eisentraut wrote: > > The driver in CVS head doesn't work unless --enable-pthreads is > > given. The macro INIT_CONNLOCK isn't defined but is still > > referenced in the code so you get an undefined symbol error. > > Don't you #define HAVE_ECO_THREAD_LOCKS ? > If so I've just fixed the bug(typo). Now it's missing CONNLOCK_ACQUIRE. -- Peter Eisentraut http://developer.postgresql.org/~petere/
Peter Eisentraut wrote: > Hiroshi Inoue wrote: > >> Peter Eisentraut wrote: >> >>> The driver in CVS head doesn't work unless --enable-pthreads is >>> given. The macro INIT_CONNLOCK isn't defined but is still >>> referenced in the code so you get an undefined symbol error. >>> >> Don't you #define HAVE_ECO_THREAD_LOCKS ? >> If so I've just fixed the bug(typo). >> > > Now it's missing CONNLOCK_ACQUIRE. Oops my oversight, sorry. Added CONNLOCK_ACQUIRE and CONNLOCK_RELEASE. Thanks. regards, Hiroshi Inoue