Fink giflib failed (Sonoma 14.5, Xcode&CLT 15.3)
a_sk--- via Fink-beginners <[email protected]> Sat, 22 Jun 2024 16:39:22 +0900
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
Benjamin Reed(RangerRick) - the maintainer of giflib,
1 $ fink install giflib
251 gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/X11/include -g -O2 -Wall -MT gif_hash.lo -MD -MP -MF .deps/gif_hash.Tpo -c gif_hash.c -fno-common -DPIC -o .libs/gif _hash.o
252 gif_hash.c:71:43: error: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
253 if ((HashTable = (GifHashTableType *) malloc(sizeof(GifHashTableType)))
254 ^
255 gif_hash.c:71:43: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
256 1 error generated.
257 make[2]: *** [gif_hash.lo] Error 1
258 make[1]: *** [all-recursive] Error 1
259 make: *** [all] Error 2
267 Failed: phase compiling: giflib-shlibs-4.1.6-107 failed
. . . . .
with a carbon copy to the maintainer:
Benjamin Reed <[email protected]>
Note that this is preferable to emailing just the maintainer directly,
. . . . .
## Distribution version: selfupdate-git Sat Jun 22 15:09:24 2024, 14.0, x86_64
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners