Article View: gnu.chess
Article #5259Need help with Compile/preprocessor error
From: Mike Mitchell
Date: Tue, 16 Nov 1993 20:03
Date: Tue, 16 Nov 1993 20:03
46 lines
3808 bytes
3808 bytes
I am having problems compiling Gchess and cannot seem to get around the
error "parse error before" as shown below. I have cloned some header files
and was going to alter them but this may only be the begining of the errors
to come.
Does anyone have a clue why the "parse error before" occurs ???
/Gchess/gnuchess4.0p62/src-[114]>make
/GCC/bin/gcc -W -D_CLASSIC_ANSI_TYPES -DCACHE -DGDX -DHASGETTIMEOFDAY -DHISTORY -DNULLMOVE -DOLDTIME -DQUIETBACKGROUND -DSEMIQUIETBOOKGEN -O2 -I/Gchess/gnuchess4.0p62/src -m68040 -funroll-loops -finline-functions -DHASHFILE=\"/Gchess/gnuchess4.0p62/gnuchess.hash\" -DLANGFILE=\"/Gchess/gnuchess4.0p62/gnuchess.lang\" -c uxdsp.c
In file included from /Gchess/gnuchess4.0p62/src/signal.h:6, from uxdsp.c:24:
/GCC/lib/gcc-lib/m68k-hp-hpux/2.4.5/include/sys/signal.h:140: warning: parameter names (without types) in function declaration
uxdsp.c:45: warning: parameter names (without types) in function declaration
In file included from gnuchess.h:49, from uxdsp.c:60:
/Gchess/gnuchess4.0p62/src/./string.h:24: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/./string.h:26: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/./string.h:30: parse error before `strxfrm'
/Gchess/gnuchess4.0p62/src/./string.h:30: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/./string.h:30: warning: data definition has no type or storage class
/Gchess/gnuchess4.0p62/src/./string.h:87: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/./string.h:98: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/./string.h:101: parse error before `size_t'
In file included from gnuchess.h:50, from uxdsp.c:60:
/Gchess/gnuchess4.0p62/src/stdlib.h:60: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/stdlib.h:61: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/stdlib.h:63: parse error before `mbstowcs'
/Gchess/gnuchess4.0p62/src/stdlib.h:63: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/stdlib.h:63: warning: data definition has no type or storage class
/Gchess/gnuchess4.0p62/src/stdlib.h:64: parse error before `wcstombs'
/Gchess/gnuchess4.0p62/src/stdlib.h:64: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/stdlib.h:64: warning: data definition has no type or storage class
/Gchess/gnuchess4.0p62/src/stdlib.h:66: parse error before `size_t'
/Gchess/gnuchess4.0p62/src/stdlib.h:66: parse error before `)'
/Gchess/gnuchess4.0p62/src/stdlib.h:100: conflicting types for `malloc'
uxdsp.c:45: previous declaration of `malloc'
--
***************************************************************************
Mike Mitchell | "Mountain Bike Forever"
Bell Northern Research (BNR), INC | Enjoy the Outdoors, Think,
Research Triangle Park, NC USA | Be Kind to those Trails, Sweat,
| Don't Slid While Braking,Sweat,
* Normal Personal/Corp. Disclaimers *| Yield to Hikers & Hooved Beasties.
***************************************************************************
Technical Details
Message-ID:
<1993Nov16.200354.12595@brtph560.bnr.ca>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!avdms8.msfc.nasa.gov!bcm!TAMUTS.TAMU.EDU!news.utdallas.edu!corpgate!nrtpa038!brtph560!bnr.ca!mmitchShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,315c8ff1f19d7566,start X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1993-11-17 11:25:42 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!avdms8.msfc.nasa.gov!bcm!TAMUTS.TAMU.EDU!news.utdallas.edu!corpgate!nrtpa038!brtph560!bnr.ca!mmitch From: mmitch@bnr.ca (Mike Mitchell) Subject: Need help with Compile/preprocessor error Message-ID: <1993Nov16.200354.12595@brtph560.bnr.ca> Sender: news@brtph560.bnr.ca (Usenet News) Reply-To: mmitch@brtph464.bnr.ca (Mike Mitchell) Organization: ISDN - BNR, Research Triangle Park, NC USA Distribution: world Date: Tue, 16 Nov 1993 20:03:54 GMT Lines: 46