To all:
Bug fix solution #118
I found a solution to this bug by simply installing a second gcc-3.2.2
compiler.
I was able to get past this error: flfreetype.h:61: parse error before
`FT_GlyphSlot'
The bug #118 was reported below on
http://oss.sgi.com/bugzilla/show_bug.cgi?id=118:
/root# cd /home/raven/OpenGL/inventor
Directory: /home/raven/OpenGL/inventor
OpenGL/inventor# ls
. COPYING GNUmakefile README.FIRST build doc libFL libimage
tools
.. FAQ.misc KNOWN.BUGS apps data lib libSoXt make
OpenGL/inventor# gmake install
gmake[1]: Entering directory `/home/raven/OpenGL/inventor/libimage'
/usr/bin/gcc -I/usr/X11R6/include -I. -I../lib/database/include -I../li
b/in
teraction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -g
-c -o close.o close.c
/usr/bin/gcc -I/usr/X11R6/include -I. -I../lib/database/include -I../li
b/in
teraction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -g
-c -o filbuf.o filbuf.c
/usr/bin/gcc -I/usr/X11R6/include -I. -I../lib/database/include -I../li
b/in
teraction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -g
-c -o flsbuf.o flsbuf.c
/usr/bin/gcc -I/usr/X11R6/include -I. -I../lib/database/include -I../li
b/in
teraction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -g
-c -o name.o name.c
/usr/bin/gcc -I/usr/X11R6/include -I. -I../lib/database/include -I../li
b/in
teraction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -g
-c -o open.o open.c
/usr/bin/gcc -I/usr/X11R6/include -I. -I../lib/database/include -I../li
b/in
teraction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -g
-c -o pix.o pix.c
/usr/bin/gcc -I/usr/X11R6/include -I. -I../lib/database/include -I../li
b/in
teraction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -g
-c -o rdwr.o rdwr.c
/usr/bin/gcc -I/usr/X11R6/include -I. -I../lib/database/include -I../li
b/in
teraction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -g
-c -o rle.o rle.c
/usr/bin/gcc -I/usr/X11R6/include -I. -I../lib/database/include -I../li
b/in
teraction/include -I../lib/nodekits/include -I../libSoXt/include -fPIC -g
-c -o row.o row.c
/usr/bin/ar rv libimage.a close.o filbuf.o flsbuf.o name.o open.o pix.o
rdwr.
o rle.o row.o
a - close.o
a - filbuf.o
a - flsbuf.o
a - name.o
a - open.o
a - pix.o
a - rdwr.o
a - rle.o
a - row.o
gmake[1]: Leaving directory `/home/raven/OpenGL/inventor/libimage'
gmake[1]: Entering directory `/home/raven/OpenGL/inventor/tools'
gmake[2]: Entering directory `/home/raven/OpenGL/inventor/tools/ppp'
/usr/bin/g++ -I/usr/X11R6/include -I. -I../../lib/database/include -
I../
../lib/interaction/include -I../../lib/nodekits/include -I../../libSoXt/incl
ude
-fPIC -g -c ppp.c++
/usr/bin/g++ -L//usr/lib/InventorDebug -L/usr/X11R6/lib
-lm
-o ppp
gmake[2]: Leaving directory `/home/raven/OpenGL/inventor/tools/ppp'
gmake[1]: Leaving directory `/home/raven/OpenGL/inventor/tools'
gmake[1]: Entering directory `/home/raven/OpenGL/inventor/libFL'
if [ ! -L freetype ]; then ln -fs ang freetype; fi
gmake[2]: Entering directory `/home/raven/OpenGL/inventor/libFL/ang'
if [ ! -L flclient.h ]; then ln -s ../src/flclient.h .; fi
/usr/bin/gcc -I/usr/X11R6/include -I. -I../../lib/database/include -I..
/../
lib/interaction/include -I../../lib/nodekits/include -I../../libSoXt/include
-I/
usr/include/freetype2 -fPIC -g -c -o fl.o fl.c
In file included from fl.c:48:
flfreetype.h:61: parse error before `FT_GlyphSlot'
flfreetype.h:61: warning: no semicolon at end of struct or union
flfreetype.h:62: warning: data definition has no type or storage class
flfreetype.h:69: parse error before `FLFreeTypeOutline'
flfreetype.h:69: warning: no semicolon at end of struct or union
flfreetype.h:70: warning: data definition has no type or storage class
flfreetype.h:73: parse error before `face'
flfreetype.h:73: warning: data definition has no type or storage class
flfreetype.h:77: parse error before `}'
flfreetype.h:77: warning: data definition has no type or storage class
flfreetype.h:123: parse error before `*'
flfreetype.h:124: parse error before `*'
flfreetype.h:127: warning: data definition has no type or storage class
flfreetype.h:130: parse error before `*'
flfreetype.h:134: parse error before `*'
flfreetype.h:138: parse error before `*'
flfreetype.h:142: parse error before `*'
flfreetype.h:146: parse error before `*'
flfreetype.h:150: parse error before `*'
flfreetype.h:155: parse error before `*'
flfreetype.h:161: parse error before `*'
flfreetype.h:166: parse error before `*'
flfreetype.h:172: parse error before `*'
flfreetype.h:175: parse error before `*'
flfreetype.h:177: parse error before `FT_Face'
flfreetype.h:178: warning: data definition has no type or storage class
flfreetype.h:181: parse error before `*'
flfreetype.h:184: parse error before `*'
flfreetype.h:185: parse error before `*'
flfreetype.h:187: warning: data definition has no type or storage class
gmake[2]: *** [fl.o] Error 1
gmake[2]: Leaving directory `/home/raven/OpenGL/inventor/libFL/ang'
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory `/home/raven/OpenGL/inventor/libFL'
gmake: *** [install] Error 1
|