gd.c compile error( again)
| From: | Terrelle Shaw | Date: | Tue, 30 Nov 1999 02:41:35 +0000 |
| Subject: | gd.c compile error( again) | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7082@lists.php.net to get a copy of this message | ||
Hello all.. downloading the latest php4.0b3 tarball, i get a gd.c error when
building apache..
I'm sure we have seen this before.. just can't find the patch to apply..
thanks..
----
gcc -DLINUX=2 -I/home/hshaw/tars/php-4.0b3 -I/home/hshaw/tars/php-4.0b3/lib
zend -I/home/hshaw/tars/php-4.0b3/libzend -I/home/hshaw/tars/php-4.0b3 -DUSE
_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/libregex.a
lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/lib -Lmodules/php4 -L../mod
ules/php4 -L../../modules/php4 -lmodphp4 -ldl -lgd -lm -lresolv -lnsl -lc
rypt -lgdbm -L/usr/local/lib -lttf -lpam -lm -lcrypt
modules/php4/libphp4.a(gd.o): In function `php3_imagecreatefromgif':
/home/hshaw/tars/php-4.0b3/ext/gd/gd.c:516: undefined reference to
`gdImageCreateFromGif'
modules/php4/libphp4.a(gd.o): In function `php3_imagegif':
/home/hshaw/tars/php-4.0b3/ext/gd/gd.c:568: undefined reference to
`gdImageGif'
/home/hshaw/tars/php-4.0b3/ext/gd/gd.c:588: undefined reference to
`gdImageGif'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/hshaw/tars/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/hshaw/tars/apache_1.3.9'
make: *** [build] Error 2
Terrelle Shaw
HealthCentralRx.com
System Administrator
hshaw@healthcentralrx.com