[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
1.5.2 ltdl.c: parse error
From: |
Rupert Mazzucco |
Subject: |
1.5.2 ltdl.c: parse error |
Date: |
Fri, 27 Feb 2004 22:04:39 +0100 (CET) |
I get an error when trying to compile 1.5.2 in the gcc-3.3.3 tree
together with other GNU tools as part of make bootstrap. This happens
at or after stage2. I can build 1.5.2 by itself and it passes make check.
In an attempt to fix the problem myself I removed five or so linefeed
(ctrl+l) chars that I found in ltdl.c, but to no avail.
System:
Linux 2.6.3, glibc 2.3.2
Host tools:
gcc 3.3, binutils 2.13.1, libtool 1.4.3, make 3.80, autoconf 2.58
Linked into gcc 3.3.3 tree:
autoconf 2.59, automake 1.8.2, binutils 2.14, bison 1.875, gdb 6.0,
libtool 1.5.2
Configured in separate build-gcc/ with:
../gcc-3.3.3/configure --prefix=/opt/gcc-3.3.3 --with-cpu=pentium3
--enable-threads --enable-target-optspace --disable-multilib
--enable-languages=c,c++,f77 --disable-nls
Compile attempt with:
make CFLAGS='-Os' LIBCFLAGS='-O2' LIBCXXFLAGS='-O2\
-fno-implicit-templates' bootstrap
Error message (last part of output):
make[2]: Leaving directory `/usr/src/build-gcc/binutils'
make[2]: Entering directory `/usr/src/build-gcc/libtool'
Making all in .
make[3]: Entering directory `/usr/src/build-gcc/libtool'
CONFIG_FILES=libtoolize CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating libtoolize
config.status: executing depfiles commands
chmod +x libtoolize
make[3]: Leaving directory `/usr/src/build-gcc/libtool'
Making all in libltdl
make[3]: Entering directory `/usr/src/build-gcc/libtool/libltdl'
make all-am
make[4]: Entering directory `/usr/src/build-gcc/libtool/libltdl'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../gcc-3.3.3/libtool/libltdl -I. -Os -c -o ltdl.lo
../../../gcc-3.3.3/libtool/libltdl/ltdl.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../../../gcc-3.3.3/libtool/libltdl -I. -Os -c ../../.
./gcc-3.3.3/libtool/libltdl/ltdl.c -fPIC -DPIC -o .libs/ltdl.o
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:863: error: parse error before "$"
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:863:51: warning: unknown escape
sequence '\s'
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:863:51: warning: unknown escape
sequence '\)'
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:863:51: warning: unknown escape
sequence '\)'
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:863:51: warning: unknown escape
sequence '\)'
../../../gcc-3.3.3/libtool/libltdl/ltdl.c: In function `lt_dlforeachfile':
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:3750: error: parse error before "$"
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:3750:47: warning: unknown escape
sequence '\s'
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:3750:47: warning: unknown escape
sequence '\)'
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:3750:47: warning: unknown escape
sequence '\)'
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:3750:47: warning: unknown escape
sequence '\)'
../../../gcc-3.3.3/libtool/libltdl/ltdl.c: At top level:
../../../gcc-3.3.3/libtool/libltdl/ltdl.c:3756: error: parse error before
"return"
make[4]: *** [ltdl.lo] Error 1
make[4]: Leaving directory `/usr/src/build-gcc/libtool/libltdl'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/build-gcc/libtool/libltdl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/build-gcc/libtool'
make[1]: *** [all-libtool] Error 2
make[1]: Leaving directory `/usr/src/build-gcc'
make: *** [bootstrap] Error 2
bash-2.05b#
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 1.5.2 ltdl.c: parse error,
Rupert Mazzucco <=