Hi,
while trying to compile PHP with gd support, i get an error the error :
internal_functions.c:54: phpext_gd_ptr' undeclared here (not in a function)
internal_functions.c:54: initializer element is not constant
internal_functions.c:54: (near initialization forphp_builtin_extensions[8]')
make[2]: [internal_functions.lo] Error 1
make[2]: Quitte le répertoire /usr/local/src/php-4.0.6/main'
make[1]: *** [install-recursive] Error 1
make[1]: Quitte le répertoire/usr/local/src/php-4.0.6/main'
make: [install-recursive] Error 1
My compilation options are :
./configure --libdir=/usr/local --with-apxs --with-mysql --with-xml --enable-zli
b --with-zlib=/usr/local --with-gd=/usr/local --enable-gd-native-tt --with-png-d
ir=/usr/local --with-jpeg-dir=/usr/local --with-swf --with-ttf --enable-magic-qu
otes --enable-ftp --with-gettext --with-freetype-dir=/usr/local
Didn't find where the problem was ! !
Thanks