Dave Page wrote:
>
>On 20/2/06 17:48, "Hiroshi Saito" <saito@inetrt.skcapi.co.jp> wrote:
>
>
>
>>>-DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG
>>>-DSIZEOF_LONG=4
>>>
>>>Reconsideration ...
>>>
>>>
>>HAVE_LONG_LONG and SIZEOF_LONG adds to config.h.in
>>I checked on developer.pgadmin.org. It was a very good condition.:-)
>>
>>Please check it Dave.
>>
>>
>
>Yup - looks good, thanks.
>
>But, the non-pthreads build fails :-(
>
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/pgsql/include -g -O2 -MT
>psqlodbc.lo -MD -MP -MF .deps/psqlodbc.Tpo -c psqlodbc.c -fPIC -DPIC -o
>psqlodbc.lo
>psqlodbc.c: In function `initialize_global_cs':
>psqlodbc.c:73: error: `INIT_COMMON_CS' undeclared (first use in this
>function)
>psqlodbc.c:73: error: (Each undeclared identifier is reported only once
>psqlodbc.c:73: error: for each function it appears in.)
>psqlodbc.c: In function `finalize_global_cs':
>psqlodbc.c:80: error: `DELETE_COMMON_CS' undeclared (first use in this
>function)
>make[1]: *** [psqlodbc.lo] Error 1
>make[1]: Leaving directory `/home/dpage/psqlodbc'
>make: *** [all] Error 2
>
>
Fixed at least the above problem.
regards,
Hiroshi Inoue