다음 명령어로 실행했구요....
psqlodbc 버전은 psqlodbc-09.03.0400 을 사용했습니다.
==============================================
export CC=xlc
export CXX=xlC_r
export OBJECT_MODE=64
export CFLAGS="-q64"
export LDFLAGS="-q64"
./configure --prefix=/home/mtesrc/psql_odbc/build/psqlodbc --with-unixodbc=/home/mtesrc/psql_odbc/build/unixodbc/bin/odbc_config --without-libpq
make
make install
==============================================
이렇게 하니... configure 까지는 성공했는데...
make에서 다음 에러가 나네요....
=================================================================================
make all-am
source='parse.c' object='parse.lo' libtool=yes DEPDIR=.deps depmode=aix /bin/sh ./config/depcomp /bin/sh ./libtool --tag=CC --mode=compile xlc -DHAVE_CONFIG_H -I. -I/home/mtesrc/psql_odbc/build/unixodbc/include -q64 -c -o parse.lo parse.c
libtool: compile: xlc -DHAVE_CONFIG_H -I. -I/home/mtesrc/psql_odbc/build/unixodbc/include -q64 -c -M parse.c -o parse.o
"parse.c", line 1295.43: 1506-226 (S) The ":" operator is not allowed between "char*" and "int".
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
===============================================================================
{psqlodbc}/parse.c 1295 라인입니다.
===============================================================================
#define return DONT_CALL_RETURN_FROM_HERE???
delim = '\0';
token[0] = '\0';
while (pptr = ptr, (delim != ',') ? strcpy(btoken, token) : (btoken[0] = '\0', NULL), (ptr = getNextToken(conn->ccsc, CC_get_escape(conn), pptr, token, sizeof(token), &d
elim, "e, &dquote, &numeric)) != NULL)
{
================================================================================
당혹 스럽네요.... 최신버전 이랑 5년전까지 돌아가서 옜날 버전 돌려봤는데...
에러 동일하구요...
리눅스 쪽은 한방에 빌드 됐는데.. 유독 aix 에서만 그러네요..
도와주세요 ㅠㅠ
|