Error while compiling GD

[email protected] ("Santosh Reddy")
Newsgroups perl.beginners
Message-ID <[email protected]>
Hi,

I am using Solaris 10 and i am trying to compile GD. i am getting the
following error. please help me how to resolve this.

bash-3.00$ make
gcc -c  -I/usr/include -I/usr/include/gd  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff
-DVERSION=\"2.39\"  -DXS_VERSION=\"2.39\" -KPIC
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"  -DHAVE_FT -DHAVE_XPM
-DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c
gcc: unrecognized option `-KPIC'
gcc: language ildoff not recognized
gcc: GD.c: linker input file unused because linking not done
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/lib" cc  -G GD.o  -o blib/arch/auto/GD/GD.so
-L/usr/lib/X11 -L/usr/X11/lib -L/usr/lib -lpng -lz -lm -lX11 -lXpm
/usr/ucb/cc:  language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/GD/GD.so'


-- 
Thanks & Regards,
Santosh Reddy.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.