Hi all! I'm trying to compile the perl GD Module with a perl 64 bits that I've compiled earlier, with GD 64 bits and stuff but somehow it is giving me errors. here's the output
gcc -B/usr/ccs/bin/ -c -I/usr/local/include -Wformat=0 -O -DVERSI +ON=\"2.45\" -DXS_VERSION=\"2.45\" -fPIC "-I/opt/perl-5.12.3/lib/CORE +" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIM +GIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCL +E GD.c Running Mkbootstrap for GD () chmod 644 GD.bs rm -f blib/arch/auto/GD/GD.so LD_RUN_PATH="/usr/lib:/opt/pkg64/freetype/lib:/opt/csw/lib/sparcv9:/us +r/local/lib" gcc -B/usr/ccs/bin/ -G -m64 -mcpu=v9 -m64 -G -L/usr/loc +al/lib -L/usr/sfw/lib/sparcv9 -L/usr/lib/sparcv9 GD.o -o blib/arch/a +uto/GD/GD.so \ -L/opt/pkg64/freetype/lib -L/usr/lib -L/usr/lib/sparcv9 -L/usr/sfw/ +lib/sparcv9 -L/opt/csw/lib/sparcv9 -L/usr/openwin/lib -L/opt/pkg64/jp +eg/lib -L/usr/local/lib -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -l +png12 -lz -lm -liconv -lgd -liconv \ ld: fatal: file GD.o: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to blib/arch/auto +/GD/GD.so collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `blib/arch/auto/GD/GD.so'
What can be going wrong? Thanks in advance!!

In reply to Compiling GD on 64 bit perl 5.12.3 with errors by jrcolons

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.