|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-05 12:51 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 18:00:01 2025 UTC |
Description: ------------ I have version of GD - 2.0.33 when supported gif function. at compile php-4.1.1 result for gif is: checking for gdImageCreateFromGif in -lgd... no checking for gdImageGif in -lgd... no in my libs dir, have new files from gd-2.0.33. Expected result: ---------------- configure:36585: checking for gdImageCreateFromGif in -lgd configure:36604: gcc -o conftest -g -O2 -pthread -D_REENTRANT -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/lo /tmp/ccwfzY82.o: In function `main': /install4/php-4.4.1/configure:36600: undefined reference to `gdImageCreateFromGif' collect2: ld returned 1 exit status configure: failed program was: #line 36593 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageCreateFromGif(); int main() { gdImageCreateFromGif() ; return 0; } configure:36716: checking for gdImageGif in -lgd configure:36735: gcc -o conftest -g -O2 -pthread -D_REENTRANT -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/lo /tmp/ccyi1Qzq.o: In function `main': /install4/php-4.4.1/configure:36731: undefined reference to `gdImageGif' collect2: ld returned 1 exit status configure: failed program was: #line 36724 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageGif(); int main() { gdImageGif() ; return 0; }