Dave Page wrote:
>Hi Hiroshi,
>
>Continuing my earlier testing, I've moved onto Linux. My test machine
>has UnixODBC 2.2.11 rather than iODBC installed - unfortunately I get a
>compile failure:
>
>if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
>-I/usr/local/pgsql/include -g -O2 -MT convert.lo -MD -MP -MF
>".deps/convert.Tpo" -c -o convert.lo convert.c; \
>then mv -f ".deps/convert.Tpo" ".deps/convert.Plo"; else rm -f
>".deps/convert.Tpo"; exit 1; fi
>gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/pgsql/include -g -O2 -MT
>convert.lo -MD -MP -MF .deps/convert.Tpo -c convert.c -fPIC -DPIC -o
>convert.lo
>convert.c: In function `copy_and_convert_field':
>convert.c:1239: error: incompatible types in assignment
>convert.c:1241: error: incompatible types in assignment
>convert.c:1247: error: incompatible types in assignment
>convert.c:1249: error: incompatible types in assignment
>make[1]: *** [convert.lo] Error 1
>make[1]: Leaving directory `/home/dpage/psqlodbc'
>make: *** [all] Error 2
>
>
How is it defined in config.h, SIZEOF_LONG or HAVE_STRTOLL ?
regards,
Hiroshi Inoue