bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.5.2 ltdl.c: parse error


From: Gary V. Vaughan
Subject: Re: 1.5.2 ltdl.c: parse error
Date: Mon, 01 Mar 2004 16:28:50 +0000
User-agent: Mozilla Thunderbird 0.5 (X11/20040208)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rupert Mazzucco wrote:
| 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#

What does 'grep LTDL_SYSSEARCHPATH libltdl/config.h' (at each stage) say?

Cheers,
        Gary.
- --
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://www.oranda.demon.co.uk
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAQ2TBFRMICSmD1gYRArhAAJ4vuZFgCQZVIwPxqm5oz6y3qgjqAACgxl9o
jww6Ta+74ki9oLI7Xa2TmUk=
=rsJP
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]