The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Gd

Discussion in 'General Discussion' started by Mini, Dec 2, 2005.

  1. Mini

    Mini Well-Known Member

    Joined:
    Mar 4, 2005
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    GD won't work even though I tick it in "Apache Update".

    How would I fix this?

    Thanks,
    Mini
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Have you run /scripts/cleangd and watched it closely for errors?
     
  3. Mini

    Mini Well-Known Member

    Joined:
    Mar 4, 2005
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    I am not sure if I'm getting any errors.

    Here is the output of /scripts/cleangd

    Code:
    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    test -z "/usr/bin" || mkdir -p -- "/usr/bin"
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'annotate' '/usr/bin/annotate'
    /usr/bin/install -c .libs/annotate /usr/bin/annotate
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'gdparttopng' '/usr/bin/gdparttopng'
    /usr/bin/install -c .libs/gdparttopng /usr/bin/gdparttopng
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'gdtopng' '/usr/bin/gdtopng'
    /usr/bin/install -c .libs/gdtopng /usr/bin/gdtopng
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'gd2copypal' '/usr/bin/gd2copypal'
    /usr/bin/install -c .libs/gd2copypal /usr/bin/gd2copypal
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'gd2topng' '/usr/bin/gd2topng'
    /usr/bin/install -c .libs/gd2topng /usr/bin/gd2topng
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'pngtogd' '/usr/bin/pngtogd'
    /usr/bin/install -c .libs/pngtogd /usr/bin/pngtogd
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'pngtogd2' '/usr/bin/pngtogd2'
    /usr/bin/install -c .libs/pngtogd2 /usr/bin/pngtogd2
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'webpng' '/usr/bin/webpng'
    /usr/bin/install -c .libs/webpng /usr/bin/webpng
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'gd2togif' '/usr/bin/gd2togif'
    /usr/bin/install -c .libs/gd2togif /usr/bin/gd2togif
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'gdcmpgif' '/usr/bin/gdcmpgif'
    /usr/bin/install -c .libs/gdcmpgif /usr/bin/gdcmpgif
      /bin/sh ./libtool --mode=install /usr/bin/install -c 'giftogd2' '/usr/bin/giftogd2'
    /usr/bin/install -c .libs/giftogd2 /usr/bin/giftogd2
    test -z "/usr/bin" || mkdir -p -- "/usr/bin"
     /usr/bin/install -c 'bdftogd' '/usr/bin/bdftogd'
     /usr/bin/install -c 'config/gdlib-config' '/usr/bin/gdlib-config'
    test -z "/usr/include" || mkdir -p -- "/usr/include"
     /usr/bin/install -c -m 644 'gd.h' '/usr/include/gd.h'
     /usr/bin/install -c -m 644 'gdfx.h' '/usr/include/gdfx.h'
     /usr/bin/install -c -m 644 'gd_io.h' '/usr/include/gd_io.h'
     /usr/bin/install -c -m 644 'gdcache.h' '/usr/include/gdcache.h'
     /usr/bin/install -c -m 644 'gdfontg.h' '/usr/include/gdfontg.h'
     /usr/bin/install -c -m 644 'gdfontl.h' '/usr/include/gdfontl.h'
     /usr/bin/install -c -m 644 'gdfontmb.h' '/usr/include/gdfontmb.h'
     /usr/bin/install -c -m 644 'gdfonts.h' '/usr/include/gdfonts.h'
     /usr/bin/install -c -m 644 'gdfontt.h' '/usr/include/gdfontt.h'
     /usr/bin/install -c -m 644 'entities.h' '/usr/include/entities.h'
    make[2]: Leaving directory `/home/cpgdbuild/gd-2.0.33'
    make[1]: Leaving directory `/home/cpgdbuild/gd-2.0.33'
    Method: Perl Expect
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for cpan.belfry.net (/index.html)
    commit: wrote /usr/lib/perl5/5.8.7/CPAN/Config.pm
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
      Database was generated on Fri, 02 Dec 2005 04:19:07 GMT
    Tree::MultiNode is up to date.
    GD::Graph is up to date.
    perlmod--Install done
    Method: Perl Expect
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for cpan.belfry.net (/index.html)
    commit: wrote /usr/lib/perl5/5.8.7/CPAN/Config.pm
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
      Database was generated on Fri, 02 Dec 2005 04:19:07 GMT
    Running install for module GD
    Running make for L/LD/LDS/GD-2.30.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /home/.cpan/sources/authors/id/L/LD/LDS/GD-2.30.tar.gz ok
    Scanning cache /home/.cpan/build for sizes
    GD-2.30/
    GD-2.30/t/
    GD-2.30/t/test.out.3.jpeg
    GD-2.30/t/GD.t
    GD-2.30/t/tile.jpeg
    GD-2.30/t/test.out.4.jpeg
    GD-2.30/t/test.out.5.jpeg
    GD-2.30/t/test.out.6.jpeg
    GD-2.30/t/test.out.7.jpeg
    GD-2.30/t/test.out.8.jpeg
    GD-2.30/t/test.out.9.jpeg
    GD-2.30/t/test.out.3.png-1
    GD-2.30/t/Polyline.t
    GD-2.30/t/test.out.4.png-1
    GD-2.30/t/test.out.4.png-2
    GD-2.30/t/test.out.10.png-1
    GD-2.30/t/test.out.10.png-2
    GD-2.30/t/test.out.10.png-3
    GD-2.30/t/test.out.1.png
    GD-2.30/t/test.out.2.gif
    GD-2.30/t/test.out.2.png
    GD-2.30/t/test.out.3.gif
    GD-2.30/t/test.out.3.png
    GD-2.30/t/test.out.4.gif
    GD-2.30/t/test.out.4.png
    GD-2.30/t/test.out.5.gif
    GD-2.30/t/test.out.5.png
    GD-2.30/t/test.out.6.gif
    GD-2.30/t/test.out.6.png
    GD-2.30/t/test.out.7.gif
    GD-2.30/t/test.out.7.png
    GD-2.30/t/test.out.8.gif
    GD-2.30/t/test.out.8.png
    GD-2.30/t/test.out.9.gif
    GD-2.30/t/test.out.9.png
    GD-2.30/t/test.out.5.png-1
    GD-2.30/t/Generic.ttf
    GD-2.30/t/test.out.6.png-1
    GD-2.30/t/test.out.7.png-1
    GD-2.30/t/frog.jpg
    GD-2.30/t/frog.xpm
    GD-2.30/t/test.out.10.jpeg
    GD-2.30/t/test.out.8.png-1
    GD-2.30/t/test.out.8.png-2
    GD-2.30/t/test.out.8.png-3
    GD-2.30/t/test.out.8.png-4
    GD-2.30/t/test.out.8.png-5
    GD-2.30/t/test.out.8.png-6
    GD-2.30/t/tile.gif
    GD-2.30/t/tile.png
    GD-2.30/t/test.out.2.png-1
    GD-2.30/t/test.out.9.png-1
    GD-2.30/t/test.out.9.png-2
    GD-2.30/t/palettemap.png
    GD-2.30/t/test.out.10.gif
    GD-2.30/t/test.out.10.png
    GD-2.30/t/test.out.2.jpeg
    GD-2.30/GD/
    GD-2.30/GD/Polygon.pm
    GD-2.30/GD/Simple.pm
    GD-2.30/GD/Image.pm.PLS
    GD-2.30/GD/Polyline.pm
    GD-2.30/GD.pm
    GD-2.30/GD.xs
    GD-2.30/demos/
    GD-2.30/demos/brushes.pl
    GD-2.30/demos/font_list.png
    GD-2.30/demos/fonttest
    GD-2.30/demos/polys.pl
    GD-2.30/demos/fills.pl
    GD-2.30/demos/truetype_test
    GD-2.30/demos/shapes.pl
    GD-2.30/demos/copies.pl
    GD-2.30/demos/ttf.pl
    GD-2.30/demos/gd_example.cgi
    GD-2.30/demos/tile.png
    GD-2.30/demos/polyline.pl
    GD-2.30/demos/transform.pl
    GD-2.30/qd.pl
    GD-2.30/README
    GD-2.30/Makefile.PL
    GD-2.30/README.QUICKDRAW
    GD-2.30/META.yml
    GD-2.30/typemap
    GD-2.30/bdf_scripts/
    GD-2.30/bdf_scripts/README
    GD-2.30/bdf_scripts/bdf2gdfont.PLS
    GD-2.30/bdf_scripts/bdftogd
    GD-2.30/bdf_scripts/bdf2gdfont.pl
    GD-2.30/README.unix
    GD-2.30/ChangeLog
    GD-2.30/MANIFEST
    Removing previously used /home/.cpan/build/GD-2.30
    
      CPAN.pm: Going to build L/LD/LDS/GD-2.30.tar.gz
    
    NOTICE: This module requires libgd 2.0.28 or higher.
            it will NOT work with earlier versions. If you are getting
            compile or link errors, then please get and install a new
            version of libgd from www.boutell.com. Do NOT ask Lincoln
            for help until you try this.
    
            If you are using Math::Trig 1.01 or lower, it has a bug that
            causes a "prerequisite not found" warning to be issued.  You may
            safely ignore this warning.
    
            Type perl Makefile.PL -h for command-line option summary
    
    Configuring for libgd version 2.0.33.
    Included Features:          GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
    GD library used from:       /usr
    
    If you experience compile problems, please check the @INC, @LIBPATH and @LIBS
    arrays defined in Makefile.PL and manually adjust, if necessary.
    
    Checking if your kit is complete...
    Looks good
    Writing Makefile for GD
    /usr/bin/perl "-Iblib/arch" "-Iblib/lib" GD/Image.pm.PLS GD/Image.pm
    Extracting Image.pm (with variable substitutions)
    cp GD/Polyline.pm blib/lib/GD/Polyline.pm
    cp qd.pl blib/lib/qd.pl
    cp GD/Image.pm blib/lib/GD/Image.pm
    cp GD.pm blib/lib/GD.pm
    AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
    cp GD/Simple.pm blib/lib/GD/Simple.pm
    cp GD/Polygon.pm blib/lib/GD/Polygon.pm
    /usr/bin/perl /usr/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc && mv GD.xsc GD.c
    cc -c  -I/usr/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -fpic "-I/usr/lib/perl5/5.8.7/i686-linux/CORE"  -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
    Running Mkbootstrap for GD ()
    chmod 644 GD.bs
    rm -f blib/arch/auto/GD/GD.so
    LD_RUN_PATH="/usr/X11R6/lib:/usr/lib" cc  -shared -L/usr/local/lib GD.o  -o blib/arch/auto/GD/GD.so   -L/usr/lib -L/usr/X11R6/lib -L/usr/lib -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm -lgd
    chmod 755 blib/arch/auto/GD/GD.so
    cp GD.bs blib/arch/auto/GD/GD.bs
    chmod 644 blib/arch/auto/GD/GD.bs
    cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
    /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/bdf2gdfont.pl
    Manifying blib/man1/bdf2gdfont.pl.1
    Manifying blib/man3/GD::Polyline.3
    Manifying blib/man3/GD::Image.3
    Manifying blib/man3/GD::Simple.3
    Manifying blib/man3/GD.3
    Manifying blib/man3/GD::Polygon.3
      /usr/bin/make  -- OK
    Running make install
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/GD/GD.bs
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/GD/GD.so
    Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/GD.pm
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/GD/autosplit.ix
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/GD/Polygon.pm
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/GD/Image.pm
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/GD/Polyline.pm
    Installing /usr/lib/perl5/site_perl/5.8.7/i686-linux/GD/Simple.pm
    Writing /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/GD/.packlist
    Appending installation info to /usr/lib/perl5/5.8.7/i686-linux/perllocal.pod
      /usr/bin/make install UNINST=1 -- OK
    perlmod--Install done
    GD installed ok
    GD installed ok
    Thanks for the help,
    Mini
     
  4. Mini

    Mini Well-Known Member

    Joined:
    Mar 4, 2005
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    Is there a way to completely uninstall GD and re-install it from scratch? If there is I'd like to know please.

    Mini
     
  5. Mini

    Mini Well-Known Member

    Joined:
    Mar 4, 2005
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    Actually, I just found that I'm getting errors like this:

    Code:
    GD.xs:1009: warning: assignment makes pointer from integer without a cast
    GD.c: In function `XS_GD__Image_gd2':
    GD.c:1529: error: syntax error before "image"
    GD.c:1534: error: `image' undeclared (first use in this function)
    GD.c:1534: error: called object is not a function
    GD.xs:1024: error: `GD2_FMT_COMPRESSED' undeclared (first use in this function)
    GD.xs:1024: warning: assignment makes pointer from integer without a cast
    GD.c: In function `XS_GD__Image_transparent':
    GD.c:1560: error: syntax error before "image"
    GD.c:1566: error: `image' undeclared (first use in this function)
    GD.c:1566: error: called object is not a function
    GD.c: In function `XS_GD__Image_getBounds':
    GD.c:1593: error: syntax error before "image"
    GD.c:1597: error: `image' undeclared (first use in this function)
    GD.c:1597: error: called object is not a function
    GD.c: In function `XS_GD__Image_isTrueColor':
    GD.c:1623: error: syntax error before "image"
    GD.c:1629: error: `image' undeclared (first use in this function)
    GD.c:1629: error: called object is not a function
    GD.c: In function `XS_GD__Image_trueColorToPalette':
    GD.c:1650: error: syntax error before "image"
    GD.c:1656: error: `image' undeclared (first use in this function)
    GD.c:1656: error: called object is not a function
    
    Any help would be great!

    Mini
     
  6. Mini

    Mini Well-Known Member

    Joined:
    Mar 4, 2005
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    Errors continued.. Was too long for 1 post.

    Code:
    GD.c:1668: error: `gdMaxColors' undeclared (first use in this function)
    GD.c: In function `XS_GD__Image_rgb':
    GD.c:1689: error: syntax error before "image"
    GD.c:1694: error: `image' undeclared (first use in this function)
    GD.c:1694: error: called object is not a function
    GD.c: In function `XS_GD__Image_boundsSafe':
    GD.c:1722: error: syntax error before "image"
    GD.c:1730: error: `image' undeclared (first use in this function)
    GD.c:1730: error: called object is not a function
    GD.c: In function `XS_GD__Image_getPixel':
    GD.c:1753: error: syntax error before "image"
    GD.c:1761: error: `image' undeclared (first use in this function)
    GD.c:1761: error: called object is not a function
    GD.c: In function `XS_GD__Image_setPixel':
    GD.c:1782: error: syntax error before "image"
    GD.c:1789: error: `image' undeclared (first use in this function)
    GD.c:1789: error: called object is not a function
    GD.c: In function `XS_GD__Image_copyRotate90':
    GD.c:1809: error: syntax error before "src"
    GD.c:1814: error: `src' undeclared (first use in this function)
    GD.c:1814: error: called object is not a function
    GD.xs:1147: error: syntax error before "dst"
    GD.xs:1149: error: `dst' undeclared (first use in this function)
    GD.xs:1149: error: syntax error before "gd_cloneDim"
    GD.xs:1153: error: invalid lvalue in assignment
    GD.xs:1153: error: invalid lvalue in assignment
    GD.xs:1156: error: `RETVAL' undeclared (first use in this function)
    GD.c: In function `XS_GD__Image_copyRotate180':
    GD.c:1846: error: syntax error before "src"
    GD.c:1851: error: `src' undeclared (first use in this function)
    GD.c:1851: error: called object is not a function
    GD.xs:1168: error: syntax error before "dst"
    GD.xs:1170: error: `dst' undeclared (first use in this function)
    GD.xs:1170: error: syntax error before "gd_cloneDim"
    GD.xs:1174: error: invalid lvalue in assignment
    GD.xs:1174: error: invalid lvalue in assignment
    GD.xs:1177: error: `RETVAL' undeclared (first use in this function)
    GD.c: In function `XS_GD__Image_copyRotate270':
    GD.c:1883: error: syntax error before "src"
    GD.c:1888: error: `src' undeclared (first use in this function)
    GD.c:1888: error: called object is not a function
    GD.xs:1189: error: syntax error before "dst"
    GD.xs:1191: error: `dst' undeclared (first use in this function)
    GD.xs:1191: error: syntax error before "gd_cloneDim"
    GD.xs:1195: error: invalid lvalue in assignment
    GD.xs:1195: error: invalid lvalue in assignment
    GD.xs:1198: error: `RETVAL' undeclared (first use in this function)
    GD.c: In function `XS_GD__Image_copyFlipHorizontal':
    GD.c:1920: error: syntax error before "src"
    GD.c:1925: error: `src' undeclared (first use in this function)
    GD.c:1925: error: called object is not a function
    GD.xs:1210: error: syntax error before "dst"
    GD.xs:1212: error: `dst' undeclared (first use in this function)
    GD.xs:1212: error: syntax error before "gd_cloneDim"
    GD.xs:1216: error: invalid lvalue in assignment
    GD.xs:1216: error: invalid lvalue in assignment
    GD.xs:1219: error: `RETVAL' undeclared (first use in this function)
    GD.c: In function `XS_GD__Image_copyFlipVertical':
    GD.c:1957: error: syntax error before "src"
    GD.c:1962: error: `src' undeclared (first use in this function)
    GD.c:1962: error: called object is not a function
    GD.xs:1231: error: syntax error before "dst"
    GD.xs:1233: error: `dst' undeclared (first use in this function)
    GD.xs:1233: error: syntax error before "gd_cloneDim"
    GD.xs:1237: error: invalid lvalue in assignment
    GD.xs:1237: error: invalid lvalue in assignment
    GD.xs:1240: error: `RETVAL' undeclared (first use in this function)
    GD.c: In function `XS_GD__Image_copyTranspose':
    GD.c:1994: error: syntax error before "src"
    GD.c:1999: error: `src' undeclared (first use in this function)
    GD.c:1999: error: called object is not a function
    GD.xs:1252: error: syntax error before "dst"
    GD.xs:1254: error: `dst' undeclared (first use in this function)
    GD.xs:1254: error: syntax error before "gd_cloneDim"
    GD.xs:1258: error: invalid lvalue in assignment
    GD.xs:1258: error: invalid lvalue in assignment
    GD.xs:1261: error: `RETVAL' undeclared (first use in this function)
    GD.c: In function `XS_GD__Image_copyReverseTranspose':
    GD.c:2031: error: syntax error before "src"
    GD.c:2036: error: `src' undeclared (first use in this function)
    GD.c:2036: error: called object is not a function
    GD.xs:1273: error: syntax error before "dst"
    GD.xs:1275: error: `dst' undeclared (first use in this function)
    GD.xs:1275: error: syntax error before "gd_cloneDim"
    GD.xs:1279: error: invalid lvalue in assignment
    GD.xs:1279: error: invalid lvalue in assignment
    GD.xs:1282: error: `RETVAL' undeclared (first use in this function)
    GD.c: In function `XS_GD__Image_rotate180':
    GD.c:2068: error: syntax error before "src"
    GD.c:2072: error: `src' undeclared (first use in this function)
    GD.c:2072: error: called object is not a function
    GD.xs:1299: error: invalid lvalue in assignment
    GD.xs:1299: error: invalid lvalue in assignment
    GD.xs:1300: error: invalid lvalue in assignment
    GD.xs:1300: error: invalid lvalue in assignment
    GD.c: In function `XS_GD__Image_copyRotated':
    GD.c:2101: error: syntax error before "dst"
    GD.c:2113: error: `dst' undeclared (first use in this function)
    GD.c:2113: error: called object is not a function
    GD.c:2120: error: `src' undeclared (first use in this function)
    GD.c:2120: error: called object is not a function
    GD.c: In function `XS_GD__Image_flipHorizontal':
    GD.c:2144: error: syntax error before "src"
    GD.c:2148: error: `src' undeclared (first use in this function)
    GD.c:2148: error: called object is not a function
    GD.xs:1338: error: invalid lvalue in assignment
    GD.xs:1338: error: invalid lvalue in assignment
    GD.xs:1339: error: invalid lvalue in assignment
    GD.xs:1339: error: invalid lvalue in assignment
    GD.c: In function `XS_GD__Image_flipVertical':
    GD.c:2177: error: syntax error before "src"
    GD.c:2181: error: `src' undeclared (first use in this function)
    GD.c:2181: error: called object is not a function
    GD.xs:1356: error: invalid lvalue in assignment
    GD.xs:1356: error: invalid lvalue in assignment
    GD.xs:1357: error: invalid lvalue in assignment
    GD.xs:1357: error: invalid lvalue in assignment
    GD.c: In function `XS_GD__Image_line':
    GD.c:2210: error: syntax error before "image"
    GD.c:2219: error: `image' undeclared (first use in this function)
    GD.c:2219: error: called object is not a function
    GD.c: In function `XS_GD__Image_dashedLine':
    GD.c:2239: error: syntax error before "image"
    GD.c:2248: error: `image' undeclared (first use in this function)
    GD.c:2248: error: called object is not a function
    GD.c: In function `XS_GD__Image_openPolygon':
    GD.c:2268: error: syntax error before "image"
    GD.c:2274: error: `image' undeclared (first use in this function)
    GD.c:2274: error: called object is not a function
    GD.xs:1401: error: `gdPointPtr' undeclared (first use in this function)
    GD.xs:1401: error: syntax error before "polyptr"
    GD.xs:1417: error: `polyptr' undeclared (first use in this function)
    GD.xs:1417: error: syntax error before "Perl_safesysmalloc"
    GD.c: In function `XS_GD__Image_unclosedPolygon':
    GD.c:2339: error: syntax error before "image"
    GD.c:2345: error: `image' undeclared (first use in this function)
    GD.c:2345: error: called object is not a function
    GD.xs:1457: error: `gdPointPtr' undeclared (first use in this function)
    GD.xs:1457: error: syntax error before "polyptr"
    GD.c: In function `XS_GD__Image_filledPolygon':
    GD.c:2413: error: syntax error before "image"
    GD.c:2419: error: `image' undeclared (first use in this function)
    GD.c:2419: error: called object is not a function
    GD.xs:1516: error: `gdPointPtr' undeclared (first use in this function)
    GD.xs:1516: error: syntax error before "polyptr"
    GD.xs:1532: error: `polyptr' undeclared (first use in this function)
    GD.xs:1532: error: syntax error before "Perl_safesysmalloc"
    GD.c: In function `XS_GD__Image_rectangle':
    GD.c:2484: error: syntax error before "image"
    
    Thanks
     
  7. Mini

    Mini Well-Known Member

    Joined:
    Mar 4, 2005
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    Was too long for 2 posts :eek:

    Code:
    GD.c:2493: error: `image' undeclared (first use in this function)
    GD.c:2493: error: called object is not a function
    GD.c: In function `XS_GD__Image_filledRectangle':
    GD.c:2513: error: syntax error before "image"
    GD.c:2522: error: `image' undeclared (first use in this function)
    GD.c:2522: error: called object is not a function
    GD.c: In function `XS_GD__Image_filledEllipse':
    GD.c:2542: error: syntax error before "image"
    GD.c:2551: error: `image' undeclared (first use in this function)
    GD.c:2551: error: called object is not a function
    GD.c: In function `XS_GD__Image_arc':
    GD.c:2571: error: syntax error before "image"
    GD.c:2582: error: `image' undeclared (first use in this function)
    GD.c:2582: error: called object is not a function
    GD.c: In function `XS_GD__Image_filledArc':
    GD.c:2602: error: syntax error before "image"
    GD.c:2614: error: `image' undeclared (first use in this function)
    GD.c:2614: error: called object is not a function
    GD.c: In function `XS_GD__Image_fillToBorder':
    GD.c:2640: error: syntax error before "image"
    GD.c:2648: error: `image' undeclared (first use in this function)
    GD.c:2648: error: called object is not a function
    GD.c: In function `XS_GD__Image_fill':
    GD.c:2668: error: syntax error before "image"
    GD.c:2675: error: `image' undeclared (first use in this function)
    GD.c:2675: error: called object is not a function
    GD.c: In function `XS_GD__Image_setBrush':
    GD.c:2695: error: syntax error before "image"
    GD.c:2700: error: `image' undeclared (first use in this function)
    GD.c:2700: error: called object is not a function
    GD.c:2707: error: `brush' undeclared (first use in this function)
    GD.c:2707: error: called object is not a function
    GD.c: In function `XS_GD__Image_setTile':
    GD.c:2727: error: syntax error before "image"
    GD.c:2732: error: `image' undeclared (first use in this function)
    GD.c:2732: error: called object is not a function
    GD.c:2739: error: `tile' undeclared (first use in this function)
    GD.c:2739: error: called object is not a function
    GD.c: In function `XS_GD__Image_setThickness':
    GD.c:2759: error: syntax error before "image"
    GD.c:2764: error: `image' undeclared (first use in this function)
    GD.c:2764: error: called object is not a function
    GD.c: In function `XS_GD__Image_setStyle':
    GD.c:2784: error: syntax error before "image"
    GD.c:2788: error: `image' undeclared (first use in this function)
    GD.c:2788: error: called object is not a function
    GD.c: In function `XS_GD__Image_colorAllocate':
    GD.c:2820: error: syntax error before "image"
    GD.c:2829: error: `image' undeclared (first use in this function)
    GD.c:2829: error: called object is not a function
    GD.c: In function `XS_GD__Image_colorAllocateAlpha':
    GD.c:2850: error: syntax error before "image"
    GD.c:2860: error: `image' undeclared (first use in this function)
    GD.c:2860: error: called object is not a function
    GD.c: In function `XS_GD__Image_colorClosest':
    GD.c:2881: error: syntax error before "image"
    GD.c:2890: error: `image' undeclared (first use in this function)
    GD.c:2890: error: called object is not a function
    GD.c: In function `XS_GD__Image_colorClosestAlpha':
    GD.c:2911: error: syntax error before "image"
    GD.c:2921: error: `image' undeclared (first use in this function)
    GD.c:2921: error: called object is not a function
    GD.c: In function `XS_GD__Image_colorClosestHWB':
    GD.c:2942: error: syntax error before "image"
    GD.c:2951: error: `image' undeclared (first use in this function)
    GD.c:2951: error: called object is not a function
    GD.c: In function `XS_GD__Image_colorExact':
    GD.c:2972: error: syntax error before "image"
    GD.c:2981: error: `image' undeclared (first use in this function)
    GD.c:2981: error: called object is not a function
    GD.c: In function `XS_GD__Image_colorExactAlpha':
    Thanks alot!
     

Share This Page