# make
gcc -o gd.so `gdlib-config --features |sed -e "s/GD_/-DGD_/g"` `gdlib-config --cflags` `pkg-config lua-5.1 --cflags` -O3 -Wall -shared `gdlib-config --ldflags` `gdlib-config --libs` `pkg-config lua-5.1 --libs` -lgd luagd.c
gdlib-config: not found
gdlib-config: not found
gdlib-config: not found
gdlib-config: not found
luagd.c:35:16: error: gd.h: No such file or directory
luagd.c:38:21: error: gdfonts.h: No such file or directory
luagd.c:39:21: error: gdfontl.h: No such file or directory
luagd.c:40:22: error: gdfontmb.h: No such file or directory
luagd.c:41:21: error: gdfontg.h: No such file or directory
luagd.c:42:21: error: gdfontt.h: No such file or directory
luagd.c:78: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getImagePtr'
luagd.c:90: error: expected declaration specifiers or '...' before 'gdImagePtr'
luagd.c: In function 'pushImagePtr':
luagd.c:91: error: 'im' undeclared (first use in this function)
luagd.c:91: error: (Each undeclared identifier is reported only once
luagd.c:91: error: for each function it appears in.)
luagd.c: At top level:
luagd.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getStdFont'
luagd.c: In function 'LgdImageCreate':
luagd.c:238: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:238: error: expected ';' before 'im'
luagd.c: In function 'LgdImageGetPixel':
luagd.c:1220: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1220: error: expected ';' before 'im'
luagd.c:1224: warning: implicit declaration of function 'gdImageGetPixel'
luagd.c:1224: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageSetPixel':
luagd.c:1231: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1231: error: expected ';' before 'im'
luagd.c:1236: warning: implicit declaration of function 'gdImageSetPixel'
luagd.c:1236: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageLine':
luagd.c:1243: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1243: error: expected ';' before 'im'
luagd.c:1250: warning: implicit declaration of function 'gdImageLine'
luagd.c:1250: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageRectangle':
luagd.c:1257: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1257: error: expected ';' before 'im'
luagd.c:1264: warning: implicit declaration of function 'gdImageRectangle'
luagd.c:1264: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageFilledRectangle':
luagd.c:1272: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1272: error: expected ';' before 'im'
luagd.c:1279: warning: implicit declaration of function 'gdImageFilledRectangle'
luagd.c:1279: error: 'im' undeclared (first use in this function)
luagd.c: At top level:
luagd.c:1285: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
luagd.c: In function 'LgdImagePolygon':
luagd.c:1329: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1329: error: expected ';' before 'im'
luagd.c:1330: error: 'gdPoint' undeclared (first use in this function)
luagd.c:1330: error: 'plist' undeclared (first use in this function)
luagd.c:1337: warning: implicit declaration of function 'getPointList'
luagd.c:1338: warning: implicit declaration of function 'gdImagePolygon'
luagd.c:1338: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageFilledPolygon':
luagd.c:1349: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1349: error: expected ';' before 'im'
luagd.c:1350: error: 'gdPoint' undeclared (first use in this function)
luagd.c:1350: error: 'plist' undeclared (first use in this function)
luagd.c:1359: warning: implicit declaration of function 'gdImageFilledPolygon'
luagd.c:1359: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageOpenPolygon':
luagd.c:1369: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1369: error: expected ';' before 'im'
luagd.c:1370: error: 'gdPoint' undeclared (first use in this function)
luagd.c:1370: error: 'plist' undeclared (first use in this function)
luagd.c:1379: warning: implicit declaration of function 'gdImageOpenPolygon'
luagd.c:1379: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageArc':
luagd.c:1389: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1389: error: expected ';' before 'im'
luagd.c:1398: warning: implicit declaration of function 'gdImageArc'
luagd.c:1398: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageFilledArc':
luagd.c:1406: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1406: error: expected ';' before 'im'
luagd.c:1416: warning: implicit declaration of function 'gdImageFilledArc'
luagd.c:1416: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageFilledEllipse':
luagd.c:1424: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1424: error: expected ';' before 'im'
luagd.c:1431: warning: implicit declaration of function 'gdImageFilledEllipse'
luagd.c:1431: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageFill':
luagd.c:1438: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1438: error: expected ';' before 'im'
luagd.c:1443: warning: implicit declaration of function 'gdImageFill'
luagd.c:1443: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageFillToBorder':
luagd.c:1451: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1451: error: expected ';' before 'im'
luagd.c:1457: warning: implicit declaration of function 'gdImageFillToBorder'
luagd.c:1457: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageSetAntiAliased':
luagd.c:1464: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1464: error: expected ';' before 'im'
luagd.c:1467: warning: implicit declaration of function 'gdImageSetAntiAliased'
luagd.c:1467: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageSetAntiAliasedDontBlend':
luagd.c:1474: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1474: error: expected ';' before 'im'
luagd.c:1477: warning: implicit declaration of function 'gdImageSetAntiAliasedDontBlend'
luagd.c:1477: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageSetBrush':
luagd.c:1484: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1484: error: expected ';' before 'im'
luagd.c:1485: error: expected ';' before 'b'
luagd.c:1487: warning: implicit declaration of function 'gdImageSetBrush'
luagd.c:1487: error: 'im' undeclared (first use in this function)
luagd.c:1487: error: 'b' undeclared (first use in this function)
luagd.c: In function 'LgdImageSetTile':
luagd.c:1494: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1494: error: expected ';' before 'im'
luagd.c:1495: error: expected ';' before 't'
luagd.c:1497: warning: implicit declaration of function 'gdImageSetTile'
luagd.c:1497: error: 'im' undeclared (first use in this function)
luagd.c:1497: error: 't' undeclared (first use in this function)
luagd.c: In function 'LgdImageSetStyle':
luagd.c:1505: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1505: error: expected ';' before 'im'
luagd.c:1531: warning: implicit declaration of function 'gdImageSetStyle'
luagd.c:1531: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageSetThickness':
luagd.c:1539: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1539: error: expected ';' before 'im'
luagd.c:1542: warning: implicit declaration of function 'gdImageSetThickness'
luagd.c:1542: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageAlphaBlending':
luagd.c:1550: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1550: error: expected ';' before 'im'
luagd.c:1553: warning: implicit declaration of function 'gdImageAlphaBlending'
luagd.c:1553: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageSaveAlpha':
luagd.c:1561: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1561: error: expected ';' before 'im'
luagd.c:1564: warning: implicit declaration of function 'gdImageSaveAlpha'
luagd.c:1564: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageInterlace':
luagd.c:1572: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1572: error: expected ';' before 'im'
luagd.c:1575: warning: implicit declaration of function 'gdImageInterlace'
luagd.c:1575: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageString':
luagd.c:1583: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1583: error: expected ';' before 'im'
luagd.c:1584: error: 'gdFontPtr' undeclared (first use in this function)
luagd.c:1584: error: expected ';' before 'fnt'
luagd.c:1590: warning: implicit declaration of function 'gdImageString'
luagd.c:1590: error: 'im' undeclared (first use in this function)
luagd.c:1590: error: 'fnt' undeclared (first use in this function)
luagd.c: In function 'LgdImageStringUp':
luagd.c:1598: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1598: error: expected ';' before 'im'
luagd.c:1599: error: 'gdFontPtr' undeclared (first use in this function)
luagd.c:1599: error: expected ';' before 'fnt'
luagd.c:1605: warning: implicit declaration of function 'gdImageStringUp'
luagd.c:1605: error: 'im' undeclared (first use in this function)
luagd.c:1605: error: 'fnt' undeclared (first use in this function)
luagd.c: In function 'LgdImageChar':
luagd.c:1614: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1614: error: expected ';' before 'im'
luagd.c:1615: error: 'gdFontPtr' undeclared (first use in this function)
luagd.c:1615: error: expected ';' before 'fnt'
luagd.c:1629: warning: implicit declaration of function 'gdImageChar'
luagd.c:1629: error: 'im' undeclared (first use in this function)
luagd.c:1629: error: 'fnt' undeclared (first use in this function)
luagd.c: In function 'LgdImageCharUp':
luagd.c:1637: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1637: error: expected ';' before 'im'
luagd.c:1638: error: 'gdFontPtr' undeclared (first use in this function)
luagd.c:1638: error: expected ';' before 'fnt'
luagd.c:1652: warning: implicit declaration of function 'gdImageCharUp'
luagd.c:1652: error: 'im' undeclared (first use in this function)
luagd.c:1652: error: 'fnt' undeclared (first use in this function)
luagd.c: In function 'LgdImageCopy':
luagd.c:1660: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1660: error: expected ';' before 'dst'
luagd.c:1661: error: expected ';' before 'src'
luagd.c:1669: warning: implicit declaration of function 'gdImageCopy'
luagd.c:1669: error: 'dst' undeclared (first use in this function)
luagd.c:1669: error: 'src' undeclared (first use in this function)
luagd.c: In function 'LgdImageCopyResized':
luagd.c:1679: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1679: error: expected ';' before 'dst'
luagd.c:1680: error: expected ';' before 'src'
luagd.c:1690: warning: implicit declaration of function 'gdImageCopyResized'
luagd.c:1690: error: 'dst' undeclared (first use in this function)
luagd.c:1690: error: 'src' undeclared (first use in this function)
luagd.c: In function 'LgdImageCopyResampled':
luagd.c:1700: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1700: error: expected ';' before 'dst'
luagd.c:1701: error: expected ';' before 'src'
luagd.c:1711: warning: implicit declaration of function 'gdImageCopyResampled'
luagd.c:1711: error: 'dst' undeclared (first use in this function)
luagd.c:1711: error: 'src' undeclared (first use in this function)
luagd.c: In function 'LgdImageCopyRotated':
luagd.c:1720: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1720: error: expected ';' before 'dst'
luagd.c:1721: error: expected ';' before 'src'
luagd.c:1730: warning: implicit declaration of function 'gdImageCopyRotated'
luagd.c:1730: error: 'dst' undeclared (first use in this function)
luagd.c:1730: error: 'src' undeclared (first use in this function)
luagd.c: In function 'LgdImageCopyMerge':
luagd.c:1738: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1738: error: expected ';' before 'dst'
luagd.c:1739: error: expected ';' before 'src'
luagd.c:1748: warning: implicit declaration of function 'gdImageCopyMerge'
luagd.c:1748: error: 'dst' undeclared (first use in this function)
luagd.c:1748: error: 'src' undeclared (first use in this function)
luagd.c: In function 'LgdImageCopyMergeGray':
luagd.c:1756: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1756: error: expected ';' before 'dst'
luagd.c:1757: error: expected ';' before 'src'
luagd.c:1766: warning: implicit declaration of function 'gdImageCopyMergeGray'
luagd.c:1766: error: 'dst' undeclared (first use in this function)
luagd.c:1766: error: 'src' undeclared (first use in this function)
luagd.c: In function 'LgdImagePaletteCopy':
luagd.c:1773: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1773: error: expected ';' before 'dst'
luagd.c:1774: error: expected ';' before 'src'
luagd.c:1776: warning: implicit declaration of function 'gdImagePaletteCopy'
luagd.c:1776: error: 'dst' undeclared (first use in this function)
luagd.c:1776: error: 'src' undeclared (first use in this function)
luagd.c: In function 'LgdImageSquareToCircle':
luagd.c:1783: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1783: error: expected ';' before 'im'
luagd.c:1786: warning: implicit declaration of function 'gdImageSquareToCircle'
luagd.c:1786: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageSharpen':
luagd.c:1793: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1793: error: expected ';' before 'im'
luagd.c:1796: warning: implicit declaration of function 'gdImageSharpen'
luagd.c:1796: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageSetClip':
luagd.c:1803: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1803: error: expected ';' before 'im'
luagd.c:1809: warning: implicit declaration of function 'gdImageSetClip'
luagd.c:1809: error: 'im' undeclared (first use in this function)
luagd.c: In function 'LgdImageGetClip':
luagd.c:1817: error: 'gdImagePtr' undeclared (first use in this function)
luagd.c:1817: error: expected ';' before 'im'
luagd.c:1820: warning: implicit declaration of function 'gdImageGetClip'
luagd.c:1820: error: 'im' undeclared (first use in this function)
luagd.c: At top level:
luagd.c:2165: error: 'LgdImageCreateFromPng' undeclared here (not in a function)
luagd.c:2166: error: 'LgdImageCreateFromPngPtr' undeclared here (not in a function)
luagd.c: In function 'luaopen_gd':
luagd.c:2312: error: 'gdMaxColors' undeclared (first use in this function)
luagd.c:2312: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2313: error: 'GD2_FMT_RAW' undeclared (first use in this function)
luagd.c:2313: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2314: error: 'GD2_FMT_COMPRESSED' undeclared (first use in this function)
luagd.c:2314: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2315: error: 'gdArc' undeclared (first use in this function)
luagd.c:2315: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2316: error: 'gdChord' undeclared (first use in this function)
luagd.c:2316: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2317: error: 'gdPie' undeclared (first use in this function)
luagd.c:2317: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2318: error: 'gdNoFill' undeclared (first use in this function)
luagd.c:2318: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2319: error: 'gdEdged' undeclared (first use in this function)
luagd.c:2319: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2320: error: 'gdAntiAliased' undeclared (first use in this function)
luagd.c:2320: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2321: error: 'gdBrushed' undeclared (first use in this function)
luagd.c:2321: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2322: error: 'gdStyled' undeclared (first use in this function)
luagd.c:2322: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2323: error: 'gdStyledBrushed' undeclared (first use in this function)
luagd.c:2323: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2324: error: 'gdTiled' undeclared (first use in this function)
luagd.c:2324: error: incompatible type for argument 2 of 'lua_pushnumber'
luagd.c:2325: error: 'gdTransparent' undeclared (first use in this function)
luagd.c:2325: error: incompatible type for argument 2 of 'lua_pushnumber'
*** Error code 1
Stop in /usr/local/share/verlihub+plugins/lua-gd-2.0.33r2.