IBM AIX 5.3 64bit에 (오픈소스)를 컴파일 중 에러 ...

kisspa의 이미지

서버 : IBM AIX 5.3 64bit
설치 파일 : swftools.org 의 swftools-0.9.0

1. ./configure에서 관련 lib등이 없어서 rpm으로 다 설치 완료.
2. ./gmake 실행 후 아래 에러 발생

making all in m4...
cd m4;gmake all
gmake[1]: Entering directory `/app/jeus5/swftools-0.9.0/m4'
gmake[1]: Leaving directory `/app/jeus5/swftools-0.9.0/m4'
making all in lib...
cd lib;gmake all
gmake[1]: Entering directory `/app/jeus5/swftools-0.9.0/lib'
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfaction.c -o modules/swfaction.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfbits.c -o modules/swfbits.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfbutton.c -o modules/swfbutton.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfcgi.c -o modules/swfcgi.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfdraw.c -o modules/swfdraw.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfdump.c -o modules/swfdump.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swffilter.c -o modules/swffilter.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swffont.c -o modules/swffont.o
modules/swffont.c:110: warning: initialization from incompatible pointer type
modules/swffont.c:111: warning: initialization from incompatible pointer type
modules/swffont.c:112: warning: initialization from incompatible pointer type
modules/swffont.c:113: warning: initialization from incompatible pointer type
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfobject.c -o modules/swfobject.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfrender.c -o modules/swfrender.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfshape.c -o modules/swfshape.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swfsound.c -o modules/swfsound.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swftext.c -o modules/swftext.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  modules/swftools.c -o modules/swftools.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  rfxswf.c -o rfxswf.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  drawer.c -o drawer.o
gcc -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  MD5.c -o MD5.o
MD5.c:56: error: conflicting types for 'u_int32_t'
/usr/include/sys/inttypes.h:634: error: previous declaration of 'u_int32_t' was here
MD5.c: In function 'md5_init':
MD5.c:419: warning: implicit declaration of function 'bzero'
MD5.c:419: warning: incompatible implicit declaration of built-in function 'bzero'
MD5.c: In function 'md5_loop':
MD5.c:430: warning: implicit declaration of function 'bcopy'
MD5.c:430: warning: incompatible implicit declaration of built-in function 'bcopy'
MD5.c:441: warning: incompatible implicit declaration of built-in function 'bcopy'
MD5.c: In function 'md5_pad':
MD5.c:454: warning: incompatible implicit declaration of built-in function 'bcopy'
MD5.c:459: warning: incompatible implicit declaration of built-in function 'bcopy'
gmake[1]: *** [MD5.o] Error 1
gmake[1]: Leaving directory `/app/jeus5/swftools-0.9.0/lib'
gmake: *** [all] Error 2

============================
MD5.c에 u_int32_t 가 /usr/include/sys/inttypes.h 에도 선언이 되어 있는데 타입이 다르더라구요.

====MD5.c의 선언====
typedef long unsigned int u_int32_t;

====inttypes.h 의 선언====
typedef unsigned int u_int32_t;

MD5.c의 선언 부분을 주석처리 했더니 다른 *.c에서 또 중복 선언 되었다고 에러가 나는데...

혹시 gmake 중 옵션으로 해결할 수 있는 방법이 없을까요???