X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs- Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <35FE2875.6A7B28EE@geophys.uni-stuttgart.de> Date: Wed, 16 Sep 1998 10:28:11 +0400 (MSD) From: Dmitry Mamatkazin To: beastium-list AT Desk DOT nl Subject: RE: syntax error while compiling pgcc-1.1 Sender: Marc Lehmann Status: RO Content-Length: 2526 Lines: 84 On 15-Sep-98 Joerg Dalkolmo wrote: > Hi, > > I tried to compile pgcc-1.1 using egcs-1.1b and the patch > egcs-1.1b-pgcc.1.1.diff. > > The compilation stops with the message: > > make[2]: Entering directory `/home/soft/pgcc-1.1/gcc' > gcc -DIN_GCC -DUSE_GNULIBC_1 -g -DHAVE_CONFIG_H -DHAIFA -I. > -I../../egcs-1.1b/gcc -I../../egcs-1.1b/gcc/config \ > > -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/pgcc-2.91.57 > /include\" > \ > -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/include/g++\" \ > -DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \ > -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \ > -DCROSS_INCLUDE_DIR=\"/usr/local/i586-pc-linux-gnulibc1/sys-include\" > \ > -DTOOL_INCLUDE_DIR=\"/usr/local/i586-pc-linux-gnulibc1/include\" \ > -c `echo ../../egcs-1.1b/gcc/cccp.c | sed 's,^\./,,'` > In file included from ../../egcs-1.1b/gcc/config/i386/linux.h:28, > from tm.h:2, > from ../../egcs-1.1b/gcc/config/i386/xm-i386.h:43, > from config.h:2, > from ../../egcs-1.1b/gcc/cccp.c:21: > ../../egcs-1.1b/gcc/config/i386/i386.h:57: syntax error before `struct' > make[2]: *** [cccp.o] Error 1 > make[2]: Leaving directory `/home/soft/pgcc-1.1/gcc' > make[1]: *** [bootstrap] Error 2 > make[1]: Leaving directory `/home/soft/pgcc-1.1/gcc' > make: *** [bootstrap] Error 2 > > > Could anybody tell me what went wrong?? > > > Greetings, > > Joerg > > -- > ----------------------------------------------------------- > Joerg Dalkolmo (mailto:kolmo AT geophys DOT uni-stuttgart DOT de) > Institute of Geophysics, University of Stuttgart, Germany > (http://www.geophys.uni-stuttgart.de) Sorry for my english... I also get this error 8-( In my case this error contains in file ~/egcs-1.1b/gcc/auto-host.h After configure this file is right, but after make some string was appended. One of this string bad! this bad part of my file: -------------------------------------------------------------------------------- /* Define if you want expensive run-time checks. */ /* #undef ENABLE_CHECKING */ TOP /* Define if you have the atoll function. */ -------------------------------------------------------------------------------- I remove strring TOP and all OK! My system: slackware 3.2 kernel 2.0.35 egcs-1.1b (or gcc-2.7.2) libc-5.4.46 This error also exist in egcs-pgcs-1.1a. ---------------------------------- Date: 16-Sep-98 Time: 10:11:47 This message was sent by XFMail ----------------------------------