4.1.3 from the 2.5 source works great. Can't build the new 4.1.4 version
(gcc or SunStudio 11):
/openpkg/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wall -O2 -pipe
-MT egif_lib.lo -MD -MP -MF .deps/egif_lib.Tpo -c egif_lib.c -o egif_lib.o
/openpkg/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wall -O2 -pipe
-MT gif_hash.lo -MD -MP -MF .deps/gif_hash.Tpo -c gif_hash.c -o gif_hash.o
In file included from gif_lib_private.h:5,
from egif_lib.c:56:
gif_hash.h:44: error: expected specifier-qualifier-list before 'u_int32_t'
gif_hash.h:49: error: expected declaration specifiers or '...' before
'u_int32_t'
gif_hash.h:50: error: expected declaration specifiers or '...' before
'u_int32_t'
In file included from gif_hash.c:46:
gif_hash.h:44: error: expected specifier-qualifier-list before 'u_int32_t'
gif_hash.h:49: error: expected declaration specifiers or '...' before
'u_int32_t'
gif_hash.h:50: error: expected declaration specifiers or '...' before
'u_int32_t'
gif_hash.c:56: error: expected ')' before 'Item'
gif_hash.c: In function '_InitHashTable':
gif_hash.c:65: warning: implicit declaration of function 'malloc'
gif_hash.c:65: warning: incompatible implicit declaration of built-in
function 'malloc'
gif_hash.c: In function '_ClearHashTable':
gif_hash.c:80: error: 'GifHashTableType' has no member named 'HTable'
gif_hash.c:80: error: 'u_int32_t' undeclared (first use in this function)
gif_hash.c:80: error: (Each undeclared identifier is reported only once
gif_hash.c:80: error: for each function it appears in.)
gif_hash.c: At top level:
gif_hash.c:87: error: expected declaration specifiers or '...' before
'u_int32_t'
gif_hash.c: In function '_InsertHashTable':
gif_hash.c:89: warning: implicit declaration of function 'KeyItem'
gif_hash.c:89: error: 'Key' undeclared (first use in this function)
gif_hash.c:90: error: 'u_int32_t' undeclared (first use in this function)
gif_hash.c:90: error: 'HTable' undeclared (first use in this function)
gif_hash.c:90: error: 'GifHashTableType' has no member named 'HTable'
gif_hash.c: At top level:
gif_hash.c:110: error: expected declaration specifiers or '...' before
'u_int32_t'
gif_hash.c: In function '_ExistsHashTable':
gif_hash.c:112: error: 'Key' undeclared (first use in this function)
gif_hash.c:113: error: 'u_int32_t' undeclared (first use in this function)
gif_hash.c:113: error: 'HTable' undeclared (first use in this function)
gif_hash.c:113: error: 'GifHashTableType' has no member named 'HTable'
gif_hash.c:113: error: 'HTKey' undeclared (first use in this function)
gif_hash.c:113: warning: left-hand operand of comma expression has no effect
gif_hash.c:113: warning: statement with no effect
gif_hash.c: At top level:
gif_hash.c:138: error: expected ')' before 'Item'
egif_lib.c: In function 'EGifCompressLine':
egif_lib.c:855: error: 'u_int32_t' undeclared (first use in this function)
egif_lib.c:855: error: (Each undeclared identifier is reported only once
egif_lib.c:855: error: for each function it appears in.)
egif_lib.c:855: error: expected ')' before 'CrntCode'
egif_lib.c:856: error: too many arguments to function '_ExistsHashTable'
egif_lib.c:887: error: too many arguments to function '_InsertHashTable'
make[2]: *** [gif_hash.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
/openpkg/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wall -O2 -pipe
-MT dgif_lib.lo -MD -MP -MF .deps/dgif_lib.Tpo -c dgif_lib.c -o dgif_lib.o
make[2]: *** [egif_lib.lo] Error 1
/openpkg/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wall -O2 -pipe
-MT gif_font.lo -MD -MP -MF .deps/gif_font.Tpo -c gif_font.c -o gif_font.o
In file included from gif_lib_private.h:5,
from dgif_lib.c:40:
gif_hash.h:44: error: expected specifier-qualifier-list before 'u_int32_t'
gif_hash.h:49: error: expected declaration specifiers or '...' before
'u_int32_t'
gif_hash.h:50: error: expected declaration specifiers or '...' before
'u_int32_t'
dgif_lib.c: In function 'DGifOpenFileHandle':
dgif_lib.c:143: warning: pointer targets in passing argument 2 of
'strncmp' differ in signedness
dgif_lib.c: In function 'DGifOpen':
dgif_lib.c:210: warning: pointer targets in passing argument 2 of
'strncmp' differ in signedness
make[2]: *** [dgif_lib.lo] Error 1
/openpkg/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wall -O2 -pipe
-MT qprintf.lo -MD -MP -MF .deps/qprintf.Tpo -c qprintf.c -o qprintf.o
/openpkg/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -pipe -Wall -O2 -pipe
-MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c quantize.c -o quantize.o
In file included from gif_lib_private.h:5,
from quantize.c:28:
gif_hash.h:44: error: expected specifier-qualifier-list before 'u_int32_t'
gif_hash.h:49: error: expected declaration specifiers or '...' before
'u_int32_t'
gif_hash.h:50: error: expected declaration specifiers or '...' before
'u_int32_t'
Doug
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List openpkg-users@openpkg.org