|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-10-22 15:44 UTC] sniper@php.net
[2002-11-10 18:24 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 06:00:01 2025 UTC |
Hi I was trying to compile PHP with the GD-library. I installed gd 2.0.2 and jpeg-6b. I configured php with ./configure --with-mysql --with-apxs --with-imap-ssl --with-jpeg-dir=/usr/local/lib --with-gd --with-zlib and during the compile I got the following error In file included from gd.c:36: php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows non-static gd.c:92: conflicting types for `gdIOCtx' /usr/include/gd_io.h:18: previous declaration of `gdIOCtx' I commented out line 92 in ext/gd/gd.c: "typedef FILE gdIOCtx;" Tried to compile again and got a similiar error. Removed line 69 in ext/gd/php_gd.h: "static int gdImageColorResolve(gdImagePtr, int, int, int);" Succeded in compiling PHP. But did I miss something very important??? Well... anyway... when I tried to start Apache, I got the following error: Syntax error on line 9 of /etc/httpd/suse_loadmodule.conf: Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/libgd.so: undefined symbol: FT_Init_FreeType failed What do I do? Please mail me at mail@mettle.dk ps.: I rune Apache v. 1.3.23 Best Regards J?rn Christensen Denmark