compile error: gdttf.c
| From: | Dan Harrington | Date: | Wed, 01 Nov 2000 00:00:24 +0000 |
| Subject: | compile error: gdttf.c | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-22782@lists.php.net to get a copy of this message | ||
Hello,
I am getting an interesting compile error (transcript below)
These are the packages that I have installed:
MyODBC-2.50.36
apache_1.3.14
freetype2-beta8
gd-1.8.3
libiodbc-2.50.3
libpng-1.0.8
mysql-3.23.27-beta
pdflib-3.02
tiff-v3.5.5
zlib-1.1.3
and I'm installing php-4.0.3pl1 . . . after running configure and a
'make' I am getting the following mishap with gdttf.c:
what to do?
Thanks
Dan
============================================================================
====
gcc -I. -I/usr/local/src/php-4.0.3pl1/ext/gd -I/usr/local/src/php-4.0.3pl1
-I/usr/local/src/php-4.0.3pl1/main -I/usr/local/src/php-4.0.3pl1/Zend -I/usr
/local/src/php-4.0.3pl1 -I/usr/local/include/freetype -I/usr/local/src/php-4
.0.3pl1/ext/mysql/libmysql -I/usr/local/src/php-4.0.3pl1/ext/xml/expat/xmlto
k -I/usr/local/src/php-4.0.3pl1/ext/xml/expat/xmlparse -I/usr/local/src/php-
4.0.3pl1/TSRM -DXML_BYTE_ORDER=12 -g -O2 -c gdttf.c && touch gdttf.lo
gdttf.c:98: warning: no semicolon at end of struct or union
gdttf.c:99: warning: data definition has no type or storage class
gdttf.c:104: parse error before `TT_Glyph'
gdttf.c:104: warning: no semicolon at end of struct or union
gdttf.c:105: warning: data definition has no type or storage class
gdttf.c:106: parse error before `outline'
gdttf.c:106: warning: data definition has no type or storage class
gdttf.c:107: parse error before `oldx'
gdttf.c:107: warning: data definition has no type or storage class
gdttf.c:108: parse error before `Bit'
gdttf.c:108: warning: data definition has no type or storage class
gdttf.c:112: parse error before `}'
gdttf.c:112: warning: data definition has no type or storage class
gdttf.c:118: parse error before `font_t'
gdttf.c:118: warning: no semicolon at end of struct or union
gdttf.c:119: warning: data definition has no type or storage class
gdttf.c:130: parse error before `glyph_t'
gdttf.c:130: warning: no semicolon at end of struct or union
gdttf.c:131: warning: data definition has no type or storage class
gdttf.c:159: parse error before `font_t'
gdttf.c: In function `fontTest':
gdttf.c:324: `a' undeclared (first use in this function)
gdttf.c:324: (Each undeclared identifier is reported only once
gdttf.c:324: for each function it appears in.)
gdttf.c:324: parse error before `)'
gdttf.c:325: `b' undeclared (first use in this function)
gdttf.c:325: parse error before `)'
gdttf.c: In function `fontFetch':
gdttf.c:335: `TT_Error' undeclared (first use in this function)
gdttf.c:335: parse error before `err'
gdttf.c:336: `a' undeclared (first use in this function)
gdttf.c:337: `b' undeclared (first use in this function)
gdttf.c:337: parse error before `)'
gdttf.c:341: parse error before `)'
gdttf.c:357: `err' undeclared (first use in this function)
gdttf.c:361: `TT_Err_Could_Not_Open_File' undeclared (first use in this
function)
gdttf.c:382: `map_found' undeclared (first use in this function)
gdttf.c:388: `TT_F26Dot6' undeclared (first use in this function)
gdttf.c:396: `n' undeclared (first use in this function)
gdttf.c:398: `i' undeclared (first use in this function)
gdttf.c:399: `platform' undeclared (first use in this function)
gdttf.c:399: `encoding' undeclared (first use in this function)
gdttf.c:422: `TT_Fixed' undeclared (first use in this function)
gdttf.c: In function `fontRelease':
gdttf.c:436: `a' undeclared (first use in this function)
gdttf.c:436: parse error before `)'
gdttf.c: In function `glyphTest':
gdttf.c:451: `a' undeclared (first use in this function)
gdttf.c:451: parse error before `)'
gdttf.c:452: `b' undeclared (first use in this function)
gdttf.c:452: parse error before `)'
gdttf.c: In function `glyphFetch':
gdttf.c:462: `a' undeclared (first use in this function)
gdttf.c:463: `b' undeclared (first use in this function)
gdttf.c:469: parse error before `)'
gdttf.c:481: `flags' undeclared (first use in this function)
gdttf.c:481: `TTLOAD_SCALE_GLYPH' undeclared (first use in this function)
gdttf.c:483: `TTLOAD_HINT_GLYPH' undeclared (first use in this function)
gdttf.c:486: `glyph_code' undeclared (first use in this function)
gdttf.c:492: `err' undeclared (first use in this function)
gdttf.c:509: `cos_a' undeclared (first use in this function)
gdttf.c:510: `sin_a' undeclared (first use in this function)
gdttf.c:511: `crect' undeclared (first use in this function)
gdttf.c:527: `TT_Flow_Up' undeclared (first use in this function)
gdttf.c: In function `glyphRelease':
gdttf.c:547: `a' undeclared (first use in this function)
gdttf.c:547: parse error before `)'
gdttf.c: In function `bitmapTest':
gdttf.c:561: `b' undeclared (first use in this function)
gdttf.c:561: parse error before `)'
gdttf.c: In function `bitmapFetch':
gdttf.c:574: `b' undeclared (first use in this function)
gdttf.c:574: parse error before `)'
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: break statement not within loop or switch
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: break statement not within loop or switch
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: break statement not within loop or switch
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: case label not within a switch statement
gdttf.c:581: break statement not within loop or switch
gdttf.c: At top level:
gdttf.c:659: parse error before `font_t'
gdttf.c: In function `gdttfchar':
gdttf.c:672: `glyph' undeclared (first use in this function)
gdttf.c:673: parse error before `glyphkey'
gdttf.c:686: `font' undeclared (first use in this function)
gdttf.c:687: `next' undeclared (first use in this function)
gdttf.c:704: `glyphkey' undeclared (first use in this function)
gdttf.c:707: `fg' undeclared (first use in this function)
gdttf.c:709: parse error before `)'
gdttf.c:713: `bbox' undeclared (first use in this function)
gdttf.c:714: `advance' undeclared (first use in this function)
gdttf.c:707: `fg' undeclared (first use in this function)
gdttf.c:709: parse error before `)'
gdttf.c:713: `bbox' undeclared (first use in this function)
gdttf.c:714: `advance' undeclared (first use in this function)
gdttf.c:717: `im' undeclared (first use in this function)
gdttf.c:721: `bitmapkey' undeclared (first use in this function)
gdttf.c:721: `x1' undeclared (first use in this function)
gdttf.c:722: invalid operands to binary &
gdttf.c:727: `x' undeclared (first use in this function)
gdttf.c:728: `y' undeclared (first use in this function)
gdttf.c:728: invalid operands to binary &
gdttf.c:729: `tweencolorkey' undeclared (first use in this function)
gdttf.c:757: `tweencolor' undeclared (first use in this function)
gdttf.c: In function `gdttf':
gdttf.c:773: `TT_F26Dot6' undeclared (first use in this function)
gdttf.c:773: parse error before `ur_x'
gdttf.c:775: `TT_BBox' undeclared (first use in this function)
gdttf.c:775: `bbox' undeclared (first use in this function)
gdttf.c:776: parse error before `double'
gdttf.c:778: `font' undeclared (first use in this function)
gdttf.c:779: parse error before `fontkey'
gdttf.c:786: `fontCache' undeclared (first use in this function)
gdttf.c:787: `engine' undeclared (first use in this function)
gdttf.c:796: `fontkey' undeclared (first use in this function)
gdttf.c:800: parse error before `)'
gdttf.c:804: `sin_a' undeclared (first use in this function)
gdttf.c:805: `cos_a' undeclared (first use in this function)
gdttf.c:806: `advance_x' undeclared (first use in this function)
gdttf.c:806: `advance_y' undeclared (first use in this function)
gdttf.c:808: `next' undeclared (first use in this function)
gdttf.c:810: `ch' undeclared (first use in this function)
gdttf.c:826: `x1' undeclared (first use in this function)
gdttf.c:829: `error' undeclared (first use in this function)
gdttf.c:829: `advance' undeclared (first use in this function)
gdttf.c:832: `i' undeclared (first use in this function)
gdttf.c:833: `ll_x' undeclared (first use in this function)
gdttf.c:834: `ll_y' undeclared (first use in this function)
gdttf.c:835: `ur_x' undeclared (first use in this function)
gdttf.c:836: `ur_y' undeclared (first use in this function)
make[3]: *** [gdttf.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.3pl1/ext'
make: *** [all-recursive] Error 1