Newsgroups: comp.speech
Path: pavo.csi.cam.ac.uk!doc.ic.ac.uk!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!sdd.hp.com!nigel.msen.com!yale.edu!xlink.net!news.belwue.de!news.uni-ulm.de!neuro!jialong
From: jialong@neuro.Berkeley.EDU (Jialong He)
Subject: Compliing OGI speech tools with gcc?
Message-ID: <1993Aug5.071226.24327@wega.rz.uni-ulm.de>
Sender: news@wega.rz.uni-ulm.de (News Net)
Reply-To: jialong@neuro.Berkeley.EDU (Jialong He)
Organization: University of Ulm, Germany
Date: Thu, 5 Aug 1993 07:12:26 GMT
Lines: 82

    I saw a announcement of OGI Speech tools and downloaded it from speech.cse.ogi.edu. I have
a SUN workstation2 with SunOS v4.1.2 installed. Since I do not have acc complier I try to use
GNU gcc v2.3.3 to complie it, but I got the following messages:

====================================
Building in auto_lyre
. ../../conf/sun4.conf ; $MKDIRS ../../obj/bin/sun4/auto_lyre
. ../../conf/sun4.conf ; gcc -I.  -O2 -dalign -I/optical/tools/src/include -c LScroll.c -o ../../obj/bin/sun4/auto_lyre/LScroll.o
In file included from LScroll.c:29:
./LScrollP.h:30: parse error before `SimplePart'
./LScrollP.h:30: warning: no semicolon at end of struct or union
./LScrollP.h:35: parse error before `}'
./LScrollP.h:35: warning: data definition has no type or storage class
./LScrollP.h:46: parse error before `SimpleClassPart'
./LScrollP.h:46: warning: no semicolon at end of struct or union
./LScrollP.h:51: parse error before `}'
./LScrollP.h:51: warning: data definition has no type or storage class
./LScrollP.h:53: parse error before `lscrollClassRec'
./LScrollP.h:53: warning: data definition has no type or storage class
LScroll.c:57: dereferencing pointer to incomplete type
LScroll.c:60: dereferencing pointer to incomplete type
LScroll.c:62: dereferencing pointer to incomplete type
LScroll.c:67: parse error before `lscrollClassRec'
LScroll.c:106: `XtInheritChangeSensitive' undeclared, outside of functions
LScroll.c:109: initializer for scalar `lscrollClassRec' requires one element
LScroll.c:109: warning: data definition has no type or storage class
LScroll.c: In function `Initialize':
LScroll.c:132: dereferencing pointer to incomplete type
LScroll.c:134: dereferencing pointer to incomplete type
LScroll.c: In function `scroll_thumb':
LScroll.c:153: dereferencing pointer to incomplete type
LScroll.c:156: dereferencing pointer to incomplete type
LScroll.c:183: dereferencing pointer to incomplete type
LScroll.c:184: dereferencing pointer to incomplete type
LScroll.c:191: dereferencing pointer to incomplete type
LScroll.c:192: dereferencing pointer to incomplete type
LScroll.c:200: dereferencing pointer to incomplete type
LScroll.c:206: dereferencing pointer to incomplete type
LScroll.c:214: dereferencing pointer to incomplete type
LScroll.c:215: dereferencing pointer to incomplete type
LScroll.c: In function `scroll_point':
LScroll.c:228: dereferencing pointer to incomplete type
LScroll.c:229: dereferencing pointer to incomplete type
LScroll.c:232: dereferencing pointer to incomplete type
LScroll.c: In function `compute_max_virtual_width_widget':
LScroll.c:264: dereferencing pointer to incomplete type
LScroll.c:265: dereferencing pointer to incomplete type
LScroll.c:268: dereferencing pointer to incomplete type
LScroll.c:268: dereferencing pointer to incomplete type
LScroll.c: In function `LScrollAddWidget':
LScroll.c:283: dereferencing pointer to incomplete type
LScroll.c:284: dereferencing pointer to incomplete type
LScroll.c:285: dereferencing pointer to incomplete type
LScroll.c:286: dereferencing pointer to incomplete type
LScroll.c:286: dereferencing pointer to incomplete type
LScroll.c:287: dereferencing pointer to incomplete type
LScroll.c: In function `LScrollDeleteWidget':
LScroll.c:301: dereferencing pointer to incomplete type
LScroll.c:304: dereferencing pointer to incomplete type
LScroll.c:305: dereferencing pointer to incomplete type
LScroll.c:306: dereferencing pointer to incomplete type
LScroll.c:314: dereferencing pointer to incomplete type
LScroll.c:315: dereferencing pointer to incomplete type
LScroll.c:316: dereferencing pointer to incomplete type
LScroll.c: In function `LScrollSetWidgetVirtualWidth':
LScroll.c:334: dereferencing pointer to incomplete type
LScroll.c:336: dereferencing pointer to incomplete type
LScroll.c:343: dereferencing pointer to incomplete type
*** Error code 1
make: Fatal error: Command failed for target `../../obj/bin/sun4/auto_lyre/LScroll.o'
Current working directory /optical/tools/src/bin/auto_lyre



Does anybody have a luck to complie it with GNU gcc on Sun?


Jialong


 

